Hello,
My application uses the EK-TM4C1294XL board and requires modifications to the boot loader. I cannot find an example project to do this so I am adding/fixing things as I go, such as predefined symbols TARGET_IS_TM4C129_RA1 and PART_TM4C1294NCPDT. I had a compiler error for bl_emac.c for the included third_party/uip-1.0/uip/uip.c:
line 6: error #41: expected an identifier
where line 6 is:
#define DEBUG_PRINTF(...) /* UARTprintf(__VA_ARGS__) */
How do I resolve this error? I commented out this line and all references to make progress, where I eventually got the linker warnings:
#10247-D creating output section ".cinit" without a SECTIONS specification boot_loader C/C++ Problem
#10278-D LOAD placement specified for section ".text:rtsv7M4_T_le_v4SPD16_eabi.lib<memcpy_t2.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY"). boot_loader C/C++ Problem
#10278-D LOAD placement specified for section ".text:decompress:ZI:rtsv7M4_T_le_v4SPD16_eabi.lib<copy_zero_init.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY"). boot_loader C/C++ Problem
plus a few more. What do I need to do to fix these?
Thanks!