add ESP-IDF project with Spider Runtime for ESP32

This commit is contained in:
2026-04-08 15:23:49 -06:00
parent 670b445ac6
commit 76225c7392
10 changed files with 2413 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ content = f"""# ========================================================== #
CC := xtensa-esp-elf-g++
TARGET := spider_esp32.elf
SRCDIR := ../../src
SRCDIR := ../../spider-runtime/src
BUILDDIR := bin
TARGETDIR := out
SRCEXT := cpp
@@ -19,7 +19,7 @@ ESP_FLAGS := -DESP32 -DSPIDER_DISTRO_MICRO -DSPIDER_OS_NONE -mlongcalls -ffunc
# -O0: no optimizations, faster compilation during development
CFLAGS := -Wall -std=c++20 -O0 -DSPIDER_COMPILING {dollar}(ESP_FLAGS)
LFLAGS := -Wl,--gc-sections -mlongcalls
INC := -I../../src/
INC := -I../../spider-runtime/src/
# Exclude desktop-only modules
EXCLUDE := {dollar}(SRCDIR)/spider/runtime/util/Terminal.cpp \\