Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.05 KB

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