From 6d25345fc4a60f2ec0232be0144539ebe54efdf2 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Fri, 28 May 2021 10:09:30 +0300 Subject: [PATCH] optiboot_xflash comment about w25x20cl messages Mention supported ICs --- Firmware/optiboot_xflash.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/optiboot_xflash.cpp b/Firmware/optiboot_xflash.cpp index fb1f80753..9e1cfc7b6 100644 --- a/Firmware/optiboot_xflash.cpp +++ b/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";