missed a debug flag

This commit is contained in:
Max Holliday 2020-04-07 18:24:53 -07:00
parent 826837186c
commit a53a26be70
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ include $(TOP)/supervisor/supervisor.mk
# Include make rules and variables common across CircuitPython builds. # Include make rules and variables common across CircuitPython builds.
include $(TOP)/py/circuitpy_defns.mk include $(TOP)/py/circuitpy_defns.mk
CROSS_COMPILE = arm-none-eabi- CROSS_COMPILE = ~/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-
HAL_DIR=hal/$(MCU_SERIES) HAL_DIR=hal/$(MCU_SERIES)

View File

@ -177,7 +177,7 @@ bool spi_flash_read_data(uint32_t address, uint8_t* data, uint32_t length) {
uint32_t mode = QSPI_INSTRFRAME_WIDTH_QUAD_OUTPUT; uint32_t mode = QSPI_INSTRFRAME_WIDTH_QUAD_OUTPUT;
#endif #endif
#ifdef IS_MRAM #ifdef EXTERNAL_FLASH_QSPI_SINGLE
QSPI->INSTRFRAME.reg = mode | QSPI->INSTRFRAME.reg = mode |
QSPI_INSTRFRAME_ADDRLEN_24BITS | QSPI_INSTRFRAME_ADDRLEN_24BITS |
QSPI_INSTRFRAME_TFRTYPE_READMEMORY | QSPI_INSTRFRAME_TFRTYPE_READMEMORY |