mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Logger: add W25Q128 variant
This commit is contained in:
parent
14a3e8b20c
commit
ccbe62589e
@ -53,6 +53,7 @@ extern const AP_HAL::HAL& hal;
|
||||
#define JEDEC_ID_WINBOND_W25Q64 0xEF4017
|
||||
#define JEDEC_ID_WINBOND_W25Q128 0xEF4018
|
||||
#define JEDEC_ID_WINBOND_W25Q256 0xEF4019
|
||||
#define JEDEC_ID_WINBOND_W25Q128_2 0xEF7018
|
||||
#define JEDEC_ID_CYPRESS_S25FL128L 0x016018
|
||||
|
||||
void AP_Logger_DataFlash::Init()
|
||||
@ -138,6 +139,7 @@ bool AP_Logger_DataFlash::getSectorCount(void)
|
||||
break;
|
||||
case JEDEC_ID_MICRON_N25Q128:
|
||||
case JEDEC_ID_WINBOND_W25Q128:
|
||||
case JEDEC_ID_WINBOND_W25Q128_2:
|
||||
case JEDEC_ID_CYPRESS_S25FL128L:
|
||||
blocks = 256;
|
||||
df_PagePerBlock = 256;
|
||||
|
Loading…
Reference in New Issue
Block a user