Skip to content

Commit 15bae92

Browse files
authored
Idf release/v3.3 d8082b7f3
* Update IDF to d8082b7f3
1 parent 6f23cd5 commit 15bae92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+30
-14
lines changed

Diff for: libraries/ESPmDNS/src/ESPmDNS.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class MDNSResponder {
8484
void enableArduino(uint16_t port=3232, bool auth=false);
8585
void disableArduino();
8686

87-
void enableWorkstation(wifi_interface_t interface=ESP_IF_WIFI_STA);
87+
void enableWorkstation(wifi_interface_t interface=WIFI_IF_STA);
8888
void disableWorkstation();
8989

9090
IPAddress queryHost(char *host, uint32_t timeout=2000);

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls
3535

3636
compiler.c.elf.cmd=xtensa-esp32-elf-gcc
3737
compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception
38-
compiler.c.elf.libs=-lgcc -lesp32-camera -lpe -lfatfs -lesp-tls -lnet80211 -lsoc -lwpa_supplicant -lapp_update -ldetection -lmicro-ecc -lesp_adc_cal -ltcpip_adapter -lapp_trace -lwear_levelling -lcoap -lesp32 -lcore -lesp_ringbuf -llibsodium -lsmartconfig -lprotobuf-c -lxtensa-debug-module -limage_util -lnewlib -lunity -lm -lcoexist -lface_detection -ljson -lcxx -lesp_websocket_client -lwpa2 -ltcp_transport -lulp -lesp_event -lesp_http_server -lmqtt -lhal -lmbedtls -lfreertos -lwps -lnghttp -lface_recognition -lethernet -lbootloader_support -ldetection_cat_face -lespcoredump -lnvs_flash -lfr -lphy -lopenssl -ljsmn -lpp -llwip -lwifi_provisioning -llog -lespnow -lc_nano -lvfs -lesp_https_server -lmdns -lbtdm_app -lfreemodbus -lsmartconfig_ack -lfd -lasio -lfb_gfx -lsdmmc -lrtc -lpthread -lconsole -lmesh -lc -lesp_http_client -lspiffs -lprotocomm -lesp_https_ota -lwpa -ldriver -lbt -lspi_flash -lexpat -lheap -ldl -lefuse -lod -lstdc++
38+
compiler.c.elf.libs=-lgcc -lopenssl -lbtdm_app -lfatfs -lwps -lcoexist -lwear_levelling -lesp_http_client -lprotobuf-c -lhal -lnewlib -ldriver -lbootloader_support -lpp -lfreemodbus -lmesh -lsmartconfig -ljsmn -lwpa -lethernet -lphy -lapp_trace -lconsole -lulp -lwpa_supplicant -lfreertos -lbt -lmicro-ecc -lesp32-camera -lcxx -lxtensa-debug-module -ltcp_transport -lod -lmdns -ldetection -lvfs -lpe -lesp_websocket_client -lespcoredump -lesp_ringbuf -lsoc -lcore -lfb_gfx -lsdmmc -llibsodium -lcoap -ltcpip_adapter -lprotocomm -lesp_event -limage_util -lc_nano -lesp-tls -lasio -lrtc -lspi_flash -lwpa2 -lwifi_provisioning -lesp32 -lface_recognition -lapp_update -lnghttp -ldl -lspiffs -lface_detection -lefuse -lunity -lesp_https_server -lespnow -lnvs_flash -lesp_adc_cal -llog -ldetection_cat_face -lsmartconfig_ack -lexpat -lm -lfr -lmqtt -lc -lheap -lmbedtls -llwip -lnet80211 -lesp_http_server -lpthread -ljson -lesp_https_ota -lfd -lstdc++
3939

4040
compiler.as.cmd=xtensa-esp32-elf-as
4141

Diff for: tools/platformio-build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
],
172172

