summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2020-02-25 14:13:47 -0600
committerGitHub <noreply@github.com>2020-02-25 14:13:47 -0600
commit415cb351c7b5dcb96633c78ea15efcc4e27d498a (patch)
tree995b16712f51f982507c8baa96a9df4299052c1e /supervisor
parent7037ebe0ecdbaedd108d284fb44492d56f2d0c50 (diff)
parentf20255813f56a17b8a83663173577a17fade5e45 (diff)
Merge pull request #2655 from jepler/thing51
samd51 thing plus: new port
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/external_flash/devices.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h
index 55a52b40d..50263e5d6 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -105,6 +105,25 @@ typedef struct {
.single_status_byte = false, \
}
+// Settings for the Adesto Tech AT25SF041 1MiB SPI flash. It's on the SparkFun
+// SAMD51 Thing Plus board
+// Datasheet: https://www.adestotech.com/wp-content/uploads/DS-AT25SF041_044.pdf
+#define AT25SF041A {\
+ .total_size = (1 << 19), /* 512 KiB */ \
+ .start_up_time_us = 10000, \
+ .manufacturer_id = 0x1f, \
+ .memory_type = 0x84, \
+ .capacity = 0x01, \
+ .max_clock_speed_mhz = 85, \
+ .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, \
+}
+
// Settings for the Gigadevice GD25Q16C 2MiB SPI flash.
// Datasheet: http://www.gigadevice.com/datasheet/gd25q16c/
#define GD25Q16C {\