Hi all,
When I use the MICROLIB option, I get a warning :
Warning: L6329W: Pattern STRx.o(RO) only matches removed unused sections. Any idea what could be the reason, and what to do ?
Kind regards
Luc vercruysse robosoft N.V.
This is the scatter file where the warning The line that causes the warning is RED ; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x00000000 { ; load region ER_IROM1 0x00000000 0x00088000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) STR91x.o (+RO) .ANY (+RO) } RW_IRAM1 0x04000000 0x00018000 { ; RW data Library.o (+RO) .ANY (+RW +ZI) } }
No item in the STR91x.o library was referenced so it was removed.
To remove the warning you may:
1) remove STR91x.o from the scatter file 2) reference an item in the STR91x.o library so it is included. 3) disable the warning by putting "--diag_suppress L6329W" in the Misc controls of the linker section