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.
- CMake project
- C++ support
- FreeRTOS with C++ wrapper
- Uses the embedded template library ETL for embedded safe STL types
- Uses basic boost outcomes for errors handling
- Uses Named Typed library for better interfaces
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