Olimex Support Forum

ARM => ST => Topic started by: rohfle on October 19, 2019, 03:48:05 am

Title: Olimex STM32-E407 target added to Mbed OS
Post by: rohfle on October 19, 2019, 03:48:05 am
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:
https://github.com/ARMmbed/mbed-os/pull/11648

Tutorial on how to get started with STM32-E407 on Mbed:
https://rohfle.gitlab.io/post/2019-10-19-olimex-stm32e407-tutorial-mbed-os/
Title: Re: Olimex STM32-E407 target added to Mbed OS
Post by: JohnS on October 19, 2019, 09:36:36 am
Is it really the case that just to read the tutorial it's necessary to sign up to Gitlab?

John
Title: Re: Olimex STM32-E407 target added to Mbed OS
Post by: rohfle on October 19, 2019, 09:45:21 pm
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).
Title: Re: Olimex STM32-E407 target added to Mbed OS
Post by: JohnS on October 21, 2019, 07:47:42 pm
Thanks - it works now.

John