summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-10-14 22:45:48 -0400
committerDan Halbert <halbert@halwitz.org>2019-10-14 22:45:48 -0400
commit79cea72e29a987dc1d5450d6a2dbeeb4facd8f18 (patch)
tree2a6b61045d16eb679cec9ecd5eb8d8ca16896895 /supervisor/shared
parent615ec7f74d6f2a953de01b83979393af60aee804 (diff)
parent756e4a41da27a7683fe93b5ee6dc6445cdea3985 (diff)
Merge remote-tracking branch 'adafruit/master' into remove-unused-ports
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 4de22719a..2e9dfabf5 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -443,4 +443,22 @@ typedef struct {
.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