asuar078 / stm32_template

Template project for getting started with the STM32F4 microcontroller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32 Template

Another template project for the STM32 Line of microcontroller. This project is based on the output from the STMCubeMx for the STM32F446RET.

The only configuration that needs to be set is the STM32_TOOLCHAIN_PATH variable. Either set in the CMakeList.txt file before including the toolchain file or passed in from the command line.

Features

Making Named Types Smaller

The STDC_HOSTED flag doesn't always work so to not include iostream from the standard in the "named_type_impl.hpp" change the following starting on line 17.

// comment out
//#if defined(__STDC_HOSTED__)
//#    define FLUENT_HOSTED 1
//#else
//#    define FLUENT_HOSTED 0
//#endif

// redefine
#define FLUENT_HOSTED 0

About

Template project for getting started with the STM32F4 microcontroller


Languages

Language:C 97.4%Language:C++ 1.8%Language:Assembly 0.5%Language:CMake 0.3%