Permalink
Browse files

Add SD Firmware Update capability (#12043)

Co-Authored-By: timoxd7 <timoxd7@users.noreply.github.com>
  • Loading branch information...
thinkyhead and timoxd7 committed Oct 10, 2018
1 parent 0bd5439 commit cf5284cdf25f759ce1b64c87480b2cd47dfb1916
Showing with 974 additions and 2 deletions.
  1. +16 −0 Marlin/Configuration_adv.h
  2. +16 −0 Marlin/src/config/default/Configuration_adv.h
  3. +16 −0 Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. +16 −0 Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. +16 −0 Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. +16 −0 Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. +16 −0 Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. +16 −0 Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  9. +16 −0 Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  10. +16 −0 Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  11. +16 −0 Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  12. +16 −0 Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  13. +16 −0 Marlin/src/config/examples/Cartesio/Configuration_adv.h
  14. +16 −0 Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  15. +16 −0 Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  16. +16 −0 Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  17. +16 −0 Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  18. +16 −0 Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  19. +16 −0 Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  20. +16 −0 Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  21. +16 −0 Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  22. +16 −0 Marlin/src/config/examples/Felix/Configuration_adv.h
  23. +16 −0 Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  24. +16 −0 Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  25. +16 −0 Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  26. +16 −0 Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  27. +16 −0 Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  28. +16 −0 Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  29. +16 −0 Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  30. +16 −0 Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  31. +16 −0 Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  32. +16 −0 Marlin/src/config/examples/MakerParts/Configuration_adv.h
  33. +16 −0 Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  34. +16 −0 Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  35. +16 −0 Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  36. +16 −0 Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  37. +16 −0 Marlin/src/config/examples/RigidBot/Configuration_adv.h
  38. +16 −0 Marlin/src/config/examples/SCARA/Configuration_adv.h
  39. +16 −0 Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  40. +16 −0 Marlin/src/config/examples/TheBorg/Configuration_adv.h
  41. +16 −0 Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  42. +16 −0 Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  43. +16 −0 Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  44. +16 −0 Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  45. +16 −0 Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  46. +16 −0 Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  47. +16 −0 Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  48. +16 −0 Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  49. +16 −0 Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  50. +16 −0 Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  51. +16 −0 Marlin/src/config/examples/delta/generic/Configuration_adv.h
  52. +16 −0 Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  53. +16 −0 Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  54. +16 −0 Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  55. +16 −0 Marlin/src/config/examples/makibox/Configuration_adv.h
  56. +16 −0 Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  57. +16 −0 Marlin/src/config/examples/wt150/Configuration_adv.h
  58. +4 −0 Marlin/src/inc/SanityCheck.h
  59. +2 −0 Marlin/src/lcd/language/language_de.h
  60. +6 −0 Marlin/src/lcd/language/language_en.h
  61. +17 −0 Marlin/src/lcd/ultralcd.cpp
  62. +26 −0 Marlin/src/module/configuration_store.cpp
  63. +5 −0 Marlin/src/module/configuration_store.h
  64. +2 −2 buildroot/share/tests/megaatmega2560_tests
View
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -709,6 +709,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
Oops, something went wrong.

0 comments on commit cf5284c

Please sign in to comment.