Explorar o código

optiboot_xflash comment about w25x20cl messages

Mention supported ICs
Alex Voinea %!s(int64=3) %!d(string=hai) anos
pai
achega
6d25345fc4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Firmware/optiboot_xflash.cpp

+ 2 - 0
Firmware/optiboot_xflash.cpp

@@ -68,6 +68,8 @@ static void getNch(uint8_t count) {
 
 typedef uint16_t pagelen_t;
 
+//Thou shalt not change these messages, else the avrdude-slicer xflash implementation will no longer work and the language upload will fail.
+//Right now we support 2 xflash chips - the original w25x20cl and a new one GD25Q20C
 static const char entry_magic_send   [] PROGMEM = "start\n";
 static const char entry_magic_receive[] PROGMEM = "w25x20cl_enter\n";
 static const char entry_magic_cfm    [] PROGMEM = "w25x20cl_cfm\n";