Merge pull request #5506 from maholli/nvm-toml-fix

NVM toml fix (MRAM)
This commit is contained in:
Dan Halbert 2021-10-25 16:50:43 -04:00 committed by GitHub
commit 7377375e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -41,6 +41,9 @@
.supports_qspi_writes = {{ device["32_qspi_write"] | lower() }}, \
.write_status_register_split = {{ device.write_status_register_split | lower() }}, \
.single_status_byte = {{ (device.quad_enable_status_byte == 1) | lower() }}, \
.no_ready_bit = {{ (device.no_ready_bit == 1) | lower() }}, \
.no_erase_cmd = {{ (device.no_erase_cmd == 1) | lower() }}, \
.no_reset_cmd = {{ (device.no_reset_cmd == 1) | lower() }}, \
}
{% endfor %}