Chapter 2. API Reference
CONFIG_OTA_ALLOW_HTTP
Allow HTTP for OTA (WARNING: ONLY FOR TESTING PURPOSE, READ HELP)
Found in:
Component config
It is highly recommended to keep HTTPS (along with server certificate validation) enabled. Enabling this
option comes with potential risk of: - Non-encrypted communication channel with server - Accepting
firmware upgrade image from server with fake identity
Default value:
• No (disabled)
ESP HTTPS server
Contains:
•
CONFIG_ESP_HTTPS_SERVER_ENABLE
CONFIG_ESP_HTTPS_SERVER_ENABLE
Enable ESP_HTTPS_SERVER component
Found in:
Component config
Enable ESP HTTPS server component
Hardware Settings
Contains:
•
MAC Config
•
Sleep Config
MAC Config
Contains:
•
CONFIG_ESP32S2_UNIVERSAL_MAC_ADDRESSES
CONFIG_ESP32S2_UNIVERSAL_MAC_ADDRESSES
Number of universally administered (by IEEE) MAC address
Found in:
Component config
Configure the number of universally administered (by IEEE) MAC addresses. During initialization,
MAC addresses for each network interface are generated or derived from a single base MAC address.
If the number of universal MAC addresses is Two, all interfaces (WiFi station, WiFi softap) receive a
universally administered MAC address. They are generated sequentially by adding 0, and 1 (respectively)
to the final octet of the base MAC address. If the number of universal MAC addresses is one, only WiFi
station receives a universally administered MAC address. It's generated by adding 0 to the base MAC
address. The WiFi softap receives local MAC addresses. It's derived from the universal WiFi station
MAC addresses. When using the default (Espressif-assigned) base MAC address, either setting can
be used. When using a custom universal MAC address range, the correct setting will depend on the
allocation of MAC addresses in this range (either 1 or 2 per device.)
Available options:
• One (ESP32S2_UNIVERSAL_MAC_ADDRESSES_ONE)
• Two (ESP32S2_UNIVERSAL_MAC_ADDRESSES_TWO)
Sleep Config
Contains:
•
CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND
•
CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND
•
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH
•
CONFIG_ESP_SLEEP_PSRAM_LEAKAGE_WORKAROUND
Espressif Systems
>
ESP HTTPS OTA
>
ESP HTTPS server
>
Hardware Settings
>
MAC Config
1112
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?