STM32F401CCU6 SUPPORT

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
skylin008
Posts: 88
Joined: Wed Mar 11, 2015 6:21 am

STM32F401CCU6 SUPPORT

Post by skylin008 » Mon May 20, 2019 6:15 am

Hello everyone! Does microython can be support the stm32f401ccu6 chip , it has only 64k ram in chip.Thank you advance!

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: STM32F401CCU6 SUPPORT

Post by shaoziyang » Mon May 20, 2019 7:42 am

No. At least 256K flash required.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: STM32F401CCU6 SUPPORT

Post by Roberthh » Mon May 20, 2019 8:00 am

STM32F401CCU6:
Arm® Cortex®-M4 32-bit MCU+FPU, 105 DMIPS,
256KB Flash / 64KB RAM, 11 TIMs, 1 ADC, 11 comm. interfaces

chrismas9
Posts: 152
Joined: Wed Jun 25, 2014 10:07 am

Re: STM32F401CCU6 SUPPORT

Post by chrismas9 » Tue May 21, 2019 3:46 am

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.

Post Reply