From 0696dda3242a21f509e4acc86ca87a223bc937aa Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 19 Feb 2022 20:35:35 +0000 Subject: [PATCH] AP_FlashIface: add support for DTR variant of w25q found on SPRacingH7 --- libraries/AP_FlashIface/AP_FlashIface_JEDEC.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/AP_FlashIface/AP_FlashIface_JEDEC.cpp b/libraries/AP_FlashIface/AP_FlashIface_JEDEC.cpp index e7f3bb04e7..7447187928 100644 --- a/libraries/AP_FlashIface/AP_FlashIface_JEDEC.cpp +++ b/libraries/AP_FlashIface/AP_FlashIface_JEDEC.cpp @@ -39,8 +39,9 @@ struct supported_device { }; static const struct supported_device supported_devices[] = { - {"mt25q", 0x20, 0xBA}, // https://www.mouser.in/datasheet/2/671/mict_s_a0003959700_1-2290909.pdf - {"w25q", 0xEF, 0x40} + {"mt25q", 0x20, 0xBA}, // https://www.mouser.in/datasheet/2/671/mict_s_a0003959700_1-2290909.pdf + {"w25q", 0xEF, 0x40}, + {"w25q-dtr", 0xEF, 0x70} }; #ifdef HAL_BOOTLOADER_BUILD