|
|
|
|
|
by rohfle
2048 days ago
|
|
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 |
|