minor changes, added ALL required externals

This commit is contained in:
2021-03-14 15:20:44 +01:00
parent 3da4722748
commit 5e8ba82e6e
22 changed files with 1853 additions and 30 deletions

View File

@@ -17,19 +17,19 @@ SDK_BASE ?= /apps/esp/esp-open-sdk/sdk
# esptool.py path and port
ESPTOOL ?= esptool.py
ESPPORT ?= /dev/ttyUSB3
ESPPORT ?= /dev/ttyUSB0
# name for the target project
TARGET = app
# which modules (subdirectories) of the project to include in compiling
MODULES = driver user
EXTRA_INCDIR = include $(ROOT)/include/ $(ROOT)/driver_lib/include/ ../../MilesTag/src
EXTRA_INCDIR = include $(ROOT)/include/ $(ROOT)/driver_lib/include/ /apps/
# libraries used in this project, mainly provided by the SDK
#LIBS = c gcc hal pp phy net80211 lwip wpa wpa2 crypto main
#LIBS = c gcc pp phy net80211 lwip wpa main
LIBS = c gcc hal phy pp net80211 lwip wpa main wps crypto
LIBS = c gcc hal phy pp net80211 lwip wpa main wps crypto m
# compiler flags using during compilation of source files
#CFLAGS = -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH
@@ -40,8 +40,8 @@ CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=c++11
LDFLAGS = -nostdlib -Wl,--no-check-sections -Wl,--gc-sections -u call_user_start -Wl,-static
# linker script used for the above linkier step
#LD_SCRIPT = eagle.app.v6.ld
LD_SCRIPT = eagle.app.v6.modified.ld
LD_SCRIPT = eagle.app.v6.ld
#LD_SCRIPT = eagle.app.v6.modified.ld
#http://www.esp8266.com/viewtopic.php?f=9&t=478&start=8
# various paths from the SDK used in this project