cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 EEPROM emulation clarification for virtual address space.

JMeye.2
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief II

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

View solution in original post

1 REPLY 1
MM..1
Chief II

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