mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
changes log
This commit is contained in:
parent
f17895db30
commit
1727d75d67
4 changed files with 180 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
#define JEDEC_ID_MACRONIX_MX25L6406E 0xC22017
|
||||
#define JEDEC_ID_MICRON_N25Q128 0x20ba18
|
||||
#define JEDEC_ID_WINBOND_W25Q128 0xEF4018
|
||||
#define JEDEC_ID_MACRONIX_MX25L25635E 0xC22019
|
||||
|
||||
#define DISABLE_M25P16 IOHi(m25p16CsPin)
|
||||
#define ENABLE_M25P16 IOLo(m25p16CsPin)
|
||||
|
@ -179,6 +180,10 @@ static bool m25p16_readIdentification()
|
|||
geometry.sectors = 256;
|
||||
geometry.pagesPerSector = 256;
|
||||
break;
|
||||
case JEDEC_ID_MACRONIX_MX25L25635E:
|
||||
geometry.sectors = 512;
|
||||
geometry.pagesPerSector = 256;
|
||||
break;
|
||||
default:
|
||||
// Unsupported chip or not an SPI NOR flash
|
||||
geometry.sectors = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue