Hello. When I am creating a project with CubeMx using STM32F103C8Tx MCU Cube generates code for STM32F103CBTx.
In main.h file is a string #include <stm32f103xb.h>. Folder Drivers\CMSIS\Device\ST\STM32F1xx\Include\ contains stm32f103xb.h and so on.
That's why when I am trying to use "AN2594 - EEPROM emulation in STM32F10x microcontrollers" it does not work (STM32F103C8Tx has less flash memory than STM32F103CBTx).
Please correct this error.