I've recently switched from KDS to MCUXpresso, but I'm stumped on how to modify the load map.
Specifically: in KDS, to support a flash-resident bootloader in low memory, I modified the memory areas in MKL27Z64xxx4_flash.ld from its default:
to look like this. Note that the BCA starts at 0x43c0 and m_text at 0x4400, and I've added a "BootloaderConfig" section:
After that, I could use __attribute__((section(".BootloaderConfig"))) in my code to initialize the BCA.
However, with the new Managed Linker system in MCUXpresso, the .ld files are evidently automatically generated by "Freemarker", so it would be a Bad Idea to modify the generated files directly.
But I'm stumped as to how to tell Freemarker to make the corresponding changes. Are there examples of how to do this?