File tree Expand file tree Collapse file tree
supervisor/shared/external_flash Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -407,4 +407,21 @@ typedef struct {
407407 .write_status_register_split = false, \
408408}
409409
410+ // Settings for the Winbond W25Q32FV 4MiB SPI flash.
411+ // Datasheet:http://www.winbond.com/resource-files/w25q32fv%20revj%2006032016.pdf?__locale=en
412+ #define W25Q32FV {\
413+ .total_size = (1 << 22), /* 4 MiB */ \
414+ .start_up_time_us = 5000, \
415+ .manufacturer_id = 0xef, \
416+ .memory_type = 0x40, \
417+ .capacity = 0x16, \
418+ .max_clock_speed_mhz = 104, \
419+ .quad_enable_bit_mask = 0x00, \
420+ .has_sector_protection = false, \
421+ .supports_fast_read = true, \
422+ .supports_qspi = false, \
423+ .supports_qspi_writes = false, \
424+ .write_status_register_split = false, \
425+ .single_status_byte = false, \
426+ }
410427#endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H
You can’t perform that action at this time.
0 commit comments