Squashed commit of the following:

commit e8b53dc953
Author: Patedam <pgillen.pro@gmail.com>
Date:   Tue Mar 3 01:15:17 2026 -0500

    Updated backend to make sure it works properly with frontend. Fixed one frontend issue (free heap was not correctly named)

commit 3428808f83
Author: Patedam <pgillen.pro@gmail.com>
Date:   Tue Mar 3 00:36:01 2026 -0500

    Fixing various build errors. Activated minimal build

commit 59364ac22d
Author: Patedam <pgillen.pro@gmail.com>
Date:   Tue Mar 3 00:03:24 2026 -0500

    Added info and reboot api into the backend. Created the basics for a backend server.

commit 37291557eb
Author: Patedam <pgillen.pro@gmail.com>
Date:   Mon Mar 2 23:05:10 2026 -0500

    feat: Add API endpoints for system reboot and retrieving system information.

commit a010b0c352
Author: Patedam <pgillen.pro@gmail.com>
Date:   Mon Mar 2 22:56:13 2026 -0500

    Added AgentTasks into git ignore we will use it to store current tasks so we can createnew contexts chat when its too big

commit 75bab78137
Author: Patedam <pgillen.pro@gmail.com>
Date:   Mon Mar 2 22:42:29 2026 -0500

    feat: Initialize ESP-IDF project with core build configuration, component dependencies, and web frontend deployment.

commit bba4c63f93
Author: Patedam <pgillen.pro@gmail.com>
Date:   Mon Mar 2 22:21:52 2026 -0500

    docs: Add backend architecture documentation for the ESP32-S3 provider.
This commit is contained in:
2026-03-03 01:17:31 -05:00
parent a078977572
commit 2916ad9c99
16 changed files with 571 additions and 26 deletions

View File

@@ -1,2 +1,15 @@
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)
set(WEB_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../frontend")
if(EXISTS ${WEB_SRC_DIR}/dist)
littlefs_create_partition_image(www ${WEB_SRC_DIR}/dist FLASH_IN_PROJECT)
else()
message(FATAL_ERROR "'${WEB_SRC_DIR}/dist' doesn't exist. Run 'npm run build' in frontend/ first.")
endif()
endif()