diff --git a/meson.build b/meson.build index 8f483a9f..9102b444 100644 --- a/meson.build +++ b/meson.build @@ -630,6 +630,13 @@ foreach t : targets # Module17 also uses dfu-tool for flashing elif name == 'openrtx_mod17' + + # Wrap target for Module17 for consistency, same output as bin target + custom_target(name+'_wrap', + output : name+'_wrap', + input : exe, + command : [objcopy, '-O', 'binary', '@INPUT@', '@OUTPUT@']) + custom_target(name+'_flash', input : bin, diff --git a/scripts/nightly_build.sh b/scripts/nightly_build.sh index 98796c15..c19528dd 100755 --- a/scripts/nightly_build.sh +++ b/scripts/nightly_build.sh @@ -61,6 +61,7 @@ TARGETS=( "openrtx_mduv3x0_wrap" "openrtx_gd77_wrap" "openrtx_dm1801_wrap" + "openrtx_mod17_wrap" ) #Preparation