Martin B.

EEPROM Emulation on STM32F302CC

Discussion created by Martin B. on Nov 25, 2017
Latest reply on Nov 25, 2017 by Clive One

I'm trying to get the eeprom emulation on STM32F302CC running.

Readed the AN4056 V1.0.0 demo

(STSW-STM32112 - EEPROM emulation in STM32F3xx microcontrollers (AN4046) - STMicroelectronics )

 

I take the eeprom.c + eeprom.h and add it to my project (System Workbench f. STM32) but I can't compile the project!

 

get this errors (many times)

'uint16_t' undeclared (first use in this function)    eeprom.h    /control6/Inc    line 47    C/C++ Problem

 '__IO' undeclared (first use in this function)    eeprom.c    /control6/Src    line 71    C/C++ Problem

 'FLASH_COMPLETE' undeclared (first use in this function)    eeprom.c    /control6/Src    line 84    C/C++ Problem

 

Is there anything more to include or to declare?

Outcomes