Skip to main content
JMeye.2
Associate II
July 11, 2022
Solved

STM32F4 EEPROM emulation clarification for virtual address space.

  • July 11, 2022
  • 1 reply
  • 1810 views

I implement the eeprom emulation library for the STM32F423 controller and was wondering if the variables are 16 bits can I use the virtual addresses like this:

uint16_t VirtAddVarTab[NB_OF_VAR] = {0x1, 0x2, 0x3};

Or do I need to keep space like 0x1, 0x3, 0x5 because the variables are 2 bytes wide?

This topic has been closed for replies.
Best answer by MM..1

You can leave 1 2 3 ... or FFFA FFFB FFFC ....

1 reply

MM..1
MM..1Best answer
Chief III
July 11, 2022

You can leave 1 2 3 ... or FFFA FFFB FFFC ....