From 02f62556469382b8329a1fd891c482e509766fbb Mon Sep 17 00:00:00 2001 From: solosky Date: Wed, 14 Feb 2024 20:52:35 +0800 Subject: [PATCH] fix build error --- fw/application/config/sdk_config.h | 2 +- fw/application/src/boards/board_neo.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fw/application/config/sdk_config.h b/fw/application/config/sdk_config.h index c12bacde..60629152 100644 --- a/fw/application/config/sdk_config.h +++ b/fw/application/config/sdk_config.h @@ -6117,7 +6117,7 @@ // SPI1_ENABLED - Enable SPI1 instance //========================================================== #ifndef SPI1_ENABLED -#define SPI1_ENABLED 0 +#define SPI1_ENABLED 1 #endif // SPI1_USE_EASY_DMA - Use EasyDMA diff --git a/fw/application/src/boards/board_neo.h b/fw/application/src/boards/board_neo.h index 00523bbe..d2e88694 100644 --- a/fw/application/src/boards/board_neo.h +++ b/fw/application/src/boards/board_neo.h @@ -104,6 +104,14 @@ #undef APP_LEGLAMIIBO_ENABLE #endif +// Make compiler happy +#define BSP_QSPI_SCK_PIN QSPI_SCK_PIN +#define BSP_QSPI_CSN_PIN QSPI_CS_PIN +#define BSP_QSPI_IO0_PIN QSPI_IO0_PIN +#define BSP_QSPI_IO1_PIN QSPI_IO1_PIN +#define BSP_QSPI_IO2_PIN QSPI_IO2_PIN +#define BSP_QSPI_IO3_PIN QSPI_IO3_PIN + #endif