173173
LIBS=[
174-
"-lgcc", "-lesp32-camera", "-lpe", "-lfatfs", "-lesp-tls", "-lnet80211", "-lsoc", "-lwpa_supplicant", "-lapp_update", "-ldetection", "-lmicro-ecc", "-lesp_adc_cal", "-ltcpip_adapter", "-lapp_trace", "-lwear_levelling", "-lcoap", "-lesp32", "-lcore", "-lesp_ringbuf", "-llibsodium", "-lsmartconfig", "-lprotobuf-c", "-lxtensa-debug-module", "-limage_util", "-lnewlib", "-lunity", "-lm", "-lcoexist", "-lface_detection", "-ljson", "-lcxx", "-lesp_websocket_client", "-lwpa2", "-ltcp_transport", "-lulp", "-lesp_event", "-lesp_http_server", "-lmqtt", "-lhal", "-lmbedtls", "-lfreertos", "-lwps", "-lnghttp", "-lface_recognition", "-lethernet", "-lbootloader_support", "-ldetection_cat_face", "-lespcoredump", "-lnvs_flash", "-lfr", "-lphy", "-lopenssl", "-ljsmn", "-lpp", "-llwip", "-lwifi_provisioning", "-llog", "-lespnow", "-lc_nano", "-lvfs", "-lesp_https_server", "-lmdns", "-lbtdm_app", "-lfreemodbus", "-lsmartconfig_ack", "-lfd", "-lasio", "-lfb_gfx", "-lsdmmc", "-lrtc", "-lpthread", "-lconsole", "-lmesh", "-lc", "-lesp_http_client", "-lspiffs", "-lprotocomm", "-lesp_https_ota", "-lwpa", "-ldriver", "-lbt", "-lspi_flash", "-lexpat", "-lheap", "-ldl", "-lefuse", "-lod", "-lstdc++"
174+
"-lgcc", "-lopenssl", "-lbtdm_app", "-lfatfs", "-lwps", "-lcoexist", "-lwear_levelling", "-lesp_http_client", "-lprotobuf-c", "-lhal", "-lnewlib", "-ldriver", "-lbootloader_support", "-lpp", "-lfreemodbus", "-lmesh", "-lsmartconfig", "-ljsmn", "-lwpa", "-lethernet", "-lphy", "-lapp_trace", "-lconsole", "-lulp", "-lwpa_supplicant", "-lfreertos", "-lbt", "-lmicro-ecc", "-lesp32-camera", "-lcxx", "-lxtensa-debug-module", "-ltcp_transport", "-lod", "-lmdns", "-ldetection", "-lvfs", "-lpe", "-lesp_websocket_client", "-lespcoredump", "-lesp_ringbuf", "-lsoc", "-lcore", "-lfb_gfx", "-lsdmmc", "-llibsodium", "-lcoap", "-ltcpip_adapter", "-lprotocomm", "-lesp_event", "-limage_util", "-lc_nano", "-lesp-tls", "-lasio", "-lrtc", "-lspi_flash", "-lwpa2", "-lwifi_provisioning", "-lesp32", "-lface_recognition", "-lapp_update", "-lnghttp", "-ldl", "-lspiffs", "-lface_detection", "-lefuse", "-lunity", "-lesp_https_server", "-lespnow", "-lnvs_flash", "-lesp_adc_cal", "-llog", "-ldetection_cat_face", "-lsmartconfig_ack", "-lexpat", "-lm", "-lfr", "-lmqtt", "-lc", "-lheap", "-lmbedtls", "-llwip", "-lnet80211", "-lesp_http_server", "-lpthread", "-ljson", "-lesp_https_ota", "-lfd", "-lstdc++"
175175
],
176176

177177
LIBSOURCE_DIRS=[

Diff for: tools/sdk/bin/bootloader_dio_40m.bin

1.34 KB
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dio_80m.bin

-128 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dout_40m.bin

-144 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dout_80m.bin

-128 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qio_40m.bin

-1.59 KB
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qio_80m.bin

-144 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qout_40m.bin

-144 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qout_80m.bin

-144 Bytes
Binary file not shown.

Diff for: tools/sdk/include/bt/esp_bt.h

+6
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@ esp_err_t esp_bt_controller_disable(void);
331331
*/
332332
esp_bt_controller_status_t esp_bt_controller_get_status(void);
333333

334+
/**
335+
* @brief Get BT MAC address.
336+
* @return Array pointer of length 6 storing MAC address value.
337+
*/
338+
uint8_t* esp_bt_get_mac(void);
339+
334340
/** @brief esp_vhci_host_callback
335341
* used for vhci call host function to notify what host need to do
336342
*/

Diff for: tools/sdk/include/config/sdkconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,5 +396,5 @@
396396
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
397397
#define CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_ERROR 1
398398
#define CONFIG_FATFS_API_ENCODING_ANSI_OEM 1
399-
#define CONFIG_ARDUINO_IDF_COMMIT "7e63061fa"
399+
#define CONFIG_ARDUINO_IDF_COMMIT "d8082b7f3"
400400
#define CONFIG_ARDUINO_IDF_BRANCH "release/v3.3"

Diff for: tools/sdk/include/esp32/esp_phy_init.h

+7
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ esp_err_t esp_modem_sleep_deregister(modem_sleep_module_t module);
244244
* microsecond since boot when phy/rf was last switched on
245245
*/
246246
int64_t esp_phy_rf_get_on_ts(void);
247+
248+
/**
249+
* @brief Get PHY lib version
250+
* @return PHY lib version.
251+
*/
252+
char * get_phy_version_str(void);
253+
247254
#ifdef __cplusplus
248255
}
249256
#endif

