-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DISABLE_NETWORK and SDK_CUSTOM_CONFIG settings #2362
Conversation
This allows DISABLE_WIFI to be used in conjunction with ethernet.
Project is created from a single default Settings are assembled from multiple files
344f694
to
db401ee
Compare
db401ee
to
eed0271
Compare
Something else the esp32 builder doesn't do is rebuild the SDK components for debug/release automatically... That is, there needs to be a reconfigure step - though that would discard any customisations made via Can't see a simple way to get the IDF to use a different |
.PHONY: sdk-defconfig | ||
sdk-defconfig: $(SDKCONFIG_H) ##Create default SDK config files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think we need this, happens automatically.
##@SDK | ||
|
||
SDK_PROJECT_PATH := $(COMPONENT_PATH)/project.$(ESP_VARIANT) | ||
SDK_PROJECT_PATH := $(COMPONENT_PATH)/project/$(ESP_VARIANT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding /$(BUILD_TYPE)
to the end of this path fixes the issue switching between debug/release builds. We get a separate project instance for each.
This PR adds the `DISABLE_NETWORK` setting to explicitly remove network support. When enabled, if performs much like `DISABLE_WIFI` except it now works for ESP32 as well. The behaviour of `DISABLE_WIFI` is now more logical, and can be used with ethernet. The ESP32 build process has been improved. PR #2358 added a separate project for each `ESP_VARIANT`. This is now created dynamically from a template along with the default configuration. The `SDK_CUSTOM_CONFIG` build variable has been added so ESP32 SDK settings may be configured on a per-project basis, if necessary.
This PR adds the
DISABLE_NETWORK
setting to explicitly remove network support. When enabled, if performs much likeDISABLE_WIFI
except it now works for ESP32 as well. The behaviour ofDISABLE_WIFI
is now more logical, and can be used with ethernet.The ESP32 build process has been improved. PR #2358 added a separate project for each
ESP_VARIANT
. This is now created dynamically from a template along with the default configuration.The
SDK_CUSTOM_CONFIG
build variable has been added so ESP32 SDK settings may be configured on a per-project basis, if necessary.