aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-04-19 12:09:00 +0300
committerdeshevoy <deshevoy@yandex-team.ru>2022-04-19 12:09:00 +0300
commit2e70c4006685744660d3f960b563c498fa83dd95 (patch)
tree6bbaf56e2b5258eec75c7fa942afb136a579553e
parentcdc615c3ae88e9dd50dd19441c6e11f999a9d645 (diff)
downloadydb-2e70c4006685744660d3f960b563c498fa83dd95.tar.gz
[build] Produce raw binary in MCU_PROGRAM module
ref:63245d63676217e5bce211352226c5867c1f9be7
-rw-r--r--build/ymake.core.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 69c3542bae..3b43540630 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -9324,14 +9324,14 @@ when ($WITH_CREDITS) {
}
macro _MCU_CONVERT(Bin) {
- .CMD=${cwd:BINDIR} $OBJCOPY_TOOL -O ihex $Bin ${output;noext:Bin.hex} && ${cwd:BINDIR} $OBJCOPY_TOOL -O srec $Bin ${output;noext:Bin.s37}
+ .CMD=${cwd:BINDIR} $OBJCOPY_TOOL -O ihex $Bin ${output;noext:Bin.hex} && ${cwd:BINDIR} $OBJCOPY_TOOL -O srec $Bin ${output;noext:Bin.s37} && ${cwd:BINDIR} $OBJCOPY_TOOL -O binary $Bin ${output;noext:Bin.bin}
}
MCU_LINK_EXE=$LINK_EXE && $_MCU_CONVERT($MODULE_PREFIX$REALPRJNAME)
### @usage: MCU_PROGRAM([progname])
###
-### Program module for microcontrollers. Converts binary to Intel HEX and Motorola S-record file formats.
+### Program module for microcontrollers. Converts ELF to Intel HEX, Motorola S-record and raw binary file formats.
### If name is not specified it will be generated from the name of the containing project directory.
module MCU_PROGRAM: PROGRAM {
.CMD=MCU_LINK_EXE