Here are the steps:
- Compiled a binary in MCUxpress, got the afx file (elf) and extracted the .boot_hdr section into a binary file
objcopy -O binary --only-section=.boot_hdr evkbimxrt1050_iled_blinky.elf hdr
- Added the hdr.s file to add the .boot_hdr section
- Added in memory.x the BOOT_HDR section
- Rename arm-m7 file to arm-m7.elf
- Loaded the file with MCUxpress debug
It prints hello world in the console, GPIO is not working yet.