From 31466b8a008cb7b383a4e74da083dbf1093078f9 Mon Sep 17 00:00:00 2001 From: somethingjustlike <88530537+somethingjustlike@users.noreply.github.com> Date: Wed, 8 Jul 2026 18:26:17 +0800 Subject: [PATCH] Update flash_w25n.c Add giantec nor flash id --- src/main/drivers/flash_w25n.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/drivers/flash_w25n.c b/src/main/drivers/flash_w25n.c index 8eef2e6944f..e1e6bd2579a 100644 --- a/src/main/drivers/flash_w25n.c +++ b/src/main/drivers/flash_w25n.c @@ -128,6 +128,8 @@ #define JEDEC_ID_WINBOND_W25N01GV 0xEFAA21 #define JEDEC_ID_WINBOND_W25N02KV 0xEFAA22 #define JEDEC_ID_MACRONIX_MX35LF2G 0xC22603 +#define JEDEC_ID_Giantec_GT25Q64EZ 0x1C7117 +#define JEDEC_ID_Giantec_GT25Q128EZ 0x1C7118 static busDevice_t *busDev = NULL; static flashGeometry_t geometry; @@ -563,4 +565,4 @@ bool w25n_init(int flashNumToUse) return w25n_detect(chipID); } -#endif \ No newline at end of file +#endif