summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-12-01 01:54:18 -0800
committerScott Shawcroft <scott@tannewt.org>2018-12-04 18:20:48 -0800
commit15c1fc873ce25a73920d6141d3e7f85e37d89514 (patch)
tree4f2cc411d6083cd488f9c4209e798eede00ee661 /supervisor
parentdbd3a77908343dd036ab1cd3b76b6fa4f9d85e8c (diff)
Add particle boards, fix cp32 and try to speed up atmel build
Diffstat (limited to 'supervisor')
-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 8d8574c47..6036c27df 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -335,6 +335,24 @@ typedef struct {
.single_status_byte = false, \
}
+// Settings for the Macronix MX25L1606 2MiB SPI flash.
+// Datasheet:
+#define MX25L1606 {\
+ .total_size = (1 << 21), /* 2 MiB */ \
+ .start_up_time_us = 5000, \
+ .manufacturer_id = 0xc2, \
+ .memory_type = 0x20, \
+ .capacity = 0x15, \
+ .max_clock_speed_mhz = 8, \
+ .quad_enable_bit_mask = 0x40, \
+ .has_sector_protection = false, \
+ .supports_fast_read = true, \
+ .supports_qspi = true, \
+ .supports_qspi_writes = true, \
+ .write_status_register_split = false, \
+ .single_status_byte = true, \
+}
+
// Settings for the Macronix MX25R6435F 8MiB SPI flash.
// Datasheet: http://www.macronix.com/Lists/Datasheet/Attachments/7428/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.4.pdf
// By default its in lower power mode which can only do 8mhz. In high power mode it can do 80mhz.