From 076bf2e3838f6bd5bf7507edd748a1ab5291feb0 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 15 Sep 2026 16:58:26 +0800 Subject: [PATCH] =?UTF-8?q?w25qxx=E7=A7=BB=E6=A4=8D=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakePresets.json | 2 ++ Core/Src/main.c | 2 ++ robot | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 383d373..7627fdc 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -44,10 +44,12 @@ "BUILD_MOTOR": "ON", "BUILD_CONTROLLER": "ON", "BUILD_PAINT_ROBOT_NEW": "ON", + "BUILD_LITTLEFS": "ON", "USE_LUA_ST": true, "USE_TALNET": true, "USE_LWIP": true, "USE_PRINT": true, + "USE_W25QXX": true, "PRINT_ID": "3", "USE_FREERTOS": true, "RD_VERSION": "paint_robot_new v1.4" diff --git a/Core/Src/main.c b/Core/Src/main.c index 5523f39..c40682e 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -130,6 +130,8 @@ int main(void) MX_ADC2_Init(); /* USER CODE BEGIN 2 */ #ifdef MEM_POOL_TOTAL_SIZE + void W25QXX_Init(void); + W25QXX_Init(); RD_INIT(); #ifdef USE_PRINT Myprint_Init(); diff --git a/robot b/robot index b936248..44f822e 160000 --- a/robot +++ b/robot @@ -1 +1 @@ -Subproject commit b936248287430b43048ec808b6574cc95a7d593a +Subproject commit 44f822e2c19561623ba0ff6b5b4027c773707d71