Diff for: tools/sdk/include/esp32/esp_wifi.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ esp_err_t esp_wifi_scan_get_ap_records(uint16_t *number, wifi_ap_record_t *ap_re
442442
/**
443443
* @brief Get information of AP which the ESP32 station is associated with
444444
*
445+
* @attention When the obtained country information is empty, it means that the AP does not carry country information
446+
*
445447
* @param ap_info the wifi_ap_record_t to hold AP information
446448
* sta can get the connected ap's phy mode info through the struct member
447449
* phy_11b,phy_11g,phy_11n,phy_lr in the wifi_ap_record_t struct.
@@ -905,9 +907,9 @@ esp_err_t esp_wifi_set_vendor_ie_cb(esp_vendor_ie_cb_t cb, void *ctx);
905907
* @attention 1. Maximum power before wifi startup is limited by PHY init data bin.
906908
* @attention 2. The value set by this API will be mapped to the max_tx_power of the structure wifi_country_t variable.
907909
* @attention 3. Mapping Table {Power, max_tx_power} = {{8, 2}, {20, 5}, {28, 7}, {34, 8}, {44, 11},
908-
* {52, 13}, {56, 14}, {60, 15}, {66, 16}, {72, 18}, {78, 20}}.
909-
* @attention 4. Param power unit is 0.25dBm, range is [8, 78] corresponding to 2dBm - 20dBm.
910-
* @attention 5. Relationship between set value and actual value. As follows: {set value range, actual value} = {{[8, 19],8}, {[20, 27],20}, {[28, 33],28}, {[34, 43],34}, {[44, 51],44}, {[52, 55],52}, {[56, 59],56}, {[60, 65],60}, {[66, 71],66}, {[72, 77],72}, {78,78}}
910+
* {52, 13}, {56, 14}, {60, 15}, {66, 16}, {72, 18}, {80, 20}}.
911+
* @attention 4. Param power unit is 0.25dBm, range is [8, 84] corresponding to 2dBm - 20dBm.
912+
* @attention 5. Relationship between set value and actual value. As follows: {set value range, actual value} = {{[8, 19],8}, {[20, 27],20}, {[28, 33],28}, {[34, 43],34}, {[44, 51],44}, {[52, 55],52}, {[56, 59],56}, {[60, 65],60}, {[66, 71],66}, {[72, 79],72}, {[80, 84],80}}.
911913
*
912914
* @param power Maximum WiFi transmitting power.
913915
*

Diff for: tools/sdk/include/esp32/esp_wifi_types.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ typedef enum {
3333
WIFI_MODE_MAX
3434
} wifi_mode_t;
3535

36-
typedef esp_interface_t wifi_interface_t;
37-
38-
#define WIFI_IF_STA ESP_IF_WIFI_STA
39-
#define WIFI_IF_AP ESP_IF_WIFI_AP
36+
typedef enum {
37+
WIFI_IF_STA = ESP_IF_WIFI_STA,
38+
WIFI_IF_AP = ESP_IF_WIFI_AP,
39+
} wifi_interface_t;
4040

4141
typedef enum {
4242
WIFI_COUNTRY_POLICY_AUTO, /**< Country policy is auto, use the country info of AP to which the station is connected */
@@ -364,6 +364,7 @@ typedef enum {
364364
#define WIFI_PROMIS_FILTER_MASK_MISC (1<<3) /**< filter the packets with type of WIFI_PKT_MISC */
365365
#define WIFI_PROMIS_FILTER_MASK_DATA_MPDU (1<<4) /**< filter the MPDU which is a kind of WIFI_PKT_DATA */
366366
#define WIFI_PROMIS_FILTER_MASK_DATA_AMPDU (1<<5) /**< filter the AMPDU which is a kind of WIFI_PKT_DATA */
367+
#define WIFI_PROMIS_FILTER_MASK_FCSFAIL (1<<6) /**< filter the FCS failed packets, do not open it in general */
367368

368369
#define WIFI_PROMIS_CTRL_FILTER_MASK_ALL (0xFF800000) /**< filter all control packets */
369370
#define WIFI_PROMIS_CTRL_FILTER_MASK_WRAPPER (1<<23) /**< filter the control packets with subtype of Control Wrapper */

0 commit comments

Comments
 (0)