summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2019-10-14 19:47:46 -0700
committerGitHub <noreply@github.com>2019-10-14 19:47:46 -0700
commit1a7c787d3ca769cb8505498cb362f6b29b978ad0 (patch)
tree7b9c423dbeaa3830fc97e4dc5d55813c2552b6d0 /supervisor/shared
parent2b9bb78d3e9f489bc08538dd12fb58cfe62918fd (diff)
parent756e4a41da27a7683fe93b5ee6dc6445cdea3985 (diff)
Merge branch 'master' into master
Diffstat (limited to 'supervisor/shared')
-rw-r--r--supervisor/shared/external_flash/devices.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h
index 21d53b5fd..05091ad8c 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -462,4 +462,22 @@ typedef struct {
.write_status_register_split = false, \
.single_status_byte = false, \
}
+
+// Settings for the ISSI IS25LP128F 16MiB SPI flash.
+// Datasheet: http://www.issi.com/WW/pdf/25LP-WP128F.pdf
+#define IS25LP128F {\
+ .total_size = (1 << 24), /* 16 MiB */ \
+ .start_up_time_us = 10000, \
+ .manufacturer_id = 0x9d, \
+ .memory_type = 0x60, \
+ .capacity = 0x18, \
+ .max_clock_speed_mhz = 133, \
+ .quad_enable_bit_mask = 0x02, \
+ .has_sector_protection = true, \
+ .supports_fast_read = true, \
+ .supports_qspi = true, \
+ .supports_qspi_writes = true, \
+ .write_status_register_split = false, \
+ .single_status_byte = true, \
+}
#endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H