Question
Linker ld.exe cannot get *.o files...when using CCMRAM on a 32F303
I would like to use CCMRAM on my STM32F303RD based hardware.
I use Atollic v9.3 and Cube F3 V1.10.
CCMRAM support has been implemented in startup file 'startup_stm32f303xe.s' as described in ST AN4296.
- When I try to use a function in the CCMRAM, I add: __atribute__((section ("*.ccmram"))); in the function prototype and It works fine, code is uploaded in CCMRAM and run OK.
- When I do not try to move any code in CCMRAM it's ok, soft run fine.
- When I try to move a whole file in the CCMRAM and add xxxx.o (xxxx is name of the function in the linker file (STM32F303RD_FLASH.ld), on link time, ATOLLIC tell : ...bin/ld.exe: cannot find ***.o. Trials have been made with various files, all presents in /debug/core/drc directory ot the project.
That looks like a path issue, but no doubt ld has the right pass to access the.o files.
thanks for help