CPU:I.MX RT1176
IDE:MCUXPresso IDE 11.8
In the I.MX series of microcontrollers, headers need to be filled in order to let the L1 BootLoader know how to boot the program. One of these fields is the XMCD, which can be used to initialize the peripherals of FlexSPI or SEMC interfaces.
I added an XMCD component through MCUXPresso IDE, but now there is a problem that the automatically generated link script does not declare the .boot_hdr.xmcd_data field, so the sections in xmcd.c are not linked into the bin file.
If I uncheck Manage Link Script and manually modify the .ld file in the Debug directory to add an xmcd section, then the xmcd section can be filled. However, if I want to change or delete some sections through the GUI of MCUXPresso IDE in the future, it will be very troublesome.
Is this a bug in MCUXPresso IDE? How should I change its link script generation mechanism?