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