-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the closest STM32 part¿? #15
Comments
the official stmicro arduino cores are pretty terrible. They're built on top of the HAL - which might make them easy to port, but not exactly lightweight. Arduino's own HAL, sitting on top of ST's HAL - not a great fit for smaller arm micros. It's hard getting anything useful to fit in flash with so much blubber. Even just the basic 'blink' example built on Arduino is huge: for the Nano, blink is 924 bytes with 9 bytes of sram. It's ridiculous. Especially when the smaller arm cores don't exactly have flash and sram to spare. Its also super annoying how long it takes to build, pulling in every individual library and compiling them sequentially. Even 'make' can do parallel compilation (do better, Arduino!). |
Some time ago, I found and then forgot where I found an Arduino core that is not based on HAL but on LL. Do you think that would be better? I suppose the STM32G030 is the MCU most similar to the PY32F030, PY32F002...? |
It seems relatively similar by specs, but I haven't compared them all that closely. The peripheral set has a slight resemblance, but it's definitley not a 1:1 clone |
Someone is already working on this: https://github.com/Air-duino/Arduino-AirMCU AIR001xx is a variant(much likely the same core) of PY32F002A, so in theory the Arduino implementation also works on PY32F003 and PY32F030. More details about AIR001xx can be found at below links. This chip hasn't been released officially, some documents may be incomplete |
I can design a PCB for this microcontroller if you wish. Let me know what peripherals you would like it to have (LEDs, voltage regulator, programming headers...). 如果您愿意,我可以为这个微控制器设计一块PCB。请告诉我您希望它具备哪些外设(LED灯,电压调节器,编程接头...) |
Thank you for your kindness but I already have a bunch of pcb boards of PY32 chips. Recently my interests have been shifting from PY32. |
@NoNamedCat It seems PY32F030 is a mashup of STM32F030 and STM32G0 ("IOPORT" stuff). At least this is what I found during my https://github.com/kholia/zephyr/tree/Support-for-Puya-PY32 work. |
There is a port of Arduino for the PY32 microcontrollers already. |
Very interesting the port of ZephyrOS to the pu32f003. Tks a lot! |
Hello again.
Im wondering what is the closest MCU on the STM32 family to this microcontroller?
I want try to port the arduino core for the PY32F0 and i don't want to start from scratch.
The text was updated successfully, but these errors were encountered: