Skip to content

project for testing integration of a cubemx project in platformio as a library without hand modifications

License

Notifications You must be signed in to change notification settings

STM32Libs/f411_piocube_lib_blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f411_piocube_lib_blink

project integrating cubemx in platformio as a library so that clock and HAL init are taken care of and the user can focus on the application

Use CubeMX like Arduino

Although no construction style is possible as the main compiled by the cubemx lib has to run first, so init has to follow starting on the setup() function.

It's really the stm32cube framework

[env]
platform = ststm32
framework = stm32cube

The library can be added with the repository url

lib_deps =
    https://github.com/STM32Libs/pio_cubemx_stm32f4.git

main.cpp looks like Arduino .ino file

#include "cube_main.h"

void setup()
{
	//init led
}

void loop()
{
    //blink led
}

About

project for testing integration of a cubemx project in platformio as a library without hand modifications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages