Hello,
just want to report that RAM size for STM32F303CC mcu (the one used for Robotdyn Blackpill) is 48KB and not 40KB as reported (and hence ,unfortunately, the max allowed by PlatformIO) see screenshots below:
For the project I’m working on, I had counted on squeezing out up to the last drop of that 48KB RAM, but now I’m stucked because PlatformIO refuse to compile if I reach 40KB…
So if you want to use the full 48KB you will have to explicitly place some objects / buffers into the CCM RAM by adding special __attribute__ GCC instructions which references the section in the linker script, as this one says
So problem nr. 1 is that the LD script doesn’t know about the 8K CCM RAM (this should be fixed by PIO) and then your problem is just that you need to cleverly need to place stuff in the CCM RAM. I’ll open an issue for the first problem.