Fixing various build errors. Activated minimal build

This commit is contained in:
2026-03-03 00:36:01 -05:00
parent 59364ac22d
commit 3428808f83
3 changed files with 6 additions and 2 deletions

View File

@@ -3,4 +3,5 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
include($ENV{IDF_PATH}/tools/cmake/project.cmake) include($ENV{IDF_PATH}/tools/cmake/project.cmake)
idf_build_set_property(MINIMAL_BUILD ON)
project(Provider) project(Provider)

View File

@@ -1,5 +1,9 @@
idf_component_register(SRCS "main.cpp" idf_component_register(SRCS "main.cpp"
INCLUDE_DIRS ".") # Needed as we use minimal build
PRIV_REQUIRES esp_http_server esp_eth
esp_wifi nvs_flash esp_netif vfs
json app_update esp_timer
INCLUDE_DIRS ".")
if(CONFIG_CALENDINK_DEPLOY_WEB_PAGES) if(CONFIG_CALENDINK_DEPLOY_WEB_PAGES)
set(WEB_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../frontend") set(WEB_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../frontend")

View File

@@ -2,7 +2,6 @@
#include <stdio.h> #include <stdio.h>
// SDK // SDK
#include "driver/gpio.h"
#include "esp_log.h" #include "esp_log.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/task.h" #include "freertos/task.h"