acassis commented on code in PR #7691: URL: https://github.com/apache/incubator-nuttx/pull/7691#discussion_r1031848011
########## drivers/mtd/gd25.c: ########## @@ -107,6 +107,7 @@ #define GD25_SR_WIP (1 << 0) /* Bit 0: Write in Progress */ #define GD25_SR_WEL (1 << 1) /* Bit 1: Write Enable Latch */ #define GD25_SR1_EN4B (1 << 3) /* Bit 3: Enable 4byte address */ +#define GD25Q_SR1_EN4B (1 << 0) /* Bit 0: Enable 4byte address GD25Q memories */ Review Comment: It is not correct for all GD25Q devices GD25Q32 has WIP as bit 0: https://www.elm-tech.com/en/products/spi-flash-memory/gd25q32/gd25q32.pdf -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org