Re:The Best and Worst Microcontroller SDKs
by AlphaSite on Saturday November 14, 2020 @07:32PM
(#25096980)
What about the mbed sdk? I’m curious how it compares to these.
[ Parent
| on HN ]
Re:The Best and Worst Microcontroller SDKs
by rohfle on Sunday November 15, 2020 @01:58AM
(#25098939)
I found it easier to work with mbed than STM32Cube for USB and ethernet. I found it really hard to understand the autogenerated STM32Cube with USER CODE BEGIN lines and couldn't make sense of non-working examples for Ethernet and USB for my target board.
Mbed was more of an abstraction layer - I saw a lot of similarities to what STM32Cube does underneath.
The process of adding target platforms has a bit of a steep learning curve. I copied a target with the same MCU and worked from there. But once the target platform is implemented writing code is pretty enjoyable.
See https://github.com/ARMmbed/mbed-os/pull/11648/files for the example of adding a target See https://rohfle.gitlab.io/posts/2019-10-19-olimex-stm32e407-t... for example ethernet code