Fix test and work with bootloader
Fix tests Fix commit
This commit is contained in:
parent
e9fb2656b8
commit
05621e7150
11 changed files with 128 additions and 54 deletions
11
controller/fw/bootloader/hex_compile.py
Normal file
11
controller/fw/bootloader/hex_compile.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
Import("env")
|
||||
|
||||
hex_name = "bootloader.hex"
|
||||
# Custom HEX from ELF
|
||||
env.AddPostAction(
|
||||
"$BUILD_DIR/${PROGNAME}.elf",
|
||||
env.VerboseAction(" ".join([
|
||||
"$OBJCOPY", "-O", "ihex", "-R", ".eeprom",
|
||||
"$BUILD_DIR/${PROGNAME}.elf", "$BUILD_DIR/{}".format(hex_name)
|
||||
]), "Building $BUILD_DIR/{}".format(hex_name))
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue