E2END constant used but not declared in Eeprom.h
in Software
Hi,
I have successfully installed arduino 1.8.5, the OpenBCI
libraries and the ChipKit package. The next step in the OpenBCI Cyton
tutorial is to load the DefaultBoard example. It then gives me the
following error message:
In
file included from \\users\\Windows.Documents\My
Documents\Arduino\libraries\OpenBCI_32bit_Library\examples\DefaultBoard\DefaultBoard.ino:3:0:
C:\Users\m\AppData\Local\Arduino15\packages\chipKIT\hardware\pic32\2.0.3\libraries\EEPROM/EEPROM.h:
In member function 'uint16_t EEPROMClass::length()':
C:\Users\m\AppData\Local\Arduino15\packages\chipKIT\hardware\pic32\2.0.3\libraries\EEPROM/EEPROM.h:127:51:
error: 'E2END' was not declared in this scope
uint16_t length() { return E2END + 1; }
^
exit status 255
Error compiling for board OpenBCI 32.
I
have checked the header files in the search for this constant (where it is declared) but to no avail. I also have searched for possible solutions to this problem online but it has not been asked here in the
forum yet. I'd greatly appreciate some help and pointers. Thank you.
I have successfully installed arduino 1.8.5, the OpenBCI
libraries and the ChipKit package. The next step in the OpenBCI Cyton
tutorial is to load the DefaultBoard example. It then gives me the
following error message:
In
file included from \\users\\Windows.Documents\My
Documents\Arduino\libraries\OpenBCI_32bit_Library\examples\DefaultBoard\DefaultBoard.ino:3:0:
C:\Users\m\AppData\Local\Arduino15\packages\chipKIT\hardware\pic32\2.0.3\libraries\EEPROM/EEPROM.h:
In member function 'uint16_t EEPROMClass::length()':
C:\Users\m\AppData\Local\Arduino15\packages\chipKIT\hardware\pic32\2.0.3\libraries\EEPROM/EEPROM.h:127:51:
error: 'E2END' was not declared in this scope
uint16_t length() { return E2END + 1; }
^
exit status 255
Error compiling for board OpenBCI 32.
I
have checked the header files in the search for this constant (where it is declared) but to no avail. I also have searched for possible solutions to this problem online but it has not been asked here in the
forum yet. I'd greatly appreciate some help and pointers. Thank you.
Comments
I did have an extra zero there (0x0FFF) but I don't think it makes any difference.
However,
I placed it in the EEPROM.h header file in the Arduino installation. I
believe this is the only thing you need to change.
Cheers