Bootloader uploads fine, But firmware wont flash to the board.

I am attempting to flash the Unified firmware from TH3D for my Sanguino 1284 board out of my CR10 3D printer. These are the error messages I am recieving: Arduino: 1.8.7 (Windows 10), Board: "Sanguino 1284p, ATmega1284P (16 MHz)"

Build options changed, rebuilding all C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `manage_manual_move':

sketch/ultralcd.cpp:2955: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `lcd_quick_feedback':

sketch/ultralcd.cpp:800: undefined reference to `millis'

sketch/ultralcd.cpp:812: undefined reference to `delay'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `lcd_update':

sketch/ultralcd.cpp:5230: undefined reference to `millis'

sketch/ultralcd.cpp:5403: undefined reference to `millis'

sketch/ultralcd.cpp:5403: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `host_keepalive':

sketch/Marlin_main.cpp:3639: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `manage_inactivity':

sketch/Marlin_main.cpp:15094: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o:sketch/ultralcd.cpp:5389: more undefined references to `millis' follow

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans0.ltrans.o: In function `check_axes_activity':

sketch/planner.cpp:1284: undefined reference to `analogWrite'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans1.ltrans.o: In function `Buzzer::tick()':

sketch/buzzer.h:122: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans1.ltrans.o: In function `Sd2Card::chipSelectHigh()':

sketch/Sd2Card.cpp:223: undefined reference to `digitalWrite'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans1.ltrans.o: In function `Sd2Card::waitNotBusy(unsigned int)':

sketch/Sd2Card.cpp:595: undefined reference to `millis'

sketch/Sd2Card.cpp:597: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans1.ltrans.o: In function `chipSelectLow':

sketch/Sd2Card.cpp:230: undefined reference to `digitalWrite'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans1.ltrans.o: In function `readData':

sketch/Sd2Card.cpp:484: undefined reference to `millis'

sketch/Sd2Card.cpp:486: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans2.ltrans.o: In function `init':

sketch/Sd2Card.cpp:304: undefined reference to `millis'

sketch/Sd2Card.cpp:314: undefined reference to `pinMode'

sketch/Sd2Card.cpp:337: undefined reference to `millis'

sketch/Sd2Card.cpp:360: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans5.ltrans.o: In function `pause':

sketch/stopwatch.cpp:52: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans8.ltrans.o: In function `print_heater_state(float const&, float const&, signed char)':

sketch/temperature.cpp:2480: undefined reference to `delay'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans8.ltrans.o: In function `Temperature::thermal_runaway_protection(Temperature::TRState*, unsigned long*, float const&, float const&, signed char, unsigned int, unsigned int)':

sketch/temperature.cpp:1588: undefined reference to `millis'

sketch/temperature.cpp:1591: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans8.ltrans.o: In function `Temperature::start_watching_bed()':

sketch/temperature.cpp:1512: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans8.ltrans.o: In function `Temperature::start_watching_heater(unsigned char)':

sketch/temperature.cpp:1496: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans12.ltrans.o: In function `_drawmenu_sd(bool, unsigned char, char const*, CardReader&, bool) [clone .isra.12] [clone .constprop.26]':

sketch/ultralcd_impl_DOGM.h:637: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans12.ltrans.o: In function `lcd_implementation_drawmenu_static(unsigned char, char const*, bool, bool, char const*) [clone .constprop.7]':

sketch/ultralcd_impl_DOGM.h:484: undefined reference to `Print::print(char)'

sketch/ultralcd_impl_DOGM.h:494: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans12.ltrans.o: In function `_drawmenu_setting_edit_generic(bool, unsigned char, char const*, char const*, bool) [clone .constprop.5]':

sketch/ultralcd_impl_DOGM.h:536: undefined reference to `Print::print(char)'

sketch/ultralcd_impl_DOGM.h:537: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans12.ltrans.o:(.rodata+0x6): undefined reference to `Print::write(unsigned char const*, unsigned int)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans11.ltrans.o: In function `charset_mapper':

sketch/utf_mapper.h:665: undefined reference to `Print::print(char)'

sketch/utf_mapper.h:665: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans11.ltrans.o:(.rodata+0xc): undefined reference to `Print::write(unsigned char const*, unsigned int)'

c:/users/losts/downloads/th3d_ufw_u1.r2.a6/th3duf_r2/windows arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avr51/crtatmega1284p.o:(.init9+0x0): undefined reference to `main'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans14.ltrans.o: In function `lcd_print(char)':

sketch/ultralcd_impl_DOGM.h:257: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans14.ltrans.o: In function `charset_mapper':

sketch/utf_mapper.h:665: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans6.ltrans.o: In function `manual_move_to_current(AxisEnum)':

sketch/ultralcd.cpp:3012: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_goto_screen(void (*)(), unsigned long)':

sketch/ultralcd.cpp:506: undefined reference to `millis'

sketch/ultralcd.cpp:508: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_blink':

sketch/ultralcd.cpp:5112: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_implementation_status_screen':

sketch/status_screen_DOGM.h:274: undefined reference to `Print::print(char)'

sketch/status_screen_DOGM.h:333: undefined reference to `Print::print(char const*)'

sketch/status_screen_DOGM.h:334: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_implementation_status_message(bool) [clone .isra.15]':

sketch/status_screen_DOGM.h:193: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_implementation_status_screen':

sketch/status_screen_DOGM.h:446: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o: In function `lcd_implementation_drawedit(char const*, char const*)':

sketch/ultralcd_impl_DOGM.h:586: undefined reference to `Print::print(char)'

sketch/ultralcd_impl_DOGM.h:593: undefined reference to `Print::print(char)'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans7.ltrans.o:sketch/ultralcd_impl_DOGM.h:266: more undefined references to `Print::print(char)' follow

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans10.ltrans.o: In function `lcd_buttons_update()':

sketch/ultralcd.cpp:5573: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans15.ltrans.o: In function `Temperature::manage_heater()':

sketch/temperature.cpp:836: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans15.ltrans.o: In function `Stopwatch::duration()':

sketch/stopwatch.cpp:96: undefined reference to `millis'

C:\Users\losts\AppData\Local\Temp\cc2tGP6S.ltrans15.ltrans.o: In function `Stopwatch::stop()':

sketch/stopwatch.cpp:39: undefined reference to `millis'

collect2.exe: error: ld returned 1 exit status

exit status 1 Error compiling for board Sanguino 1284p.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Please let me know what you think. Thank you

Please post a link to where you downloaded the firmware from.

https://th3dstudiocom.sharepoint.com/:u:/g/EfBgicsrK8xPmnQfSTKsDDAB6HnYVr38KwXCp-Zh1R6jug?e=TW058z&download=1

Ugh. That is horrible how they threw in multiple copies of the Arduino IDE with the firmware, causing that nightmare 0.5 GB download. Then the pointlessly customized version of the outdated Arduino IDE just so they could slap their logo on software they didn't even contribute to!

Please provide your Configuration.h file.