Skip to content

Commit 7377375

Browse files
authored
Merge pull request #5506 from maholli/nvm-toml-fix
NVM toml fix (MRAM)
2 parents 644272e + adbff05 commit 7377375

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ports/atmel-samd/supervisor/qspi_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ void spi_flash_init(void) {
243243

244244
// The QSPI is only connected to one set of pins in the SAMD51 so we can hard code it.
245245
#ifdef EXTERNAL_FLASH_QSPI_SINGLE
246-
uint32_t pins[] = {PIN_PA08, PIN_PB10, PIN_PB11};
246+
uint32_t pins[] = {PIN_PA08, PIN_PA09, PIN_PA10, PIN_PA11, PIN_PB10, PIN_PB11};
247247
#elif defined(EXTERNAL_FLASH_QSPI_DUAL)
248248
uint32_t pins[] = {PIN_PA08, PIN_PA09, PIN_PB10, PIN_PB11};
249249
#else

supervisor/shared/external_flash/devices.h.jinja

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
.supports_qspi_writes = {{ device["32_qspi_write"] | lower() }}, \
4242
.write_status_register_split = {{ device.write_status_register_split | lower() }}, \
4343
.single_status_byte = {{ (device.quad_enable_status_byte == 1) | lower() }}, \
44+
.no_ready_bit = {{ (device.no_ready_bit == 1) | lower() }}, \
45+
.no_erase_cmd = {{ (device.no_erase_cmd == 1) | lower() }}, \
46+
.no_reset_cmd = {{ (device.no_reset_cmd == 1) | lower() }}, \
4447
}
4548
{% endfor %}
4649

0 commit comments

Comments
 (0)