mjs513
Senior Member+
Afternoon all
Working on a new project that I described in this post: https://forum.pjrc.com/threads/59112-TeensyTimerTool?p=267831&viewfull=1#post267831 which is basically porting CommandStation-EX (https://github.com/DCC-EX/CommandStation-EX) that currently only supports Arduino Mega and Arduino Uno boards and is used for controlling locomotives that use dcc/dcc++. With some suggestions from @luni think I got the timers sorted out for the T3 and T4 but now getting a slew of errors of the type:
Here is a txt file of all the errors: View attachment Errors.txt
All the files referenced use EEProm put or get to read config data from the EEPROM and includes EEStore.h which has the include for EEPROM.h. The only other place the problem might be coming is from their StringFormatter class which not sure I did the defines correctly for but that looks like its more the their LCD Display driver which I am probably going to have rework eventually.
Any suggestions on where to look or what could be causing the conflict would be a help. And before anyone asks I am attaching a zip with the Sketch, its all self container the only extra thing you may need is @luni's TeensyTimerTool.
Working on a new project that I described in this post: https://forum.pjrc.com/threads/59112-TeensyTimerTool?p=267831&viewfull=1#post267831 which is basically porting CommandStation-EX (https://github.com/DCC-EX/CommandStation-EX) that currently only supports Arduino Mega and Arduino Uno boards and is used for controlling locomotives that use dcc/dcc++. With some suggestions from @luni think I got the timers sorted out for the T3 and T4 but now getting a slew of errors of the type:
Code:
C:\Users\Merli\AppData\Local\Temp\arduino_build_405943\sketch\DCCEXParser.cpp.o: In function `String const& EEPROMClass::put<String>(int, String const&)':
[COLOR="#B22222"]F:\arduino-1.8.13-beta5\hardware\teensy\avr\libraries\EEPROM/EEPROM.h:167: multiple definition of `String const& EEPROMClass::put<String>(int, String const&)'
C:\Users\Merli\AppData\Local\Temp\arduino_build_405943\sketch\DCC.cpp.o:F:\arduino-1.8.13-beta5\hardware\teensy\avr\libraries\EEPROM/EEPROM.h:167: first defined here
f:/arduino-1.8.13-beta5/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions[/COLOR]
Here is a txt file of all the errors: View attachment Errors.txt
All the files referenced use EEProm put or get to read config data from the EEPROM and includes EEStore.h which has the include for EEPROM.h. The only other place the problem might be coming is from their StringFormatter class which not sure I did the defines correctly for but that looks like its more the their LCD Display driver which I am probably going to have rework eventually.
Any suggestions on where to look or what could be causing the conflict would be a help. And before anyone asks I am attaching a zip with the Sketch, its all self container the only extra thing you may need is @luni's TeensyTimerTool.