per1234 / Ariadne-Bootloader

Arduino TFTP bootloader for W5100 Ethernet controller(Arduino Ethernet, Ethernet Shield, etc.)
16 stars 8 forks source link

Use the same EEPROM address definition file for the bootloader and the config sketch #16

Open per1234 opened 8 years ago

per1234 commented 8 years ago

Currently the bootloader source uses neteeprom.h and the NetEEPROM library uses NetEEPROM_defs.h. The two files are similar but not identical so this makes it more difficult to keep them synchronized. I propose to either use two copies of the same file(maybe the Makefile or the batchfile that calls the Makefile could copy the file from the bootloader source to the library folder) or use the same file(which would be located in the library folder and the bootloader source code would need to use the right include path to the file) for both of them.

Update NetReset(reset example and the (proposed)password setting example sketch) and NewEEPROM to use this file.