Tuesday, August 18, 2015

Working with STM32CubeMX in Linux

I recently discovered STM32CubeMX, it's a great way to quickly get something running on any of the STM32 MCU's. I got it to work with the MDK-ARM and TrueSTUDIO demo versions in Windows. I prefer Linux for development work and don't have the budget (hobbyist) for full versions.

System Workbench for STM32 (SW4STM32) beta is available and can be made to work on Linux but is not in sync with cube. Both STM32CubeMX and SW4STM32 are evolving at a good pace (Aug 2015) and have been for some time. Currently Cube projects imported into SW4STM32 will not build even if the instructions on the System Workspace are followed.

To get around these problems I have created a makefile that builds Cube output for SW4STM32.



aMon - Another small system monitor.

I recently wrote a small command line program for minimal resource single board computers. It is intended to aid experimentation and testing of boards based of processors like Atmel's AVRs and ST's STM32s. It features limited line editing (backspace), command history, registers, argument parsing and number formatting.