mirror of https://github.com/ARMmbed/mbed-os.git
PSOC6.py: generate hex files with 16 bytes per row
DAPLink implementation on Cypress kits cannot handle hex files with 64 bytes per row: refer to https://github.com/ARMmbed/DAPLink, source/daplink/drag-n-drop/intelhex.c, hex_line_t struct, data field.pull/9646/head
parent
75d438e271
commit
ced094f153
|
@ -112,7 +112,7 @@ def complete_func(message_func, elf0, hexf0, hexf1=None, dest=None):
|
|||
message_func("Postprocessing %s -> %s" % (elf0, hexf0))
|
||||
ihex = merge_images(hexf0, hexf1)
|
||||
patch(message_func, ihex, hexf0)
|
||||
ihex.write_hex_file(dest if dest else hexf0, write_start_addr=False, byte_count=64)
|
||||
ihex.write_hex_file(dest if dest else hexf0, write_start_addr=False, byte_count=16)
|
||||
|
||||
# Find Cortex M0 image.
|
||||
def find_cm0_image(toolchain, resources, elf, hexf, hex_filename):
|
||||
|
|
Loading…
Reference in New Issue