diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2025-12-04 00:19:06 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2025-12-04 00:19:06 -0700 |
| commit | 717506bcd31fbf7093876297cca9cfea0bc4dc08 (patch) | |
| tree | a40dcf732e3d906fb5dad19d52b2eef00501c717 | |
| parent | 10a5077234e9b76dc100b9029a9e2d71801e7242 (diff) | |
| download | esp32-ws2812b-717506bcd31fbf7093876297cca9cfea0bc4dc08.tar.gz esp32-ws2812b-717506bcd31fbf7093876297cca9cfea0bc4dc08.tar.bz2 esp32-ws2812b-717506bcd31fbf7093876297cca9cfea0bc4dc08.zip | |
Got it to build again.
| -rw-r--r-- | main/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | main/drv/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | main/main.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 5bc9356..8445ad7 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -5,4 +5,5 @@ idf_component_register(SRCS "tcp_server.c" "sockbuf.c" "http_server.c" - INCLUDE_DIRS "../include") + INCLUDE_DIRS "../include" + REQUIRES esp_driver_spi spi_flash esp_http_server esp_wifi nvs_flash) diff --git a/main/drv/CMakeLists.txt b/main/drv/CMakeLists.txt index 3d9018f..79db121 100644 --- a/main/drv/CMakeLists.txt +++ b/main/drv/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRCS "ws2812b.c" - REQUIRES driver + REQUIRES driver spi_flash esp_driver_spi INCLUDE_DIRS "../../include") diff --git a/main/main.c b/main/main.c index 3b8c284..da6d2bf 100644 --- a/main/main.c +++ b/main/main.c @@ -1,6 +1,6 @@ #include "driver/spi_master.h" #include "drv/ws2812b.h" -#include "esp_spi_flash.h" +#include "esp_flash_spi_init.h" #include "esp_system.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" |