Page 1 of 1

STM32F401CCU6 SUPPORT

Posted: Mon May 20, 2019 6:15 am
by skylin008
Hello everyone! Does microython can be support the stm32f401ccu6 chip , it has only 64k ram in chip.Thank you advance!

Re: STM32F401CCU6 SUPPORT

Posted: Mon May 20, 2019 7:42 am
by shaoziyang
No. At least 256K flash required.

Re: STM32F401CCU6 SUPPORT

Posted: Mon May 20, 2019 8:00 am
by Roberthh
STM32F401CCU6:
Arm® Cortex®-M4 32-bit MCU+FPU, 105 DMIPS,
256KB Flash / 64KB RAM, 11 TIMs, 1 ADC, 11 comm. interfaces

Re: STM32F401CCU6 SUPPORT

Posted: Tue May 21, 2019 3:46 am
by chrismas9
MicroPython runs on the L432 with 256k/64k. Have a look at it's linker script and mpconfigboard.h. You will see quite a few features turned off, eg pyblegacy, to make it fit. You might be able to have a 16k filesystem. There is room for 26k in L432 but I doubt you will get 32k. You will need 16k ram reserved for FScache leaving 48k. This is enough as F091 runs in 32k with 6k stack.