Skip to content

arielivandiaz/Platformio_Examples_STM32_Discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platformio Examples STM32F4 Discovery

configure your board type to use TM libraries correctly.

src/defines.h

#define STM32F4XX = 1 #define STM32F4xx = 1

3 ADC

Fixed line 175 tm_stm32_adc.c

Replace this:

//if (HAL_ADC_GetState(&AdcHandle) == HAL_ADC_STATE_EOC_REG) {

with:

if (HAL_ADC_GetState(&AdcHandle) == 0x201) {

Use https://github.com/mpaland/printf if you have printf/sprintf problems

cAUTION

Sources

Replace http://stm32f4-discovery.com with https://stm32f4-discovery.net/ https://github.com/mpaland/printf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages