Post by hwright on Sept 8, 2022 13:08:27 GMT
Hi,
I have some Arduino sketches that I am converting to run on the Aurix ShieldBuddy TC375.
I can compile most sketches but anything that uses EEPROM does not compile. Even just opening eeprom_write.ino from the examples does not compile.
It appears the hardware library is looking for "EEPROM_TC275.h" - is there an eeprom library for the TC375?
Dump of compiler messages when trying to compile eeprom_write.ino below
Arduino: 1.8.19 (Windows 10), Board: "ShieldBuddyTC375"
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:14:0: warning: "SECTORVALID_MARKER_ADDR" redefined
#define SECTORVALID_MARKER_ADDR 0x1FFCul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:14:0: note: this is the location of the previous definition
#define SECTORVALID_MARKER_ADDR 0xFFCul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:15:0: warning: "SECTORVALID_CRC32_ADDR" redefined
#define SECTORVALID_CRC32_ADDR 0x1FF8ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:15:0: note: this is the location of the previous definition
#define SECTORVALID_CRC32_ADDR 0xFF8ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:16:0: warning: "LOGICAL_SECTORSIZE" redefined
#define LOGICAL_SECTORSIZE 0x2000
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:16:0: note: this is the location of the previous definition
#define LOGICAL_SECTORSIZE 0x1000ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:17:0: warning: "EEPROM_MAX_USERADDRESS" redefined
#define EEPROM_MAX_USERADDRESS 0xAF05DFFFul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:17:0: note: this is the location of the previous definition
#define EEPROM_MAX_USERADDRESS 0xAF03EFFFul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:20:0: warning: "NO_OF_SECTORS" redefined
#define NO_OF_SECTORS 47
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:20:0: note: this is the location of the previous definition
#define NO_OF_SECTORS (((EEPROM_MAX_USERADDRESS + 1U - E2START)/LOGICAL_SECTORSIZE) - 1U) //31
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:15: error: redeclaration of 'UsingNormalPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:15: note: previous declaration 'EEPROM_StatusType UsingNormalPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:32: error: redeclaration of 'UsingBackupPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:32: note: previous declaration 'EEPROM_StatusType UsingBackupPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:50: error: conflicting declaration 'typedef enum EEPROM_StatusType EEPROM_StatusType'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:50: note: previous declaration as 'typedef enum EEPROM_StatusType EEPROM_StatusType'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:16: error: redeclaration of 'EEPROM_Not_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:16: note: previous declaration 'eepromInitType EEPROM_Not_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:40: error: redeclaration of 'EEPROM_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:40: note: previous declaration 'eepromInitType EEPROM_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:61: error: conflicting declaration 'typedef enum eepromInitType eepromInitType'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:61: note: previous declaration as 'typedef enum eepromInitType eepromInitType'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:26:88: error: conflicting declaration 'typedef union LogicalSectorBufferType LogicalSectorBufferType'
typedef union { uint32 dword[LOGICAL_SECTORSIZE/4]; uint8 bytes[LOGICAL_SECTORSIZE]; } LogicalSectorBufferType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:26:88: note: previous declaration as 'typedef union LogicalSectorBufferType LogicalSectorBufferType'
typedef union { uint32 dword[LOGICAL_SECTORSIZE/4]; uint8 bytes[LOGICAL_SECTORSIZE]; } LogicalSectorBufferType;
^
In file included from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:45:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:94:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
exit status 1
Error compiling for board ShieldBuddyTC375.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have some Arduino sketches that I am converting to run on the Aurix ShieldBuddy TC375.
I can compile most sketches but anything that uses EEPROM does not compile. Even just opening eeprom_write.ino from the examples does not compile.
It appears the hardware library is looking for "EEPROM_TC275.h" - is there an eeprom library for the TC375?
Dump of compiler messages when trying to compile eeprom_write.ino below
Arduino: 1.8.19 (Windows 10), Board: "ShieldBuddyTC375"
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:14:0: warning: "SECTORVALID_MARKER_ADDR" redefined
#define SECTORVALID_MARKER_ADDR 0x1FFCul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:14:0: note: this is the location of the previous definition
#define SECTORVALID_MARKER_ADDR 0xFFCul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:15:0: warning: "SECTORVALID_CRC32_ADDR" redefined
#define SECTORVALID_CRC32_ADDR 0x1FF8ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:15:0: note: this is the location of the previous definition
#define SECTORVALID_CRC32_ADDR 0xFF8ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:16:0: warning: "LOGICAL_SECTORSIZE" redefined
#define LOGICAL_SECTORSIZE 0x2000
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:16:0: note: this is the location of the previous definition
#define LOGICAL_SECTORSIZE 0x1000ul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:17:0: warning: "EEPROM_MAX_USERADDRESS" redefined
#define EEPROM_MAX_USERADDRESS 0xAF05DFFFul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:17:0: note: this is the location of the previous definition
#define EEPROM_MAX_USERADDRESS 0xAF03EFFFul
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:20:0: warning: "NO_OF_SECTORS" redefined
#define NO_OF_SECTORS 47
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:20:0: note: this is the location of the previous definition
#define NO_OF_SECTORS (((EEPROM_MAX_USERADDRESS + 1U - E2START)/LOGICAL_SECTORSIZE) - 1U) //31
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:15: error: redeclaration of 'UsingNormalPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:15: note: previous declaration 'EEPROM_StatusType UsingNormalPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:32: error: redeclaration of 'UsingBackupPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:32: note: previous declaration 'EEPROM_StatusType UsingBackupPage'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:22:50: error: conflicting declaration 'typedef enum EEPROM_StatusType EEPROM_StatusType'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:22:50: note: previous declaration as 'typedef enum EEPROM_StatusType EEPROM_StatusType'
typedef enum {UsingNormalPage, UsingBackupPage } EEPROM_StatusType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:16: error: redeclaration of 'EEPROM_Not_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:16: note: previous declaration 'eepromInitType EEPROM_Not_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:40: error: redeclaration of 'EEPROM_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:40: note: previous declaration 'eepromInitType EEPROM_Initialised'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:24:61: error: conflicting declaration 'typedef enum eepromInitType eepromInitType'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:24:61: note: previous declaration as 'typedef enum eepromInitType eepromInitType'
typedef enum { EEPROM_Not_Initialised, EEPROM_Initialised } eepromInitType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:25:0,
from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include/EEPROM_TC275.h:26:88: error: conflicting declaration 'typedef union LogicalSectorBufferType LogicalSectorBufferType'
typedef union { uint32 dword[LOGICAL_SECTORSIZE/4]; uint8 bytes[LOGICAL_SECTORSIZE]; } LogicalSectorBufferType;
^
In file included from C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:124:0,
from <command-line>:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\system\libaurix\include\TC375/EEPROM_TC375.h:26:88: note: previous declaration as 'typedef union LogicalSectorBufferType LogicalSectorBufferType'
typedef union { uint32 dword[LOGICAL_SECTORSIZE/4]; uint8 bytes[LOGICAL_SECTORSIZE]; } LogicalSectorBufferType;
^
In file included from C:\Program Files (x86)\Arduino\examples\275.TC275SketchesLibrary\eeprom_write\eeprom_write.ino:9:0:
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:45:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix\libraries\EEPROM\src/EEPROM.h:94:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
exit status 1
Error compiling for board ShieldBuddyTC375.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.