Page 1 of 1

Eeprom compiling generates errors

Posted: Wed May 01, 2024 7:44 am
by Jorg_Guldner
Hello!
Can you compile the attached file and look why it`s generating errors?

Regards
Jorg

Re: Eeprom compiling generates errors

Posted: Wed May 01, 2024 8:30 am
by medelec35
Hello Jorg.
If you remove all the data from Initial Values within EEPROM properties, you should be able to compile.

Re: Eeprom compiling generates errors

Posted: Wed May 01, 2024 5:08 pm
by Jorg_Guldner
Hello Martin,
if you take the same program, modify to PIC16F1829, address in uint und return value in byte, it compiles without error? The initial examples values of the component are not cleared. Where is the difference?

Wiki says "Comma seperated list of values to assign to the EEPROM memory while programming" All values shown in the initial are possible. At first, how many values must be written in the initial? Only some or the full memory? Normally without changing something the compiling must run through without errors, like the PIC16F1829. If I put own values inside, the error occurs, too.


regards
Jorg