AnsweredAssumed Answered

Defining Custom Linker Sections in KDS

Question asked by MICHAEL BURGESS on May 12, 2018
Latest reply on May 14, 2018 by Alice_Yang

Hello, I have the need to place some code in specific location in memory using KDS.  I'm using Kinetis K22 part.  I have found a post by Steve Lewis and one by Erich Styger which describes basically the same process.  I have implemented their recommendations, however all is not working as expected.   The linker links with no errors, I can see my file variables

in the map file along with the correct sizes for my ".text" and ".rodata" sections.  But, my file does not show up in the .elf file and no data was generated in the binary (SREC) file.  Is there something else I need to do so that the data from my newly created section be placed in the flash image?

Outcomes