add ESP-IDF project with Spider Runtime for ESP32
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
CC := xtensa-esp-elf-g++
|
||||
TARGET := spider_esp32.elf
|
||||
SRCDIR := ../../src
|
||||
SRCDIR := ../../spider-runtime/src
|
||||
BUILDDIR := bin
|
||||
TARGETDIR := out
|
||||
SRCEXT := cpp
|
||||
@@ -16,7 +16,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 $(ESP_FLAGS)
|
||||
LFLAGS := -Wl,--gc-sections -mlongcalls
|
||||
INC := -I../../src/
|
||||
INC := -I../../spider-runtime/src/
|
||||
|
||||
# Exclude desktop-only modules
|
||||
EXCLUDE := $(SRCDIR)/spider/runtime/util/Terminal.cpp \
|
||||
|
||||
Reference in New Issue
Block a user