Flowcode v9 does not create an .eep file for "Arduino UNO R3 SMD"
Posted: Thu Oct 14, 2021 12:36 pm
In my project I use the EEPROM component . I want to create a file .eep with data to fill in the EEPROM AVR. To do this, I wrote such a line for the compiler in the avrb.bat file:
"%~dp0..\bin\avr-objcopy" -O ihex -j .eeprom --set-section-flags .eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings %1 %4.
The compiler creates a file .eep, but there is no data in it that is written in the property of the EEPROM component "InitialValues".
I assume that the compiler does not see these lines:
#ifdef MX_CAL_AVR
char EEMEM NonVolatileData[] = {0,1,0x2,0x03,'A','b','H','e','l','l','o'};
#endif
which are written in the .c file of the project.
What should I do to create an .eep file?
The chip in the project is selected: "Arduino UNO R3 SMD"
"%~dp0..\bin\avr-objcopy" -O ihex -j .eeprom --set-section-flags .eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings %1 %4.
The compiler creates a file .eep, but there is no data in it that is written in the property of the EEPROM component "InitialValues".
I assume that the compiler does not see these lines:
#ifdef MX_CAL_AVR
char EEMEM NonVolatileData[] = {0,1,0x2,0x03,'A','b','H','e','l','l','o'};
#endif
which are written in the .c file of the project.
What should I do to create an .eep file?
The chip in the project is selected: "Arduino UNO R3 SMD"