A clean CMake-based STM32F4 template for kickstarting new firmware projects

I recently came up with the idea to write a clean template project for creating new STM32F4-based projects. The effort to create new firmware projects should be minimal while still maintaining maximum control and transparency over what happens in the build stage.

Software development

USB: Virtual COM ports under different (Windows) operating systems and the driver problem

If you want to develop your own embedded hardware, you often need a communication interface to a host, usually a PC. In times where the classic but easy-to-handle RS232 interfaces are no longer standard components in modern computers, you basically have two options when it comes to wire-bound connections:

  • Use a USB to UART converter chip in your device
  • Go for native USB support by using a controller which has a USB (device) subsystem on board