I have recently been working on adding support for the Olimex STM32-E407 board in Mbed OS, which is an OS for IoT devices based on 32-bit ARM Cortex-M MCUs. Mbed OS is developed by ARM and its friends and is licensed under Apache 2.0. The pull request for STM32-E407 has now been merged into master and should be part of the next release.
I started working on adding support due to frustration with the GUI tools available for STM32. I have a preference for working from the command-line, and I found the process of working with STM32Cube and STM32CubeMX to be complicated and tedious. Having USER CODE BEGIN etc every 4 lines diluted the code down making it harder to digest, and STM32CubeMX is not optimised for 13 inch laptop screens.
Another thing that frustrated me into adding support for Mbed OS was the complexity of working with the STM32 libraries. Despite finding multiple examples, I found using Ethernet TCP/IP and USB to be quite difficult and messy. On the the other hand, Mbed OS has great documentation, and is really simple to use. It feels to me like a grown up Arduino, with RTOS, networking, USB and more included out of the box.
Anyway heres the code
Link to pull request:
Tutorial on how to get started with STM32-E407 on Mbed:
Is it really the case that just to read the tutorial it's necessary to sign up to Gitlab?
Argh no thats not intended. I threw it up yesterday and access to pages was restricted by default. You should be able to view the tutorial now (as well as the rest of the site).
Thanks - it works now.