Skip to content

Commit ea21e8a

Browse files
committed
RDA8910:Print FOTA warning message for MacOS
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 7d9d1c2 commit ea21e8a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

builder/framework/rda8910/logicromsdk.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def gen_img_file(target, source, env):
8888
f.write(f_bin)
8989
f.close()
9090

91+
9192
def gen_pac_file(target, source, env):
9293
(target_firm, ) = target
9394
(source_elf, ) = source
@@ -222,6 +223,15 @@ def gen_pac_file(target, source, env):
222223
)
223224
)
224225

226+
if "darwin" in get_systype():
227+
env["BUILDERS"]["BinToFOTA"] = Builder(
228+
action=env.VerboseAction(" ".join([
229+
'echo',
230+
'"FOTA file generation is currently not supported. Please use Linux/Windows system."'
231+
]), "Generating FOTA firmware $TARGET"),
232+
suffix=".bin"
233+
)
234+
225235
# uploader flag update
226236
env.Prepend(
227237
UPLOAD_EXTRA_ARGS=[

0 commit comments

Comments
 (0)