2020-09-23 04:47 AM
Hi !
I am trying to port X-CUBE-EEPROM_V2.0.0 Emulated EEPROM application for STM32L476_Discovery application to STM32L412CBU device and following error appears in the flash_interface.c file
flash_interface.c(151): error: #20: identifier "SYSCFG_MEMRMP
flash_interface.c(168): error: #20: identifier "FLASH_BANK_2" is undefined
It appears that STM32L412 device only has one flash bank and there is no SYSCFG_MEMRMP register or bit filed in its stm32l412xx.h file.
Please suggest how to configure it for STM32L412 devices.
Thanks in advance!