diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-30 16:48:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-30 16:48:15 -0800 |
| commit | 68d524fc2a7747fbbde9a067404b180f4d9db9ed (patch) | |
| tree | c3259a3f9f7be1abfdb1eace26a792fc99d46f5e /supervisor | |
| parent | 765d877dfa829ef59cec0bb2980ecba3e3c3ae0f (diff) | |
| parent | b124071e10b1ddaadcc11aa9b3fd2dad07ee2cd1 (diff) | |
Merge pull request #1506 from sparkfun/master
All files for SparkFun LumiDrive and Redboard Turbo
Diffstat (limited to 'supervisor')
| -rw-r--r-- | supervisor/shared/external_flash/devices.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h index b535016a3..5b8f9b298 100644 --- a/supervisor/shared/external_flash/devices.h +++ b/supervisor/shared/external_flash/devices.h @@ -407,4 +407,21 @@ typedef struct { .write_status_register_split = false, \ } +// Settings for the Winbond W25Q32FV 4MiB SPI flash. +// Datasheet:http://www.winbond.com/resource-files/w25q32fv%20revj%2006032016.pdf?__locale=en +#define W25Q32FV {\ + .total_size = (1 << 22), /* 4 MiB */ \ + .start_up_time_us = 5000, \ + .manufacturer_id = 0xef, \ + .memory_type = 0x40, \ + .capacity = 0x16, \ + .max_clock_speed_mhz = 104, \ + .quad_enable_bit_mask = 0x00, \ + .has_sector_protection = false, \ + .supports_fast_read = true, \ + .supports_qspi = false, \ + .supports_qspi_writes = false, \ + .write_status_register_split = false, \ + .single_status_byte = false, \ +} #endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H |
