仰望天空的石头01
lvl.1
Canada
Offline
|
DJI sample program development platform: CPU: STM32F417IG, FLASH: 1024KB, SRAM: 192KB, 168MHz.
The development platform I have successfully transplanted: CPU: STM32F429IGT6, FLASH: 1024KB, SRAM: 256KB, 180MHz
My target development platform: CPU: STM32F411RE, FLASH: 512KB, SRAM: 128KB, 100MHz
I have successfully ported to STM32F429IGT6 and verified some functions. But when I ported to STM32F411RE, the program was blocked in linker->init(). I think it is caused by memory overflow. The file size after my compilation is: Code=236676 RO-data=41620 RW-data=2336 ZI-data=110396. The compiled memory usage is close to the maximum memory capacity. I only kept FlightConrolSample and deleted the other samples.
My question is: What is the minimum resource(FLASH,SRAM) requirement of OSDK on STM32? Is there any way to reduce the consumption of SRAM without affecting system performance?
|
|