-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Espressif make and cmake for ESP8266 and ESP32 series
- Loading branch information
Showing
56 changed files
with
1,069 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# This is a project Makefile. It is assumed the directory this Makefile resides in is a | ||
# project subdirectory. | ||
# | ||
|
||
CFLAGS += -DWOLFSSL_USER_SETTINGS | ||
|
||
# Some of the tests are CPU intenstive, so we'll force the watchdog timer off. | ||
# There's an espressif NO_WATCHDOG; we don't use it, as it is reset by sdkconfig. | ||
CFLAGS += -DWOLFSSL_ESP_NO_WATCHDOG=1 | ||
|
||
PROJECT_NAME := wolfssl_template | ||
|
||
include $(IDF_PATH)/make/project.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Main component makefile. | ||
# | ||
# This Makefile can be left empty. By default, it will take the sources in the | ||
# src/ directory, compile them and link them into lib(subdirectory_name).a | ||
# in the build directory. This behavior is entirely configurable, | ||
# please read the ESP-IDF documents if you need to do this. | ||
# | ||
# (Uses default behavior of compiling all source files in directory, adding 'include' to include path.) | ||
|
||
# We'll add the explicit lines only for old SDK requirements (e.h. ESP8266) | ||
|
||
ifeq ("$(VISUALGDB_DIR)","") | ||
$(info VISUALGDB_DIR build not detected. shell: $(shell echo $$SHELL) ) | ||
else | ||
$(info Detected VisualGDB in: $(VISUALGDB_DIR) shell: $(shell echo $$SHELL) ) | ||
COMPONENT_SRCDIRS := . | ||
COMPONENT_ADD_INCLUDEDIRS := . | ||
COMPONENT_ADD_INCLUDEDIRS += include | ||
|
||
# Ensure main.c gets compiled | ||
COMPONENT_OBJS := main.o | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.