Skip to content

Template project for getting started with the STM32F4 microcontroller

Notifications You must be signed in to change notification settings

asuar078/stm32_template

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages