1329b19fe4
versions: Update version to 4.4.1
2022-04-16 09:43:14 +08:00
9b75e5664e
Merge branch 'bugfix/iperf_performance_v4.4' into 'release/v4.4'
...
Bugfix/iperf performance (v4.4)
See merge request espressif/esp-idf!17600
2022-04-15 15:52:13 +08:00
82f5cc3402
Merge branch 'bugfix/gdbgui_deps_4.4' into 'release/v4.4'
...
Tools: Fix incompatible package dependencies of gdbgui
See merge request espressif/esp-idf!17742
2022-04-15 15:07:05 +08:00
fdb756b8f9
Merge branch 'bugfix/fix_phy_i2c_crash_v4.4' into 'release/v4.4'
...
esp_phy: Add IRAM_ATTR for phy i2c spinlock (backport v4.4)
See merge request espressif/esp-idf!17757
2022-04-14 18:26:35 +08:00
ea1a9f9e3a
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:15:38 +08:00
734c6f8998
Tools: Fix incompatible package dependencies of gdbgui
...
Closes https://github.com/espressif/esp-idf/issues/8760
2022-04-12 08:59:30 +02:00
d58b394dc5
Merge branch 'bugfix/fix_i2c_critical_and_iram_funcations_v4.4' into 'release/v4.4'
...
Update esp c3/s3 phy lib (dcbe608)
See merge request espressif/esp-idf!17714
2022-04-11 15:02:15 +08:00
b37df7e3df
Update esp c3/s3 phy lib (dcbe608)
2022-04-08 16:42:50 +08:00
b436132f9f
Merge branch 'bugfix/phy_regi2c_critical_section_v4.4' into 'release/v4.4'
...
esp_phy: use spinlock to avoid regi2c access conflicts (v4.4)
See merge request espressif/esp-idf!17691
2022-04-07 19:23:51 +08:00
2dff50c3e2
Eth iperf default sdkconfig: Enable lwIP IRAM optimization
2022-04-06 10:44:31 +00:00
4d581456e4
Added bandwidth limitaion option to iperf test scripts
2022-04-06 10:44:31 +00:00
3f7cf8a540
iperf: added Tx bandwidth limit option
2022-04-06 10:44:31 +00:00
ba62cbc04f
Fixed Ethernet lwIP netif error indication
2022-04-06 10:44:31 +00:00
d378ca2b78
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 12:18:23 +08:00
8522bb1178
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-06 09:34:43 +08:00
f5ee7093b8
Merge branch 'test/disable_touch_sleep_testcase_v4.4' into 'release/v4.4'
...
touch: add protection for touch sleep case (v4.4)
See merge request espressif/esp-idf!17611
2022-03-30 15:24:15 +08:00
472cbbe73b
Merge branch 'bugfix/disable_touch_sleep_s3_v4.4' into 'release/v4.4'
...
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3 (v4.4)
See merge request espressif/esp-idf!17579
2022-03-28 11:27:51 +08:00
b6c2c80e44
touch: add protection for touch sleep case
2022-03-27 02:44:47 +08:00
3503ee41ca
sleep: fixed the issue error log not printed
2022-03-25 14:50:26 +08:00
ea27a8543a
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
...
This is not supported yet.
2022-03-25 14:50:26 +08:00
c29343eb94
Merge branch 'feature/update_esptool_v4.4' into 'release/v4.4'
...
esptool: Update esptool submodule (v4.4)
See merge request espressif/esp-idf!17454
2022-03-11 16:00:22 +08:00
353abc5702
esptool: Update esptool submodule
2022-03-11 06:39:30 +00:00
45dcc4384c
Merge branch 'feature/emac_start_stop_test_v4.4' into 'release/v4.4'
...
test_emac: extended Ethernet start/stop stress test (v4.4)
See merge request espressif/esp-idf!17306
2022-03-11 10:38:40 +08:00
11ae0ed007
increased parallel count of UT_T1_1 test
2022-03-10 15:59:07 +01:00
7a2068c864
Merge branch 'feature/update_hfp_hf_version_v4.4' into 'release/v4.4'
...
Update HFP_HF version to 1.7.2(v4.4)
See merge request espressif/esp-idf!17382
2022-03-10 20:20:16 +08:00
7768c389ad
Created EMAC start/stop stress test under heavy traffic
2022-03-10 10:15:34 +01:00
d53094bdc0
esp_eth: EMAC start/stop optimization
2022-03-10 10:15:34 +01:00
c469316970
Merge branch 'docs/add_note_for_malloc_cap_dma_backport_v4.4' into 'release/v4.4'
...
docs: add note for MALLOC_CAP_DMA for ESP32-S2 according to customer feedback (backport v4.4)
See merge request espressif/esp-idf!17343
2022-03-10 17:10:10 +08:00
0fca632ffd
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues_v44' into 'release/v4.4'
...
modbus: fix tcp slave destroy issues (backport v4.4)
See merge request espressif/esp-idf!17406
2022-03-09 09:48:36 +08:00
c9ce438466
Merge branch 'bugfix/inline_intrmask_from_isr_v4.4' into 'release/v4.4'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR (v4.4)
See merge request espressif/esp-idf!17325
2022-03-09 09:38:36 +08:00
121ddb87e5
Merge branch 'bugfix/fix_adc_digital_not_reset_issue_v4.4' into 'release/v4.4'
...
adc: fix adc digital part not reset issue (v4.4)
See merge request espressif/esp-idf!17375
2022-03-08 23:16:33 +08:00
d7fafdc916
freemodbus: fix port enable disable sequence for tcp master and slave
2022-03-08 10:07:19 +01:00
ba9c0c29a9
modbus: fix tcp slave destroy issues
...
Closes https://github.com/espressif/esp-idf/issues/8211
2022-03-08 09:52:54 +01:00
c45dee0a7a
Merge branch 'bugfix/idf_size_assertions_v4.4' into 'release/v4.4'
...
tools: Fix assertion messages and fix some of them in idf_size.py (v4.4)
See merge request espressif/esp-idf!17348
2022-03-08 02:58:04 +08:00
1b06c55ab1
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue_v4.4' into 'release/v4.4'
...
adc: fix calibration error when waking up from light sleep (v4.4)
See merge request espressif/esp-idf!16930
2022-03-07 19:01:31 +08:00
898a7d071b
Update HFP_HF version to 1.7.2
2022-03-07 18:16:05 +08:00
dc7cb6de4b
Merge branch 'bugfix/ignore_pmf_capable_flag_v4.4' into 'release/v4.4'
...
Always connect Station in PMF mode if possible (Backport v4.4)
See merge request espressif/esp-idf!17036
2022-03-07 16:24:44 +08:00
e1515beb26
adc: fix adc digital not reset issue
2022-03-07 11:40:18 +08:00
d53ea1166d
rng: fix rng adc digital inpu not disabled issue
2022-03-07 11:39:27 +08:00
32afe6a498
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-07 11:28:48 +08:00
92a67e0fff
Merge branch 'bugfix/add-resolution-suggestion-for-coredump_v4.4' into 'release/v4.4'
...
idf_monitor.py: Remove line finalization when coredump is in progress to avoid coredump failure (v4.4)
See merge request espressif/esp-idf!17364
2022-03-07 11:04:50 +08:00
a97dd5e0e9
Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt_forv4.4' into 'release/v4.4'
...
ble mesh:example:correct repl config prompt in ble mesh console(v4.4)
See merge request espressif/esp-idf!17183
2022-03-07 11:03:54 +08:00
b2e67d6ff1
ble mesh:example:correct repl config prompt in ble mesh console(v4.4)
2022-03-07 11:03:54 +08:00
3d2700146e
Merge branch 'bugfix/uart_no_int_after_flush_v4.4' into 'release/v4.4'
...
UART: RX interrupts are now properly restored after a flush (backport v4.4)
See merge request espressif/esp-idf!17122
2022-03-07 11:03:33 +08:00
d326c5283d
Merge branch 'bugfix/ledc_consecutive_fade_v4.4' into 'release/v4.4'
...
ledc: Bugfixes for issues related to fade protection (backport v4.4)
See merge request espressif/esp-idf!16953
2022-03-07 11:00:46 +08:00
964db79c0e
Merge branch 'docs/add_a_note_to_mck_io_num_v4.4' into 'release/v4.4'
...
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set (v4.4)
See merge request espressif/esp-idf!16694
2022-03-07 11:00:25 +08:00
3c9657fa4e
Merge branch 'feature/add_proxy_conn_and_disconn_event_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Add proxy server connect and disconnect event (v4.4)
See merge request espressif/esp-idf!16993
2022-03-06 14:10:20 +08:00
90083fcbb7
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-04 12:33:15 +00:00
1016801eaf
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-04 12:33:15 +00:00
eed93ac5bb
Remove line finalization when coredump is active to avoid coredump failure
...
Closes https://github.com/espressif/esp-idf/issues/8099
2022-03-04 11:40:32 +01:00
21cdaeade9
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
2022-03-04 07:00:18 +00:00
380ee4b87a
Merge branch 'bugfix/update_stack_init_check_v4.4' into 'release/v4.4'
...
Nimble: Remove stack initialization status from unwanted functions (v4.4)
See merge request espressif/esp-idf!17234
2022-03-04 14:11:23 +08:00
975b525e03
Merge branch 'bugfix/add_pll_track_feature_mr_4.4' into 'release/v4.4'
...
Add pll track feature
See merge request espressif/esp-idf!17285
2022-03-04 13:54:19 +08:00
f17a435ea7
Merge branch 'refactor/i2s_deprecate_confusing_names_v4.4' into 'release/v4.4'
...
i2s: Add detailed comments for confusing names (v4.4)
See merge request espressif/esp-idf!16748
2022-03-04 13:18:32 +08:00
103cab3664
Merge branch 'bugfix/tcp_iperf_example_issue_for_4.4' into 'release/v4.4'
...
wifi:bugfix for iperf issue(backport v4.4)
See merge request espressif/esp-idf!17334
2022-03-04 11:15:11 +08:00
75cfdc63c8
Merge branch 'ci/test_utils_ipc_stack_v4.4' into 'release/v4.4'
...
CI: increase IPC stack size for test_utils configs (v4.4)
See merge request espressif/esp-idf!17353
2022-03-04 10:44:19 +08:00
03cf81087b
CI: increase IPC stack size for test_utils configs
2022-03-04 09:19:09 +08:00
89f57f3402
Merge branch 'bugfix/rom_time_t_size_deps_v4.4' into 'release/v4.4'
...
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers (v4.4)
See merge request espressif/esp-idf!17040
2022-03-04 04:38:42 +08:00
169008616b
Merge branch 'bugfix/a2dp_sniff_v4.4' into 'release/v4.4'
...
Fix crash when host exit sniff mode(v4.4)
See merge request espressif/esp-idf!17313
2022-03-03 23:37:37 +08:00
aa260a9376
Merge branch 'bugfix/i2s_mono_issue_on_c3_s3_v4.4' into 'release/v4.4'
...
🔧 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3 (v4.4)
See merge request espressif/esp-idf!17331
2022-03-03 21:54:20 +08:00
524da1e4af
Tools/idf_size.py: Support .noinit sections
...
Closes https://github.com/espressif/esp-idf/issues/8428
2022-03-03 13:55:46 +01:00
68a8a7de0d
tools/idf_size.py: Identify objects without extension in MAP files
2022-03-03 13:55:46 +01:00
0f11ac2bd3
Merge branch 'bugfix/i2s_dac_incorrect_clock_v4.4' into 'release/v4.4'
...
i2s: fix adc/dac clock calculation (v4.4)
See merge request espressif/esp-idf!17336
2022-03-03 20:37:43 +08:00
a472035d97
Merge branch 'feature/websocket_server_support_close_handle_v4.4' into 'release/v4.4'
...
esp_http_server: Websocket CLOSE frame can support callback function (backport v4.4)
See merge request espressif/esp-idf!17339
2022-03-03 18:40:34 +08:00
e6bbfb085f
Merge branch 'bugfix/http_client_body_v4.4' into 'release/v4.4'
...
esp_http_client: Fix data corruption in http_on_body callback (v4.4)
See merge request espressif/esp-idf!17314
2022-03-03 18:29:26 +08:00
d7f8526207
docs: add note for MALLOC_CAP_DMA for ESP32-S2 according to customer feedback
2022-03-03 16:54:18 +08:00
e00580109b
examples/common_components: iperf: fix closing of client socket in TCP server mode
...
Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.
2022-03-03 15:47:58 +08:00
3b91281c91
esp_http_server: Websocket CLOSE frame can support callback function
...
Closes https://github.com/espressif/esp-idf/issues/7493
2022-03-03 15:46:09 +08:00
299d496c30
i2s: add detailed comments to some fileds (v4.4)
2022-03-03 05:55:35 +00:00
15e8601cfc
i2s: add mclk_div underflow check
...
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-03 12:23:47 +08:00
19f4eca4b9
Fix for mclk/bclk divisors #8326
...
Merges https://github.com/espressif/esp-idf/pull/8327
2022-03-03 12:23:47 +08:00
7600869c35
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-03 03:54:37 +00:00
86d78c1592
i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
2022-03-03 03:23:41 +00:00
eff03cbbd9
Merge branch 'feat/support_mxic_unlock_v4.4' into 'release/v4.4'
...
spi_flash: support unlock MXIC flash chips (v4.4)
See merge request espressif/esp-idf!17251
2022-03-03 11:13:09 +08:00
d8c7c41a43
Fix crash when host exit sniff mode
2022-03-03 02:59:31 +00:00
1690785432
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-03-03 09:45:22 +08:00
3a7ec8acfa
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-03-03 09:44:31 +08:00
6ee5e622e8
Merge branch 'bugfix/http_client_ci_v4.4' into 'release/v4.4'
...
esp_http_client example: Use dl.espressif.com URL for performing request with Range header (v4.4)
See merge request espressif/esp-idf!17316
2022-03-03 00:55:23 +08:00
f0e894e540
Merge branch 'bugfix/remove_c_series_chips_unsupported_efuse_field_backport_v4.4' into 'release/v4.4'
...
efuse: free esp32c3/esp32h2 unused efuse field (backport v4.4)
See merge request espressif/esp-idf!17292
2022-03-02 18:36:13 +08:00
05bf1cd0f5
Merge branch 'fix/prod_mode_in_configure_ds_script_v4.4' into 'release/v4.4'
...
configure_ds.py: Fix the error for prod mode. They script now only verifies... (v4.4)
See merge request espressif/esp-idf!17209
2022-03-02 17:19:23 +08:00
27e49aee72
Merge branch 'bugfix/check_chip_id_at_start_ota_v4.4' into 'release/v4.4'
...
esp_https_ota: fix for checking chip id at start of OTA (v4.4)
See merge request espressif/esp-idf!17220
2022-03-02 17:19:14 +08:00
5f56bbd2d0
Merge branch 'bugfix/rtcio_increase_size_v4.4' into 'release/v4.4'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue (v4.4)
See merge request espressif/esp-idf!17201
2022-03-02 16:53:05 +08:00
ae2a6e40ab
Merge branch 'bugfix/spiffs_example_test_v4.4' into 'release/v4.4'
...
examples/spiffs: increase test timeout (v4.4)
See merge request espressif/esp-idf!17265
2022-03-02 16:51:59 +08:00
64f41ed6c4
Merge branch 'bugfix/bootloader_uart_custom_gpio_v4.4' into 'release/v4.4'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect (v4.4)
See merge request espressif/esp-idf!17307
2022-03-02 16:50:49 +08:00
2e8df440c1
Merge branch 'feature/usb_host_cleanup_v4.4' into 'release/v4.4'
...
USB: Host stack cleanup and QOL update + wTotalLength Fix + omit MSC reset (v4.4.1)
See merge request espressif/esp-idf!16678
2022-03-02 16:49:38 +08:00
0ccee00059
Merge branch 'bugfix/coredump_data_section_v4.4' into 'release/v4.4'
...
espcoredump: fix a bug where tracked DRAM data where not dumped (v4.4)
See merge request espressif/esp-idf!17120
2022-03-02 16:48:00 +08:00
66e6cac168
Merge branch 'bugfix/tools_fix_gdb_2021r2_patch3_v4.4' into 'release/v4.4'
...
tools: update esp-2021r2-patch3 toolchain for fixing GDB (v4.4)
See merge request espressif/esp-idf!17245
2022-03-02 16:47:04 +08:00
143c62d95d
Merge branch 'bugfix/uart_custom_isr_test_disable_brk' into 'release/v4.4'
...
UART: Fix custom ISR unit test (v4.4)
See merge request espressif/esp-idf!17232
2022-03-02 16:45:07 +08:00
81f8dce34c
examples/esp_http_client: Use dl.espressif.com URL for performing request with Range header
...
esp_http_client_test.py: Add check for range request log
2022-03-02 13:20:28 +05:30
2ef6b8845b
uart: fixed reset logic on ESP32-S3
2022-03-02 02:42:46 +08:00
bdd7610e66
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-02 02:42:06 +08:00
8543d1b88a
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-02 02:40:45 +08:00
2bdea81b2a
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-01 14:56:47 +08:00
659306b243
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-28 17:55:42 +05:30
e6e76195e8
remove in esptool
2022-02-28 17:40:02 +08:00
6c2f5a16bb
remove esp32h2 unsupported efuse field
2022-02-28 17:33:12 +08:00
c6aa1cf732
remove esp32c3 unsupported efuse field
2022-02-28 17:26:28 +08:00
377267775c
examples/spiffs: increase test timeout
...
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-24 09:19:53 +05:30
e835599979
bootloader: support unlock MXIC flash chips
2022-02-23 16:23:34 +08:00
48f8a7a26e
test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
...
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"
This reverts commit 4548b6da63
.
2022-02-23 10:52:05 +07:00
1982883618
tools: update esp-2021r2-patch3 toolchain for fixing GDB
...
Closes https://github.com/espressif/esp-idf/issues/8065
Closes https://github.com/espressif/esp-idf/issues/8342
Closes https://github.com/espressif/openocd-esp32/issues/210
2022-02-23 09:20:43 +07:00
ae546316d3
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-22 10:26:43 +05:30
2fb3824dfa
UART: Fix custom ISR unit test
...
On ESP32, UART_INTR_BRK_DET may be triggered after setting the new ISR handler.
Disable these interrrupts.
2022-02-22 10:54:06 +08:00
9a36ced294
espcoredump: add a test for coredump dumped sections
2022-02-22 02:38:00 +00:00
b868fd2a95
espcoredump: fix a bug where tracked DRAM data where not dumped
...
Variables marked as COREDUMP_DRAM_ATTR will now be part of the core dump.
* Closes https://github.com/espressif/esp-idf/issues/8151
2022-02-22 02:38:00 +00:00
1e117f2f83
UART: RX interrupts are now properly restored after a flush
...
Added a unit test to make sure the expected behavior happens
2022-02-22 02:28:21 +00:00
bf7934aa84
esp_https_ota: fix for checking chip id at start of OTA
2022-02-21 13:55:53 +05:30
e37d149233
configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
...
Closes https://github.com/espressif/esp-idf/issues/8285
2022-02-21 01:33:00 +05:30
d2a2a315ba
Bugfix: omit MSC reset during initialization
2022-02-18 15:51:05 +08:00
e898e4b2f5
Bugfix: make wTotalLength uint16_t to avoid truncation
2022-02-18 15:51:05 +08:00
c46b74191e
usb: Add USB Host Library documentation
...
This commit adds the USB Host Library documentation and fixes some nitpicks
in the Host Stack types.
Closes https://github.com/espressif/esp-idf/issues/6408
2022-02-18 15:51:05 +08:00
6f6986277c
usb: Add USB Host Library Example
...
The commit adds a basic example for the USB Host Library
2022-02-18 15:51:05 +08:00
ebd058c8c9
usb: Update USB Host Library
...
This commit updates the USB Host Library as follows:
- usb_helpers.h
- Removed dependency on USB Host Library API
- Added function to print string descriptors
- usbh
- Fixed bug where an interface/endpoint could be claimed/allocated multiple times
- Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-02-18 15:51:05 +08:00
50bbdbc1de
usb: Hub Driver and USBH recover port automatically after disconnection
...
This commit updates the Hub Driver and USBH as follows:
- Updated communication mechanism between Hub Driver and USBH
- USBH notifies the Hub Driver via Hub request callback (usbh_hub_req_cb_t)
- Hub Driver notifies the USBH via usbh_hub_pass_event()
- Hub Driver now defers all event handling to hub_process.
- Hub Driver and USBH will now automatically recover the port after a disconnected
device has been closed.
- Fixed incorrect assert in usbh_dev_close()
2022-02-18 15:51:05 +08:00
ea6de613bf
usb: Hub Driver Update and Refactor
...
Hub Driver is refactored as follows:
This commit update and refactors the Hub Driver as follows:
- Refactored enumeration state machine and stage functions
- Enumeration stage is now incremented
- Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
was not cleared.
The following features were added to the Hub Driver
- Enumeration config descriptor is now fetched in two separate stages
- Header is fetched first to determine the wTotalLength of the descriptor
- Fetching the full descriptor will request exactly wTotalLength bytes
- This works around some non-compliant devices that will babble/return zero
when requesting a length > wTotalLength
- Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
- The Manufacturer, Product, and Serial Number string descriptors are
now read and stored during enumeration
- String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-02-18 15:51:05 +08:00
7f09fe1b23
usb: USB Host stack uses USB PHY driver
...
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.
- The hcd_install() now expects the USB PHY and OTG Contorller to be
already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
the user wants to setup their own USB PHY (e.g., in the case of using
and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY
Closes https://github.com/espressif/esp-idf/issues/8061
2022-02-18 15:51:05 +08:00
b3b8ed79c8
usb: HCD multiple fixes
...
This commit fixes the following bugs in the HCD
- HCD control pipes fill incorrect transfer size
_buffer_fill_ctrl() would fill the transfer descriptors length with
wLength instead of transfer->num_bytes. Therefore, the remaining length
would be incorrect when a control transfer requests more bytes than are
available.
- Fix USB_TRANSFER_FLAG_ZERO_PACK behavior
The previous behavior of USB_TRANSFER_FLAG_ZERO_PACK was incorrect, and did not
support interrupt pipes. A zero length packet can now be added to Bulk/Interrupt
OUT transfers where the length is a multiple of the endpoint's MPS.
- Fixed HCD port suspend and resume test case
Halting a control pipe mid control transfer can lead some test devices to get stuck
2022-02-18 15:51:05 +08:00
8888179439
usb: Tidy up usbh
...
- Remove enum_todo_flags from usbh
- USBH move config_desc to constant fields
2022-02-18 15:51:05 +08:00
000d3823bb
Merge branch 'cumulative_backport_into_v4.4' into 'release/v4.4'
...
Cumulative backport MR (v4.4)
See merge request espressif/esp-idf!17194
2022-02-18 07:16:52 +00:00
cdfd59cc0e
docs: update copyright date for docs automatically
2022-02-18 12:59:12 +08:00
a8c073c1cc
fixed trailing whitespace
2022-02-18 12:58:53 +08:00
dc4783945a
freertos: Move Espressif's specific esp_reent_init into collective ifdef
2022-02-18 12:58:53 +08:00
7caacf20c1
Documentation: added ESP32S3 interrupt allocation doc
2022-02-18 12:36:05 +08:00
90c63f7250
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
...
It helps to reduce the memory usage at startup.
Closes https://github.com/espressif/esp-idf/issues/8111
2022-02-18 12:36:05 +08:00
21b80a969f
soc: updated soc_caps about rtc_io and the format
2022-02-18 11:44:43 +08:00
fd20ac807c
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
...
Closes https://github.com/espressif/esp-idf/issues/8231
2022-02-18 11:44:20 +08:00
c904b4807b
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-02-17 22:22:26 +08:00
f3639dafc8
freertos: add pm_trace header include
2022-02-17 22:22:26 +08:00
9cc4c2f34d
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
...
(cherry picked from commit 8dcdb2f363fd3fa00bd77e4bd75e7c73d6c7d0fb)
2022-02-17 22:22:26 +08:00
5ff09f0a06
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict_v44' into 'release/v4.4'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.4)
See merge request espressif/esp-idf!16896
2022-02-17 08:38:57 +00:00
d2399f6d8c
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.4)
2022-02-17 08:38:56 +00:00
b2ef617a34
Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.4' into 'release/v4.4'
...
components/bt: Fix ble adv_underrun issue(backport v4.4)
See merge request espressif/esp-idf!17164
2022-02-17 08:30:38 +00:00
38cca53445
Merge branch 'bugfix/assoc_comeback_fail_issue_v4.4' into 'release/v4.4'
...
Fix assoc comeback causing invalid state & FTM cleanup (Backport v4.4)
See merge request espressif/esp-idf!17170
2022-02-17 04:42:52 +00:00
98c5c7bac8
Merge branch 'bugfix/enterprise_certs_weak_md_v4.4' into 'release/v4.4'
...
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.(v4.4)
See merge request espressif/esp-idf!16979
2022-02-17 04:40:12 +00:00
b39d0dbf2c
Merge branch 'bugfix/usb_default_print_wifi_v4.4' into 'release/v4.4'
...
esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG) (backport v4.4)
See merge request espressif/esp-idf!17075
2022-02-17 04:15:54 +00:00
f9927119b8
Merge branch 'bugfix/efuse_timesettings_for_esp32s3_v4.4' into 'release/v4.4'
...
efuse: Fixes eFuse timesettings issue on esp32S3 (v4.4)
See merge request espressif/esp-idf!17177
2022-02-17 04:00:14 +00:00
174bd31bc0
Merge branch 'bugfix/usb_no_rom_log_v4.4' into 'release/v4.4'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting(backport v4.4)
See merge request espressif/esp-idf!17073
2022-02-17 03:59:36 +00:00
6664e6cf43
ds: update gen_digital_signature_tests.py to handle different max key sizes
...
Max key size is now decided by target parameter, and related parameters are
no longer hard coded.
Closes https://github.com/espressif/esp-idf/issues/8243
(cherry picked from commit 4a3f50faa0
)
2022-02-17 11:24:54 +08:00
35d5a30d47
Merge branch 'feature/adc_calibration_version_2_on_c3_v4.4' into 'release/v4.4'
...
adc: upgrade adc calibration algorithm to version 2 on c3 (v4.4)
See merge request espressif/esp-idf!17049
2022-02-17 03:04:35 +00:00
11440c8757
Merge branch 'bugfix/gpio_intr_on_core1_s3_v4.4' into 'release/v4.4'
...
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!16595
2022-02-17 01:47:46 +00:00
ae6f171370
Merge branch 'bugfix/mdns_null_deref_fuzzer_v4.4_' into 'release/v4.4'
...
mdns: Fix potential null deref reported by fuzzer test(v4.4)
See merge request espressif/esp-idf!17147
2022-02-17 01:21:00 +00:00
bf7266312c
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4_followup' into 'release/v4.4'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4 followup)
See merge request espressif/esp-idf!16666
2022-02-16 18:33:12 +00:00
299b6538e4
Merge branch 'bugfix/protocols_test_on_eth_v4.4' into 'release/v4.4'
...
ci/mqtt: Move protocol tests to eth runners(v4.4)
See merge request espressif/esp-idf!17010
2022-02-16 18:31:54 +00:00
538401aa06
Merge branch 'contrib/github_pr_8337_v4.4' into 'release/v4.4'
...
Set success when closing socket (GitHub PR) (v4.4)
See merge request espressif/esp-idf!17097
2022-02-16 18:31:30 +00:00
d011404607
esptool: Fixes esp32h2 target name
2022-02-17 00:14:45 +08:00
908874c642
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-16 15:51:50 +05:30
5c7b597594
efuse: Fixes eFuse timesettings issue on esp32S3
2022-02-16 15:15:27 +08:00
60b0d30d9c
ci: increase target-test.yml UT_T1_1 job to support newly added LEDC fade ut tests
...
(cherry picked from commit f5cbe89487
)
2022-02-16 15:02:46 +08:00
83edf2dbcf
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832
)
2022-02-16 15:02:45 +08:00
574f2c6a17
ledc: bugfix - Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226
)
2022-02-16 15:02:45 +08:00
175132a874
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-16 14:58:42 +08:00
492afe4d4a
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2022-02-16 14:58:42 +08:00
be542db463
esp_adc_cal: simplify CMakeLists.txt
2022-02-16 14:58:42 +08:00
9991b1b021
ci: increase target-test.yml UT_T1_1 job to support newly added ut test
2022-02-16 14:52:39 +08:00
41e452e7d8
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Closes https://github.com/espressif/esp-idf/issues/7885
(cherry picked from commit 91f1159f9c
)
2022-02-16 14:50:51 +08:00
b722e6f6ec
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
(cherry picked from commit 0e8286c57b
)
2022-02-16 14:50:51 +08:00
81861d03c0
Merge branch 'bugfix/fix_i2c_crash_v4.4' into 'release/v4.4'
...
I2C: Fix I2C Master operation with repeated start condition (backport v4.4)
See merge request espressif/esp-idf!17118
2022-02-16 06:30:44 +00:00
c0e105cc41
mdns: Fix potential null deref reported by fuzzer test
2022-02-16 06:23:57 +00:00
33f7009bef
Merge branch 'bugfix/i2c_spiram_bug_v4.4' into 'release/v4.4'
...
i2c: fix buffer check when SPIRAM used as a heap (backport v4.4)
See merge request espressif/esp-idf!17098
2022-02-16 05:16:32 +00:00
d483bd9518
Merge branch 'feature/support_eap_fast_release_v4.4' into 'release/v4.4'
...
Add support for EAP-FAST authentication (backport v4.4)
See merge request espressif/esp-idf!16279
2022-02-16 03:28:15 +00:00
11ec6ed917
Merge branch 'bugfix/eap_client_crash_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fix memory corruption (v4.4)
See merge request espressif/esp-idf!17128
2022-02-16 03:27:47 +00:00
e3a5a85e2f
Merge branch 'feature/gcov_esp32c3_v4.4' into 'release/v4.4'
...
debug_stubs and gcov: Refactor and add support for RISCV (v4.4)
See merge request espressif/esp-idf!17068
2022-02-16 03:26:49 +00:00
6ba07ccfaa
Merge branch 'bugfix/typo_in_i2c_macro_v4.4' into 'release/v4.4'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name (backport v4.4)
See merge request espressif/esp-idf!17116
2022-02-16 02:49:01 +00:00
118478cd51
Merge branch 'docs/add_an_example_list_for_esp32-wrover-kit_v4.4' into 'release/v4.4'
...
docs: add an example list for esp-wrover-kit (v4.4)
See merge request espressif/esp-idf!16691
2022-02-16 02:39:04 +00:00
192503abbb
Merge branch 'example/nimble_readme_cleanup_v4.4' into 'release/v4.4'
...
docs/examples Changes on README files on Bluetooth Examples (v4.4)
See merge request espressif/esp-idf!16374
2022-02-16 02:30:04 +00:00
ee908e4ef1
Merge branch 'feature/mdns_null_value_txt_v4.4' into 'release/v4.4'
...
mdns: Support for null-value TXT records (v4.4)
See merge request espressif/esp-idf!17172
2022-02-16 02:27:25 +00:00
35b2b3e24c
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:39:00 +08:00
a145a5ee48
mdns: Use memcpy() for copy to support non-text TXTs
2022-02-15 13:32:53 +01:00
ec9dbd922d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-02-15 13:32:53 +01:00
93be7d5192
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-15 18:56:49 +08:00
bf523af21d
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-15 18:56:48 +08:00
a74e06560b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-15 18:56:06 +08:00
83daa6dabb
Merge branch 'bugfix/bump_docs_docker_tag_v4.4' into 'release/v4.4'
...
ci: bump esp-docs image tag to v5
See merge request espressif/esp-idf!17157
2022-02-15 10:15:14 +00:00
ed8f29c406
ci: bump esp-docs image tag to v5
2022-02-15 11:55:01 +08:00
8c61c5c565
Merge branch 'bugfix/lcd_rgb_memory_alignment_v4.4' into 'release/v4.4'
...
rgb lcd memory alignment(v4.4)
See merge request espressif/esp-idf!16883
2022-02-14 15:34:49 +00:00
21b6c46d11
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.4' into 'release/v4.4'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.4)
See merge request espressif/esp-idf!17135
2022-02-14 06:27:47 +00:00
13d30652cc
Merge branch 'bugfix/wps_fixes_v4.4' into 'release/v4.4'
...
wpa_supplicant: Add WPS Fixes (Backport V4.4)
See merge request espressif/esp-idf!17064
2022-02-14 06:24:16 +00:00
71b81e4a01
Merge branch 'bugfix/support_esp32s2_eco1_v4.4' into 'release/v4.4'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(V4.4)
See merge request espressif/esp-idf!16715
2022-02-14 05:55:29 +00:00
21b4cd8325
sdio_slave: fixed the issue DMA desc not capable
2022-02-13 22:35:04 +08:00
c2c4b126f7
Merge branch 'feature/support_new_psram_v4.4' into 'release/v4.4'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.4)
See merge request espressif/esp-idf!16705
2022-02-13 14:13:38 +00:00
246f72020f
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v4.4' into 'release/v4.4'
...
freemodbus: fix port contains lgpl licensed files (v4.4)
See merge request espressif/esp-idf!16550
2022-02-12 20:43:22 +00:00
136c5b8204
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:32:33 +05:30
f60a914bae
I2C: Fix I2C Master operation with repeated start condition
...
* Closes https://github.com/espressif/esp-idf/pull/8353
2022-02-11 15:37:24 +08:00
8f3b47da39
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2022-02-11 15:29:52 +08:00
47583770a1
Merge branch 'bugfix/fix_esp_http_client_example_v4.4' into 'release/v4.4'
...
esp_http_client: Fix memory leak in esp_http_client_example (backport v4.4)
See merge request espressif/esp-idf!17095
2022-02-11 04:56:29 +00:00
83ef7b6a95
Merge branch 'feature/limit_component_manager_version' into 'release/v4.4'
...
Tools: Limit idf-component-manager version
See merge request espressif/esp-idf!16405
2022-02-10 16:07:02 +00:00
730ca0ea43
Merge branch 'bugfix/cpu_reset_perip_clk_disable_v4.4' into 'release/v4.4'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison (backport v4.4)
See merge request espressif/esp-idf!15898
2022-02-10 10:32:09 +00:00
0658a5b1da
esp_wifi: Add an example for EAP-FAST.
2022-02-10 15:55:21 +05:30
e21832cabb
esp_wifi: Add support for EAP-FAST authentication method
2022-02-10 15:54:15 +05:30
8b86834a72
Merge branch 'bugfix/gpio_pin_num_fix_v4.4' into 'release/v4.4'
...
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3 (backport v4.4)
See merge request espressif/esp-idf!16594
2022-02-10 10:21:52 +00:00
954d52ff3a
Merge branch 'flash/add_th_support_v4.4' into 'release/v4.4'
...
spi_flash: add support for th 1M flash(backport v4.4)
See merge request espressif/esp-idf!16714
2022-02-10 09:40:40 +00:00
fb1695ade7
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.4' into 'release/v4.4'
...
spi_master: fix spi cs_ena_posttrans issue (v4.4)
See merge request espressif/esp-idf!16686
2022-02-10 09:12:15 +00:00
38b5c012f9
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.4' into 'release/v4.4'
...
rmt: do not support rx wrap on esp32s2 (v4.4)
See merge request espressif/esp-idf!17076
2022-02-10 09:11:32 +00:00
98647cf351
i2c: fix buffer check when SPIRAM used as a heap
...
* Closes https://github.com/espressif/esp-idf/issues/8173
2022-02-10 16:16:01 +08:00
5355ba06f1
transport_ssl: use return value from close
for non-TLS case
2022-02-10 13:03:32 +05:30
9e892fbf46
Set success when closing socket
...
Closes https://github.com/espressif/esp-idf/pull/8337
Closes IDFGH-6709
2022-02-10 13:02:58 +05:30
1b8c04bb57
esp_http_client: Fix memory leak in esp_http_client_example
...
Closes https://github.com/espressif/esp-idf/issues/8346
2022-02-10 14:35:13 +08:00
50302e4157
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-10 14:13:02 +08:00
14b52e9d83
Merge branch 'bugfix/improve_ota_test_success_rate_v4.4' into 'release/v4.4'
...
OTA examples: Reduce example test failure rate (v4.4)
See merge request espressif/esp-idf!16613
2022-02-10 05:52:27 +00:00
c7b9f94733
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid compile issue(backport release/v4.4)
See merge request espressif/esp-idf!16592
2022-02-09 11:28:57 +00:00
5cc185c442
Merge branch 'bugfix/controller_hci_uart_esp32c3_readme_v4.4' into 'release/v4.4'
...
Added support for ESP32-S3 chip in controller_hci_uart_esp32c3_and_esp32s3's README (v4.4)
See merge request espressif/esp-idf!16738
2022-02-09 11:18:40 +00:00
4ecd0ef9fc
advanced_https_ota: Move example tests on ethernet runners
...
Move BT tests to nightly run
2022-02-09 15:03:04 +05:30
42e389263d
native_ota_example: Move all example tests to ethernet based runners
2022-02-09 15:03:04 +05:30
f2c5c8e6d8
simple_ota_example: Move redundant and failing example_tests to nightly run
2022-02-09 15:03:04 +05:30
690d7a5d6b
target-test.yml: Add EXAMPLE_ETH_OTA runner to OTA on ethernet based runners
2022-02-09 15:03:04 +05:30
956c6b889f
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 17:29:09 +08:00
c8075df214
Merge branch 'bugfix/a2dp_source_congest_v4.4' into 'release/v4.4'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.4)
See merge request espressif/esp-idf!16733
2022-02-09 08:16:01 +00:00
4158da586b
Merge branch 'demo/opt_a2dp_demo_doc_v4.4' into 'release/v4.4'
...
demo/optimize a2dp demo documents (v4.4)
See merge request espressif/esp-idf!16587
2022-02-09 08:13:55 +00:00
afe82b4e1b
Merge branch 'bugfix/filter_repeated_packages_v4.4' into 'release/v4.4'
...
filter repeated packages but not send response(v4.4)
See merge request espressif/esp-idf!16817
2022-02-09 06:18:43 +00:00
006b4456e7
filter repeated packages but not send response(v4.4)
2022-02-09 06:18:42 +00:00
4b7eea25ca
Merge branch 'feature/pro_recv_hb_forv4.4' into 'release/v4.4'
...
provisioner receive heartbeat message (v4.4)
See merge request espressif/esp-idf!16636
2022-02-09 06:18:14 +00:00
006c679f85
provisioner receive heartbeat message (v4.4)
2022-02-09 06:18:13 +00:00
690ff75346
Merge branch 'doc/esp32s3_sdmmc_v4.4' into 'release/v4.4'
...
docs: peripherals: update SD related docs for ESP32-S3 (v4.4)
See merge request espressif/esp-idf!17043
2022-02-09 03:28:57 +00:00
c2a6f0fe29
Merge branch 'bugfix/perfmon_s3_v4.4' into 'release/v4.4'
...
perfmon: re-enable example for ESP32-S3, remove warning from the docs (v4.4)
See merge request espressif/esp-idf!17042
2022-02-09 03:28:01 +00:00
54e416d3b8
docs: Updates apptrace menuconfig options in examples
2022-02-08 22:25:33 +03:00
e366d569d8
example/gcov: Adds support for esp32s2, esp32s3, esp32c3 and esp32h2
2022-02-08 22:25:33 +03:00
89fe956ebc
gcov: Fixes interference of gcov dump with normal IPC calls
2022-02-08 22:25:33 +03:00
792f510d0d
gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct
2022-02-08 22:24:54 +03:00
1bbefc3e5d
debug_stubs: Refactor and add support for RISCV
2022-02-08 22:24:54 +03:00
1603b8181f
Merge branch 'bugfix/win_rename_delay_v4.4' into 'release/v4.4'
...
Tools: Use delay between rename attempts on Windows in the installer (v4.4)
See merge request espressif/esp-idf!17056
2022-02-08 18:23:56 +00:00
330da63548
Merge branch 'bugfix/nvs_oom_check_wrong_pointer_v4.4' into 'release/v4.4'
...
nvs: fixed OOM check wrong pointer issue (backport 4.4)
See merge request espressif/esp-idf!16976
2022-02-08 14:54:48 +00:00
6c0c3029ab
Merge branch 'bugfix/vfs_open_errno_v4.4' into 'release/v4.4'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.4)
See merge request espressif/esp-idf!17044
2022-02-08 14:37:29 +00:00
757445422d
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2022-02-08 17:22:40 +05:30
e26318bcac
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2022-02-08 12:43:08 +01:00
f4e54541f3
ws_client: Optimize example test payloads and timeouts
...
Important update: NO_DATA_TIMEOUT_SEC=5, as some ws-servers typically send pings in 30s or 10s intervals, so we might never fire shutdown test
2022-02-08 18:15:53 +08:00
ff1846bebe
ci/websockets: Run ws-client example test on ethernet runners
2022-02-08 18:15:53 +08:00
936bbdc75b
ci/mdns: Run mdns test on ethernet runners
2022-02-08 18:15:49 +08:00
63dda9f1d9
ci: Increase parallel job count for Eth runners
2022-02-08 18:15:49 +08:00
2b62d7bfdc
ci/mqtt: Move publish-connect test to ethernet runners
2022-02-08 18:15:48 +08:00
d24241d5ad
ci/mqtt: Move mqtt example tests to ethernet runners
2022-02-08 18:15:48 +08:00
18da1180ad
Tools: Use delay between rename attempts on Windows in the installer
2022-02-08 11:06:14 +01:00
6934a0164a
Merge branch 'bugfix/fix_common_clock_bug_v4.4' into 'release/v4.4'
...
esp_wifi: fix common clock bug (backport v4.4)
See merge request espressif/esp-idf!16971
2022-02-08 09:10:34 +00:00
f98ec313f2
Merge branch 'revert-0a1e309e' into 'release/v4.4'
...
Revert "Merge branch 'bugfix/temp_disable_f8r8_test_v4.4' into 'release/v4.4'"
See merge request espressif/esp-idf!17037
2022-02-07 14:51:55 +00:00
93855605f3
Merge branch 'bugfix/esp32c3_sysview_examples_build_error_v4.4' into 'release/v4.4'
...
riscv: fix portSTACK_GROWTH redefinition error (v4.4)
See merge request espressif/esp-idf!17038
2022-02-07 12:48:02 +00:00
23b0cdad8a
vfs: add test for errno value after 'open'
2022-02-07 11:36:00 +01:00
931dd74da6
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-02-07 11:35:59 +01:00
aaa2a344c6
docs: peripherals: update SD related docs for ESP32-S3
2022-02-07 11:31:17 +01:00
faac0e7589
perfmon: re-enable example for ESP32-S3, remove warning from the docs
...
Includes minor fix for formatting of code blocks in the example readme
2022-02-07 11:28:57 +01:00
096c013675
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-02-07 11:23:59 +01:00
1e80a52de4
Merge branch 'bugfix/i2s_mclk_stopped_when_set_clock' into 'release/v4.4'
...
i2s: fix mclk stop issue when setting clock (v4.4)
See merge request espressif/esp-idf!16706
2022-02-07 09:47:19 +00:00
8fc5f8ae55
heap: use HEAP_TRACING_STACK_DEPTH default value for riscv
2022-02-07 09:47:57 +01:00
5c8bfa9b46
esp32c3: fix portSTACK_GROWTH redefinition error
2022-02-07 09:47:57 +01:00
2fe53759c9
components/bt: Fix bluedroid compile issue
2022-02-07 16:04:50 +08:00
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
aae55512b7
Update copyright headers
2022-02-07 07:41:03 +00:00
371ab10bcd
Revert "Merge branch 'bugfix/temp_disable_f8r8_test_v4.4' into 'release/v4.4'"
...
This reverts merge request !17031
2022-02-07 15:39:25 +08:00
a9df58c776
i2s: fix mclk stopped when setting clock
2022-02-07 15:27:35 +08:00
1140036424
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:19:51 +08:00
5e5af3606b
Merge branch 'bugfix/nimble_spp_v4.4' into 'release/v4.4'
...
NimBLE : SPP example fails to build on Windows (v4.4)
See merge request espressif/esp-idf!17013
2022-02-07 02:35:30 +00:00
7c986a64c7
Merge branch 'feature/adds_tips_to_run_ci_example_tests_v4.4' into 'release/v4.4'
...
examples: Adds a note on how to meet requirements to run the example_test.py (v4.4)
See merge request espressif/esp-idf!16944
2022-02-06 09:25:40 +00:00
0a1e309ee4
Merge branch 'bugfix/temp_disable_f8r8_test_v4.4' into 'release/v4.4'
...
ci: temporarily disable MSPI_F8R8 test (v4.4)
See merge request espressif/esp-idf!17031
2022-02-05 05:34:09 +00:00
e67ecd998c
ci: temporarily disable MSPI_F8R8 test
2022-02-04 15:23:05 +01:00
d501a53f2f
Merge branch 'feature/mbedtls-2.28.0_v4.4' into 'release/v4.4'
...
mbedtls: Upgrading to v2.28.0 (v4.4)
See merge request espressif/esp-idf!17004
2022-02-02 13:52:54 +00:00
db80244920
Merge branch 'bugfix/nimble_spp' into 'release/v4.4'
...
NimBLE : Fixed BLE SPP build fail on Windows
Closes : https://github.com/espressif/esp-idf/issues/8305
See merge request espressif/esp-idf!17013
2022-02-02 15:15:24 +05:30
51fc67f5fa
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
- Fix for make-system build errors
2022-02-02 15:03:48 +05:30
11366d643f
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-02-02 10:56:48 +05:30
c3d2f2361c
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-02-02 10:56:48 +05:30
b10d0a533c
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-02-02 10:56:48 +05:30
76b9beff3c
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-02-02 10:56:48 +05:30
76658d5066
mbedtls: Added config options for v2.28.0 upgrade
2022-02-02 10:56:48 +05:30
0fdc5f7490
mbedtls: Upgrade to v2.28.0
2022-02-02 10:56:13 +05:30
28489ac412
Merge branch 'bugfix/provisioning_not_stopping_v4.4' into 'release/v4.4'
...
wifi_prov_mgr: Fix provisioning not stopping in release mode (v4.4)
See merge request espressif/esp-idf!17002
2022-02-01 05:22:38 +00:00
b7c1c4913e
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-02-01 09:49:45 +05:30
602b26ccd4
Merge branch 'feature/upgrade_expat_component_v4.4' into 'release/v4.4'
...
expat: upgrade to v2.4.3 release
See merge request espressif/esp-idf!16981
2022-01-31 07:14:04 +00:00
3dbe641c6b
expat: upgrade to v2.4.3 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_3/expat/Changes
2022-01-31 11:13:26 +05:30
eb3797dc3f
Merge branch 'provisioning/update_readme_v4.4' into 'release/v4.4'
...
provisioning: Remove legacy examples reference (v4.4)
See merge request espressif/esp-idf!16987
2022-01-29 10:46:56 +00:00
bfd3e9c54c
Merge branch 'ci/split_assign_test_and_add_c3_integration_test_4.4' into 'release/v4.4'
...
Ci: split assign test and add c3 integration test 4.4
See merge request espressif/esp-idf!16925
2022-01-28 14:39:16 +00:00
b9eda8431e
Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix_v4.4' into 'release/v4.4'
...
[Storage]: Re-enable FatFS write/read speed test (v4.4)
See merge request espressif/esp-idf!16080
2022-01-28 10:37:10 +00:00
954844a308
esp_prov.py: Replaced deprecated function for loading modules
2022-01-28 15:46:27 +05:30
e0968e506c
Merge branch 'bugfix/unused_tag_string' into 'release/v4.4'
...
build: fix unused tag string (v4.4)
See merge request espressif/esp-idf!16838
2022-01-28 07:58:40 +00:00
0113e2768d
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.
2022-01-28 11:02:06 +05:30
42abd894d4
build: fix unused tag string
...
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-28 11:59:45 +08:00
c8eb02bb39
bugfix (nvs): fixed wrong pointer check
2022-01-28 11:37:53 +08:00
257d95fc22
Merge branch 'docs/pinlayout_image_update_backport_v4.4' into 'release/v4.4'
...
docs: Update ESP32-DevKitC Pin Layout figure of higher resolution (backport v4.4)
See merge request espressif/esp-idf!16364
2022-01-28 03:22:51 +00:00
036e3f2e46
Merge branch 'bugfix/address_already_used_exception_in_ota_tests_v4.4' into 'release/v4.4'
...
Fix 'address already in use' exception in OTA tests (v4.4)
See merge request espressif/esp-idf!16416
2022-01-27 12:32:45 +00:00
6e6c8bb682
esp_wifi: fix common clock bug (backport v4.4)
2022-01-27 20:19:41 +08:00
7acb7a9e00
Merge branch 'bugfix/rm_copyright_ignore_list' into 'release/v4.4'
...
CI: Remove unused copyright ignore list
See merge request espressif/esp-idf!16963
2022-01-27 12:15:56 +00:00
4649f3a46e
CI: Remove unused copyright ignore list
2022-01-27 12:26:33 +01:00
e64ae67888
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2022-01-27 12:06:41 +01:00
d16aaae498
Merge branch 'feature/memprot_api_unified_c3_v4.4' into 'release/v4.4'
...
Memprot API unified - ESP32C3 (v4.4.1)
See merge request espressif/esp-idf!16489
2022-01-27 11:00:03 +00:00
3d5b947355
Tools: Limit idf-component-manager version
2022-01-27 11:46:54 +01:00
b80a070395
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
...
(cherry picked from commit f57456e9dd919e5eea1d3cd0caa64b5c97a4df73)
2022-01-27 09:51:00 +00:00
26a876e63f
docs:update ESP32-DevKitC Pin Layout figure of higher resolution
2022-01-27 17:05:01 +08:00
8ec62d1d86
Merge branch 'docs/translation_backport_v4.4' into 'release/v4.4'
...
docs: update CN translation for MR15221 for v4.4
See merge request espressif/esp-idf!16756
2022-01-27 08:27:06 +00:00
3c76a058aa
docs: update CN translation for MR15221 for v4.4
2022-01-27 08:27:04 +00:00
c02f6b96af
Merge branch 'docs/update_inconsistency_backport_v4.4' into 'release/v4.4'
...
docs: Update incorrect pins for S3 documentation, set a default value for future targets, and remove line breaks inside paragraphs (backport v4.4)
See merge request espressif/esp-idf!16367
2022-01-27 08:26:07 +00:00
1f45f160a8
Merge branch 'bugfix/fix_console_linenosie_backport_v4.4' into 'release/v4.4'
...
console: fix console stuck in auto test (backport v4.4)
See merge request espressif/esp-idf!16914
2022-01-27 07:18:46 +00:00
9af4484ce3
examples: Adds a note on how to meet requirements to run the example_test.py
...
export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages"
python -m pip install -r $IDF_PATH/tools/ci/python_packages/ttfw_idf/requirements.txt
It helps to fix the ModuleNotFoundError issue with ttfw_idf and tiny_test_fw modules.
Closes https://github.com/espressif/esp-idf/issues/7815
2022-01-27 14:40:10 +08:00
8ab30f72b2
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.4' into 'release/v4.4'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.4)
See merge request espressif/esp-idf!16813
2022-01-27 05:45:35 +00:00
6114ac2994
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.4' into 'release/v4.4'
...
smartconfig: Fix smartconfig set socket option fail (backport v4.4)
See merge request espressif/esp-idf!16772
2022-01-27 05:44:35 +00:00
d982a9a5e1
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.4' into 'release/v4.4'
...
component_bt: fixed config parse crash after flash_erase(v4.4)
See merge request espressif/esp-idf!16730
2022-01-27 05:44:17 +00:00
4f9afec016
Merge branch 'bugfix/ci_check_blobs_v4.4' into 'release/v4.4'
...
ci: improve checks for Wi-Fi/PHY libraries (v4.4)
See merge request espressif/esp-idf!16659
2022-01-27 05:42:56 +00:00
551cd2793b
Merge branch 'doc/optimize_hfp_doc_4_4' into 'release/v4.4'
...
Doc/optimize hfp doc [backport v4.4]
See merge request espressif/esp-idf!16451
2022-01-27 05:42:17 +00:00
bfd68507d8
Merge branch 'bugfix/PRs_on_esp_hid_v4.4' into 'release/v4.4'
...
bugfix/handle_3_esp_hid_PRs (v4.4)
See merge request espressif/esp-idf!16590
2022-01-27 05:41:52 +00:00
80a395e319
Merge branch 'Doc/optimize_spp_doc_v4.4' into 'release/v4.4'
...
Doc/Optimize SPP Document[backport 4.4]
See merge request espressif/esp-idf!16603
2022-01-27 05:41:33 +00:00
5788a393ea
Merge branch 'doc/update_document_of_demo_bt_discovery_v4.4' into 'release/v4.4'
...
Doc/update document of demo bt discovery v4.4
See merge request espressif/esp-idf!16575
2022-01-27 05:40:52 +00:00
7d9b93e2e0
Merge branch 'bugfix/MR16031_v4.4' into 'release/v4.4'
...
heap: adjust the order of RTC memory heap caps and regions(backport v4.4)
See merge request espressif/esp-idf!16704
2022-01-27 05:30:02 +00:00
7d9652dccf
System/Security: Memprot API unified (ESP32C3,ESP32S3)
...
Unified Memory protection API for all PMS-aware chips
Closes JIRA IDF-3849
2022-01-27 12:40:27 +08:00
386c2a2322
bugfix: checkout ref failed for origin branches
2022-01-27 11:55:58 +08:00
fc1b518ef7
ci: exclude git files when uploading artifacts
2022-01-27 11:55:58 +08:00
beda92a7a5
ci: update intergration test to support esp32c3
2022-01-27 11:55:53 +08:00
606f8fd59b
ci: optimize downloading build_ssc artifacts
2022-01-26 22:33:14 +08:00
641bfa388a
ci: move integration test related files outside of components
2022-01-26 22:33:14 +08:00
2ba22c4c6e
ci: fix target_test label usage
2022-01-26 22:33:14 +08:00
6e11783992
ci: split assign tests
2022-01-26 22:33:09 +08:00
55b1756d5f
Merge branch 'contrib/github_pr_8139_backport_v4.4' into 'release/v4.4'
...
ledc.h - fix extern "C" to include ledc_cb_register() (backport v4.4)
See merge request espressif/esp-idf!16585
2022-01-26 13:40:22 +00:00
b5217ba9a2
Merge branch 'ci/enable_s3_examples_build_v4.4' into 'release/v4.4'
...
ci: re-enable s3 build for few examples (v4.4)
See merge request espressif/esp-idf!16894
2022-01-26 13:38:14 +00:00
56e854bb4e
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.4' into 'release/v4.4'
...
CI: change ap authmode from number to string (backport v4.4)
See merge request espressif/esp-idf!16553
2022-01-26 11:53:30 +00:00
46fba83ac8
Merge branch 'bugfix/idf_tools_python_env_v4.4' into 'release/v4.4'
...
tools: improve virtualenv diagnostics, set python path explicitly (v4.4)
See merge request espressif/esp-idf!16807
2022-01-26 10:00:32 +00:00
65b3e0601f
Merge branch 'bugfix/add_dummy_to_total_size_v4.4' into 'release/v4.4'
...
Tools: fix bug with total size calculation issue (v4.4)
See merge request espressif/esp-idf!16859
2022-01-26 09:59:48 +00:00
a59e3ab59d
Merge branch 'feature/esp32s3_apptrace_v4.4' into 'release/v4.4'
...
Feature/esp32s3 apptrace v4.4
See merge request espressif/esp-idf!16649
2022-01-26 09:58:35 +00:00
ea62bcfaf0
Merge branch 'feature/ccache_in_ci_v4.4' into 'release/v4.4'
...
ci: enable ccache for build jobs (v4.4)
See merge request espressif/esp-idf!16806
2022-01-26 09:12:32 +00:00
a76f908074
Merge branch 'test/remove_spi_flash_perf_thr_v4.4' into 'release/v4.4'
...
spi_flash_test: remove threshold from unit test (v4.4)
See merge request espressif/esp-idf!16821
2022-01-26 08:20:26 +00:00
446d3bfec8
Fix for advanced_ota_redirect_url example failure in CI
2022-01-26 10:42:13 +08:00
839c34fd0a
Fix 'address already in use' exception in OTA tests
...
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2022-01-26 10:42:13 +08:00
f546d5e493
Merge branch 'fix/http2_request_example_v4.4' into 'release/v4.4'
...
http2_request_example: Change the target http2 server to http2.github.io (v4.4)
See merge request espressif/esp-idf!16670
2022-01-26 02:39:16 +00:00
f5ef3e2cf2
Merge branch 'wifi_prov_mgr/service_key_check_v4.4' into 'release/v4.4'
...
wifi_prov_mgr: Added check for passphrase length in softAP scheme (v4.4)
See merge request espressif/esp-idf!16569
2022-01-26 02:37:43 +00:00
48eea7c479
Merge branch 'bugfix/fix_esp_https_ota_v4.4' into 'release/v4.4'
...
esp_https_ota: Fix esp_https_ota_begin may return error and exist memory leak (backport v4.4)
See merge request espressif/esp-idf!16777
2022-01-26 02:36:56 +00:00
39386e05a5
Merge branch 'bugfix/invalid_url_cause_to_crash_v4.4' into 'release/v4.4'
...
http: Fix parsing invalid url cause to crash (v4.4)
See merge request espressif/esp-idf!16478
2022-01-26 02:34:29 +00:00
e19cc280d9
Merge branch 'docs/update_ws_server_example_readme_v4.4' into 'release/v4.4'
...
docs: Add user-friendly guide about how to use ws_server_example_test.py (backport v4.4)
See merge request espressif/esp-idf!16782
2022-01-26 02:31:22 +00:00
fb1d00a9d1
Merge branch 'bugfix/efuse_timesettigs_in_burn_op_v4.4' into 'release/v4.4'
...
efuse: Fixes eFuse timesettings issue on esp32c3 (v4.4)
See merge request espressif/esp-idf!16921
2022-01-26 00:52:33 +00:00
979745417b
Merge branch 'refactor/tinyusb_uses_usb_phy_v4.4' into 'release/v4.4'
...
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY (v4.4)
See merge request espressif/esp-idf!16855
2022-01-26 00:51:42 +00:00
40949e8d43
Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.4' into 'release/v4.4'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.4)
See merge request espressif/esp-idf!16740
2022-01-26 00:50:54 +00:00
eb13f8a61d
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision_v4.4' into 'release/v4.4'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (v4.4)
See merge request espressif/esp-idf!16673
2022-01-26 00:50:35 +00:00
3ea2a2ba9c
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_when_image_invalid_v4.4' into 'release/v4.4'
...
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check. (v4.4)
See merge request espressif/esp-idf!16923
2022-01-26 00:50:09 +00:00
0b5d4edbc6
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 19:58:29 +08:00
1638b36804
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-25 19:14:31 +08:00
c11b6f4885
fix console stuck in auto test
2022-01-25 17:04:48 +08:00
780b9b6d78
Merge branch 'update/version_4_4_0' into 'release/v4.4'
...
Update version to 4.4.0
See merge request espressif/esp-idf!16909
2022-01-25 08:42:49 +00:00
c899c1b1da
Merge branch 'bugfix/mdns_txt_alloc_issue_v4.4' into 'release/v4.4'
...
mdns: Fix alloc issue if TXT has empty value(Backport v4.4)
See merge request espressif/esp-idf!16889
2022-01-25 06:33:54 +00:00
8153bfe412
versions: Update version to 4.4.0
2022-01-24 23:05:26 +01:00
9f3b116e4f
optmize a2dp demo document
2022-01-24 14:23:09 +08:00
e088379b26
ci: re-enable s3 build for few examples
2022-01-24 09:54:08 +05:30
9f0a6d8e16
Merge branch 'bugfix/mdns_txt_alloc_issue_v4.4' into 'release/v4.4'
...
mdns: Fix alloc issue if TXT has empty value
See merge request espressif/esp-idf!16889
2022-01-21 18:55:51 +00:00
b3f913a058
mdns: Fix alloc issue if TXT has empty value
2022-01-21 22:52:33 +04:00
0b46ac1732
Merge branch 'bugfix/pppos_client_docs_power' into 'release/v4.4'
...
Examples/PPPoS: Add troubleshooting to correctly power modem (v4.4)
See merge request espressif/esp-idf!16235
2022-01-21 09:46:13 +00:00
88486324db
Merge branch 'bugfix/fix_tcp_transport_exception_v4.4' into 'release/v4.4'
...
tcp_transport: fix tcp trasnport exception(backport release/v4.4)
See merge request espressif/esp-idf!16811
2022-01-21 09:45:45 +00:00
f4c97455c4
Merge branch 'bugfix/apll_coeff_calculate_v4.4' into 'release/v4.4'
...
i2s: impove the clock division calculation (v4.4)
See merge request espressif/esp-idf!16783
2022-01-21 07:06:30 +00:00
b4fbd87f42
http2_request_example: Change the target http2 server to http2.github.io
and
...
perform only a `GET` request.
2022-01-21 09:15:32 +05:30
f6ab703390
lcd: alloc framebuffer in alignment
2022-01-21 11:30:20 +08:00
9c262ce065
lcd: split gpio check for de and hv mode
2022-01-21 11:30:20 +08:00
ab118fe8be
Merge branch 'bugfix/i2s_return_error_code_v4.4' into 'release/v4.4'
...
i2s: revert the reading/writing can return timeout error (v4.4)
See merge request espressif/esp-idf!16749
2022-01-21 01:21:07 +00:00
a48c6e097a
tcp_transport: fix tcp trasnport exception
2022-01-20 15:38:44 +08:00
960672b979
add test for checking memory segments with esptool.py
2022-01-19 17:32:19 +01:00
40eede261e
tools/idf_size: Fixed bug with wrong memory calculation
2022-01-19 17:32:18 +01:00
6a6801e357
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY
2022-01-19 18:18:08 +08:00
0382215ec7
spi_flash_test: remove threshold from unit test
2022-01-17 15:07:06 +08:00
a0e20e17f0
fix cs event for rd_rem_ext_feats delayed issue
2022-01-17 13:02:26 +08:00
2e3f4ff6dd
tools: improve virtualenv diagnostics, set python path explicitly
...
- Check if pip is installed for sys.executable before attempting to
create the virtual environment, bail out with an error if not.
- Don't pass --seeder argument to virtualenv if its version is
too old. For example, on Ubuntu 18.04, virtualenv 15.1.0 doesn't
support this argument.
- Pass --python argument to virtualenv to request specific interpreter
to be used.
Closes https://github.com/espressif/esp-idf/issues/8045
2022-01-16 21:45:30 +01:00
698b406e56
ci: enable ccache for build jobs
2022-01-16 21:43:15 +01:00
d17194caea
ci: disable ccache when running CMake build system tests
...
Some tests check if certain files are rebuilt when source files are
'touch'ed. With ccache, 'touch'ing source files doesn't cause a
rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in
the environment, unset it before starting the tests.
2022-01-16 21:43:15 +01:00
816b0ce878
i2s: impove the apll and clock division calculation
2022-01-13 11:06:40 +08:00
f3e0c8bc41
Merge branch 'feature/oocd_ver_upgrade_v4.4' into 'release/v4.4'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220' (v4.4)
See merge request espressif/esp-idf!16765
2022-01-12 14:19:54 +00:00
2a89b3c15a
docs: Add user-friendly guide about how to use ws_server_example_test.py
...
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-12 20:36:59 +08:00
dbb0eeecc7
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-12 19:53:08 +08:00
a3a05dc056
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220'
2022-01-12 16:39:07 +08:00
813948d137
Merge branch 'bugfix/tools_win_patch2_v4.4' into 'release/v4.4'
...
Add toolchain patch2 version for Windows with --with-gnu-ld option (v4.4)
See merge request espressif/esp-idf!16758
2022-01-12 08:33:35 +00:00
d0d3a2f2a0
Merge branch 'bugfix/idf_tools_test_without_versions_v4.4' into 'release/v4.4'
...
Tools: Load tool versions automatically for IDF Tools tests (v4.4)
See merge request espressif/esp-idf!16510
2022-01-12 08:29:46 +00:00
9cf57a86a0
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-12 14:48:02 +08:00
c22e33d2ca
tools: Add toolchain esp-2021r2-patch2 version for Windows with --with-gnu-ld option
...
Closes https://github.com/espressif/esp-idf/issues/7864
2022-01-11 20:20:43 +07:00
f0aaf48a93
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-11 15:43:29 +08:00
7aa2577d86
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-11 12:09:11 +08:00
8f2045f0da
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2022-01-10 21:57:29 +08:00
f4b329f9a5
Rename controller_hci_uart_esp32c3 to controller_hci_uart_esp32c3_and_esp32s3
2022-01-10 20:18:24 +08:00
b5d76c8c32
Added support for ESP32-S3 chip in controller_hci_uart_esp32c3's README
2022-01-10 20:18:17 +08:00
121b33be29
add nvs initialize
2022-01-10 20:18:12 +08:00
7485b4d4b2
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 19:17:13 +08:00
49f496e539
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 19:16:25 +08:00
e4277d5202
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-10 19:15:30 +08:00
d338750b86
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-10 19:15:17 +08:00
50e00e641b
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-10 17:41:57 +08:00
03d3c43882
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.4_mr' into 'release/v4.4'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16637
2022-01-10 08:31:33 +00:00
67b4ba33dd
spi_flash: add support for th 1M flash
2022-01-10 12:39:09 +08:00
e2ef65e117
psram: add ESP32-D0WD-R2-V3 support
2022-01-10 10:39:00 +08:00
23ec015d75
adjust the order of RTC memory heap caps and regions
2022-01-08 16:19:35 +08:00
81936fd2b6
docs: add an example list for esp-wrover-kit
2022-01-07 16:47:54 +08:00
22b57850bd
Merge branch 'bugfix/dpp_no_ip_issue_v4.4' into 'release/v4.4'
...
Fix STA not getting IP after DPP issue (Backport v4.4)
See merge request espressif/esp-idf!16645
2022-01-06 10:07:02 +00:00
bead7c2eeb
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-01-06 15:44:17 +08:00
c1162b15dc
Merge branch 'docs/s3_update_v4.4' into 'release/v4.4'
...
docs: update remaining programming guide docs for S3 (v4.4)
See merge request espressif/esp-idf!16668
2022-01-06 06:39:19 +00:00
b5a1df1db4
Merge branch 'bugfix/spi_slave_test_non_dma_v4.4' into 'release/v4.4'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM (v4.4)
See merge request espressif/esp-idf!16305
2022-01-06 03:11:12 +00:00
219242de89
Merge branch 'bugfix/uart_custom_isr_broken' into 'release/v4.4'
...
UART: fix a bug preventing the user from freeing a previously registered ISR
See merge request espressif/esp-idf!16581
2022-01-06 03:10:29 +00:00
b64925c567
Merge branch 'docs/fatal_errors_update_4.4' into 'release/v4.4'
...
refactor (docs): improved fatal errors doc (backport v4.4)
See merge request espressif/esp-idf!16626
2022-01-06 03:10:05 +00:00
116ecf098c
docs: Refactor FreeRTOS documentation
...
This commit refactors the FreeRTOS documentation as follows:
- Rewrite FreeRTOS SMP changes document (ESP-IDF FreeRTOS SMP)
- Reorganized sections in kernel behavior changes
- Rewrote descriptions of each kernel behavior changes
- Added notes about using ESP-IDF FreeRTOS for single core targets
- Moved TLSP callback section to FreeRTOS Additions document
- Moved FreeRTOS configuration section to FreeRTOS API document
- Added notes about FreeRTOS applications in ESP-IDF
2022-01-06 10:19:33 +08:00
5869a4854f
docs: fix hard coded target name in essl doc
2022-01-06 10:14:58 +08:00
65e9385d0a
docs: Update Power Management and Sleep Modes docs for ESP32-S3
2022-01-06 10:14:57 +08:00
b0812baacd
docs: Update TWAI docs for ESP32-S3
2022-01-06 10:14:57 +08:00
a0ed387f71
docs: update performance guide docs with S3 information
2022-01-06 10:14:57 +08:00
02bf07a1a0
docs: update docs with S3 specific information.
2022-01-06 10:14:54 +08:00
2e4c95c1ee
update s3 doc
2022-01-06 10:09:51 +08:00
8c2990fcea
trax: Adds ESP32-S3 support
2022-01-05 19:34:28 +01:00
18cd2ea3e6
apptrace: Adds ESP32-S3 support
2022-01-05 19:26:33 +01:00
fd9f97b5f4
emac_hal_start/stop function description added
2022-01-05 16:26:37 +01:00
63366f011a
phy: update phy lib to remove ets_printf references
2022-01-05 17:29:55 +08:00
09552fdf68
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-05 17:29:35 +08:00
b9989d3644
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
2022-01-05 16:24:00 +08:00
d83021a6e8
Merge branch 'bugfix/ftm_misc_issues_v4.4' into 'release/v4.4'
...
Miscellaneous FTM bugfixes (Backport v4.4)
See merge request espressif/esp-idf!16644
2022-01-05 08:12:39 +00:00
52224aebcf
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 10:46:46 +08:00
53c2b1f65b
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-01-04 15:49:45 +05:30
4288588751
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-01-04 13:38:03 +08:00
d1f1b03beb
Merge branch 'contrib/github_pr_7971_v4.4' into 'release/v4.4'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h> (v4.4)
See merge request espressif/esp-idf!16566
2022-01-04 03:37:35 +00:00
9a00ef1bc2
Merge branch 'feature/s3_rng_v4.4' into 'release/v4.4'
...
Bootloader add rng sampling (v4.4)
See merge request espressif/esp-idf!16623
2022-01-04 03:37:15 +00:00
abc18659e6
Merge branch 'bugfix/freertos_appcpu_int_disable_v4.4' into 'release/v4.4'
...
freertos: ensure interrupts are disabled before enabling tick timer (v4.4)
See merge request espressif/esp-idf!16606
2022-01-04 03:36:54 +00:00
8628079c42
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 10:42:09 +08:00
f9e7eb1fbf
refactor (docs): improved fatal errors doc
2022-01-04 10:02:29 +08:00
ee24264c75
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2022-01-03 16:24:41 +05:30
bd9ee38f3c
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-31 14:40:21 +08:00
f29492dc9d
fix typos and format
2021-12-31 11:18:17 +08:00
dc707d5933
freertos: ensure interrupts are disabled before enabling tick timer
...
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.
Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-30 18:00:59 +08:00
3b1bdce816
optimize SPP documents
2021-12-30 16:11:56 +08:00
b25fb1111d
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2021-12-30 12:27:14 +08:00
e39b0dcd2e
spacing styling correction
2021-12-30 10:47:49 +08:00
a61a935506
minor styling changes
2021-12-30 10:47:49 +08:00
b72a03fd07
esp_hid: fix output report char declaration
...
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-30 10:47:49 +08:00
629bd67001
fix on esp_hidh report map length checking function
...
Closes https://github.com/espressif/esp-idf/issues/7586
2021-12-30 10:47:49 +08:00
8423e7d785
ledc.h - fix extern "C" to include ledc_cb_register()
...
(cherry picked from commit d4de08182e
)
2021-12-29 21:14:37 +08:00
bf6b3ec0a8
component/bt: Support set HW CCA threshold value
2021-12-29 14:43:33 +08:00
5fc5016981
component/bt: fix periodic adv parameters detection issue
2021-12-29 14:43:22 +08:00
ace24fd3f8
components/bt: modify name of file
2021-12-29 14:31:54 +08:00
f4c6c48123
components/bt: Update the document of demo bt discovery
2021-12-29 14:31:38 +08:00
55bd48b24e
components/bt: Modify demo bt_discovery
2021-12-29 14:31:20 +08:00
474ff3e38f
wifi_prov_mgr: Added check for passphrase length in softAP scheme
...
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-28 18:13:40 +05:30
9d73448272
Fix copyright headers for few include files
2021-12-28 14:29:33 +05:30
530a06cf61
bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once".
2021-12-28 14:29:28 +05:30
bd8e9d98ba
CI: change ap authmode from number to string (backport v4.4)
2021-12-27 19:57:40 +08:00
214d62b9ad
Merge branch 'bugfix/install_key_refactor_v4.4' into 'release/v4.4'
...
esp_wifi: Refactor key install code(backport v4.4)
See merge request espressif/esp-idf!16532
2021-12-24 11:48:51 +00:00
d57b946bbf
esp_wifi: Refactor key install code
2021-12-24 11:58:18 +08:00
f9ab0ac458
Merge branch 'feature/usb-msc_v4.4' into 'release/v4.4'
...
USB MSC class (v4.4)
See merge request espressif/esp-idf!16530
2021-12-24 03:48:29 +00:00
84ac488837
Merge branch 'bugfix/alarm_update_invalid_v4.4' into 'release/v4.4'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.4)
See merge request espressif/esp-idf!16524
2021-12-24 03:48:10 +00:00
3171667845
Merge branch 'bugfix/rtc_section_alignment_v4.4_2' into 'release/v4.4'
...
System: fix RTCFAST section alignment (v4.4)
See merge request espressif/esp-idf!16517
2021-12-24 03:47:02 +00:00
3b4c2b8281
Merge branch 'bugfix/doc_for_ipc_isr_v4.4' into 'release/v4.4'
...
esp_ipc: Update documentation and API descriptions (v4.4)
See merge request espressif/esp-idf!16032
2021-12-24 03:35:54 +00:00
11cbcdf46a
Merge branch 'bugfix/wpa3_memory_leak_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes memory leak in wpa3.
See merge request espressif/esp-idf!16528
2021-12-24 03:27:31 +00:00
204aa05d0b
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-23 18:30:24 +01:00
88acf66506
Merge branch 'bugfix/freemodbus_timer_struct_not_initialized' into 'release/v4.4'
...
freemodbus: fixed timer config struct not initialized issue (v4.4)
See merge request espressif/esp-idf!16117
2021-12-23 17:15:00 +00:00
e093575e39
freemodbus: fixed timer config struct not initialized issue (v4.4)
2021-12-23 17:15:00 +00:00
ec554944b7
Merge branch 'feature/backport/usb_host/cdc_driver' into 'release/v4.4'
...
USB: Add CDC-ACM subclass host driver (backport v4.4)
See merge request espressif/esp-idf!16363
2021-12-23 17:02:33 +00:00
7cd52401b0
esp_wifi: Fixes memory leak in wpa3.
2021-12-23 19:05:03 +05:30
5b80dd44be
Merge branch 'feature/gdma_iram_interrupt_v4.4' into 'release/v4.4'
...
gdma: support IRAM interrupt (v4.4)
See merge request espressif/esp-idf!15993
2021-12-23 12:50:22 +00:00
9f5c6f287e
Merge branch 'feature/update_adc_cali_due_to_efuse_version_change_v4.4' into 'release/v4.4'
...
adc: update s3 adc calibration efuse version (v4.4)
See merge request espressif/esp-idf!16357
2021-12-23 12:49:11 +00:00
81f81b97c3
Merge branch 'feature/adc_dma_driver_4.4' into 'release/v4.4'
...
adc: dma driver (v4.4)
See merge request espressif/esp-idf!16437
2021-12-23 12:48:47 +00:00
9a42760b22
Merge branch 'feature/posix_compat_functions_v4.4' into 'release/v4.4'
...
newlib: implement posix_memalign, sysconf, realpath (v4.4)
See merge request espressif/esp-idf!16464
2021-12-23 11:20:54 +00:00
66dd3dade9
Merge branch 'bugfix/ldgen_plus_in_archive_name_v4.4' into 'release/v4.4'
...
ldgen: allow + sign in archive names (v4.4)
See merge request espressif/esp-idf!16467
2021-12-23 11:15:47 +00:00
b0122177b7
timer: stop alarm if alarm value doesn't change in ISR handler
...
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.
Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-23 18:58:43 +08:00
ec380d04b2
Merge branch 'refactor/fun_pointer_opi_v4.4' into 'release/v4.4'
...
opi_flash: Add a function pointer for opi required registers(backport v4.4)
See merge request espressif/esp-idf!16359
2021-12-23 09:24:18 +00:00
61149302e5
Merge branch 'bugfix/fix_spp_open_err_bda_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.4]
See merge request espressif/esp-idf!16519
2021-12-23 09:23:33 +00:00
1ec46ad3b8
adc: support adc dma driver on all chips
2021-12-23 17:13:46 +08:00
6279f9eb62
Merge branch 'bugfix/fix_heap_memory_corruption_v4.4' into 'release/v4.4'
...
Heap: Fix a possible bug in the TLSF allocator (backport v4.4)
See merge request espressif/esp-idf!16507
2021-12-23 03:29:45 +00:00
7f48664eda
Merge branch 'feature/mbedtls-2.16.12-integration_v4.4' into 'release/v4.4'
...
mbedtls: upgrade to release v2.16.12 (v4.4)
See merge request espressif/esp-idf!16483
2021-12-23 03:26:17 +00:00
cb2906c7b2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.4' into 'release/v4.4'
...
components/bt: fix blufi encryption fail(backport release/v4.4)
See merge request espressif/esp-idf!16314
2021-12-23 03:23:24 +00:00
3390caf994
fix SPP open with wrong remote bd_addr
2021-12-23 10:02:39 +08:00
60386410ae
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-22 21:58:20 +01:00
ba50a4e25e
Merge branch 'bugfix/stdatomic_sync_op_and_fetch_v4.4' into 'release/v4.4'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins (v4.4)
See merge request espressif/esp-idf!16465
2021-12-22 12:44:09 +00:00
62322caf38
Merge branch 'contrib/github_pr_7966_v4.4' into 'release/v4.4'
...
Changed argument pointer to correct data (GitHub PR) (v4.4)
See merge request espressif/esp-idf!16423
2021-12-22 12:42:27 +00:00
3051ad2159
components/bt: fix blufi encryption fail
2021-12-22 20:40:48 +08:00
710883d9bf
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.4' into 'release/v4.4'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.4)
See merge request espressif/esp-idf!16476
2021-12-22 12:38:17 +00:00
af429e56bb
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4' into 'release/v4.4'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4)
See merge request espressif/esp-idf!16497
2021-12-22 12:36:40 +00:00
a15bac6b5c
Merge branch 'docs/fix_typo_in_header_file' into 'release/v4.4'
...
docs: Fix typo in sdmmc_cmd.h and inconsistency in spi_master.h (backport release/v4.4)
See merge request espressif/esp-idf!16382
2021-12-22 12:34:05 +00:00
451a173960
Merge branch 'bugfix/idf_exe_dll_deps_v4.4' into 'release/v4.4'
...
tools: fix idf_exe dependency on vcruntime140.dll, move it out of IDF (v4.4)
See merge request espressif/esp-idf!16352
2021-12-22 12:29:58 +00:00
255ca3d18e
Merge branch 'feature/cmake_linux_arm64_v4.4' into 'release/v4.4'
...
tools: updates for linux-arm64 (aarch64) platform (v4.4)
See merge request espressif/esp-idf!16353
2021-12-22 12:29:33 +00:00
abc7365777
Merge branch 'docs/pthread_rw_lock' into 'release/v4.4'
...
Docs: documentation about reader-writer-lock impl (v4.4)
See merge request espressif/esp-idf!16148
2021-12-22 12:29:19 +00:00
07221ebaf5
Merge branch 'bugifx/freertos_missing_api_config_v4.4' into 'release/v4.4'
...
freertos: Add missing INCLUDE_ configurations for some functions (v4.4)
See merge request espressif/esp-idf!16267
2021-12-22 12:28:35 +00:00
c2a71ce5c6
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...(backport v4.4)
See merge request espressif/esp-idf!16472
2021-12-22 12:27:27 +00:00
f158a0d538
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-22 10:54:54 +01:00
0b43544a24
Tools: Load tool versions automatically for IDF Tools tests
2021-12-22 10:31:17 +01:00
155de9c49e
Heap: Add a target test to check that TLFS allocates the requested size
2021-12-22 14:06:41 +08:00
09db8845c6
Heap: Fix a possible bug in the TLSF allocator
...
Fix a bug that could return a chunk of memory smaller than requested,
easily leading to a memory corruption, when the required memory alignment
passed to the allocator is 4.
2021-12-22 14:06:41 +08:00
5f5f8bd64e
Merge branch 'bugifx/nimble_timer_memory_leak_v4.4' into 'release/v4.4'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.4)
See merge request espressif/esp-idf!16445
2021-12-22 05:45:23 +00:00
02c7dbab81
Merge branch 'ci/upload_build_example_for_release_test_4.4' into 'release/v4.4'
...
ci: preserve artifacts for local test apps (4.4)
See merge request espressif/esp-idf!16291
2021-12-22 05:44:01 +00:00
775f2886cc
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.4)
See merge request espressif/esp-idf!16390
2021-12-22 05:40:19 +00:00
74ba1175b6
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-21 14:04:55 +01:00
c91afab332
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_SSL_PROTO_DTLS when open MBEDTLS_DYNAMIC_BUFFER
2021-12-21 16:31:47 +08:00
3e3e1a9a9d
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-21 13:58:40 +05:30
d0b465c7cd
mbedtls: small documentation update
2021-12-21 13:58:40 +05:30
8152978d73
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:43:33 +08:00
bcd47fa0cc
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-21 12:31:42 +08:00
d037359359
Merge branch 'bugfix/static_analysis_fixes_v4.4' into 'release/v4.4'
...
ESP_WIFI: Remove static analysis warnings(backport v4.4)
See merge request espressif/esp-idf!16333
2021-12-21 04:11:22 +00:00
187f47d232
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.4' into 'release/v4.4'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.4)
See merge request espressif/esp-idf!16377
2021-12-21 04:07:13 +00:00
c50eec53d1
Merge branch 'bugfix/fix_spp_listen_err_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.4]
See merge request espressif/esp-idf!16383
2021-12-21 04:06:40 +00:00
a650995a2e
Merge branch 'bugfix/bt_enc_proc_finish_v4.4' into 'release/v4.4'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16424
2021-12-21 04:06:22 +00:00
8529a1da35
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.4' into 'release/v4.4'
...
esp_wifi: Change the verbosity of wpa_supplicant logs (Backport v4.4)
See merge request espressif/esp-idf!16340
2021-12-21 04:03:17 +00:00
f01fa89404
Merge branch 'mesh/bugfix_fix_no_ip_issue_v4.4' into 'release/v4.4'
...
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted(backport_v4.4)
See merge request espressif/esp-idf!16343
2021-12-21 04:02:14 +00:00
518f94270b
Merge branch 'bugfix/v4.4-otbr-crash' into 'release/v4.4'
...
openthread: update libraries to v4.4 release
See merge request espressif/esp-idf!16447
2021-12-21 04:01:38 +00:00
f72baac109
freertos: Add missing INCLUDE_ configurations for some functions
...
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:
- xTaskAbortDelay()
- xTaskGetHandle()
Unit tests for these functions were also added.
Closes https://github.com/espressif/esp-idf/issues/7902
2021-12-21 10:54:28 +08:00
fbdb781fcb
ldgen: allow + sign in archive names
...
Closes https://github.com/espressif/esp-idf/issues/8073
2021-12-21 02:16:32 +01:00
c8c65a2854
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-21 02:15:45 +01:00
8763c82e26
Fix Typos
2021-12-20 17:04:24 +08:00
dec183dbb5
Optimize HFP Documents
2021-12-20 17:04:15 +08:00
9688cf5c04
openthread: update libraries to v4.4 release
...
Fixes the library mismatch and border router crash issue in v4.4
release.
2021-12-20 16:16:10 +08:00
63ac2111ce
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-12-20 12:41:10 +08:00
a79dc75f0a
Merge branch 'bugfix/fix_variable_on_stack_bug_in_seg_slave_example_v4.4' into 'release/v4.4'
...
spi_slave_hd: fix stack variable bug in seg_slave example (v4.4)
See merge request espressif/esp-idf!16388
2021-12-16 10:17:56 +00:00
161d7ee25a
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion_v4.4' into 'release/v4.4'
...
mcpwm: fix implicit conversion in LL function (v4.4)
See merge request espressif/esp-idf!16407
2021-12-16 10:16:03 +00:00
a2b88eb1a0
Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3_v4.4' into 'release/v4.4'
...
adc: fix adc1 channel 8 and 9 not defined bug on s3 (v4.4)
See merge request espressif/esp-idf!16399
2021-12-16 10:14:17 +00:00
431bf72295
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-16 15:41:31 +05:30
04fab6f1ac
Fixed pcap summary print of 802.11 frame
...
802.11 Packet Type and Packet Subtype is now correctly decoded
2021-12-16 10:28:30 +01:00
762031424b
Changed argument pointer to correct data
2021-12-16 10:28:30 +01:00
b67c833c88
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted
2021-12-16 17:23:55 +08:00
23e4c12a86
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-15 10:24:42 +08:00
2aed35b804
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-14 20:10:47 +08:00
40ae2037bc
esp_wifi: Change the verbosity of wpa_supplicant log.
2021-12-14 14:29:09 +05:30
416b3b9465
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-14 12:46:37 +08:00
c42db9308f
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 12:46:11 +08:00
094b3dba33
esp_wifi: fix fragment issue and PMF compatible for faulty APs
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-14 12:42:25 +08:00
39ed1b2862
spi_slave_hd: fix stack variable bug in seg_slave example
...
Closes https://github.com/espressif/esp-idf/issues/7163
2021-12-14 12:36:40 +08:00
b8602d4bf9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:03:57 +08:00
215f8fe68e
docs: fix typo in header files
2021-12-14 11:01:17 +08:00
a628ef5be0
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:32:34 +08:00
5086d6f3d2
components/bt: Support low duty cycle directed advertising
2021-12-14 09:32:15 +08:00
7506a725be
docs: Rebase and typos fixed for the bluetooth README files
2021-12-13 10:31:09 +00:00
4a429d59ac
adc: update adc calibration efuse version
...
ADC calibration scheme and algorithm are not changed. Only the eFuse bit BLOCK1_VERSION is changed. This MR updated the logic to recognize the adc efuse version
2021-12-13 13:03:23 +08:00
f64f2e4955
docs: Update inconsistency parts for S3 documentation, set a default value for future targets, and remove line breaks inside paragraphs
2021-12-13 11:23:18 +08:00
e04eae6659
usb: Add USB host CDC-ACM class driver
2021-12-10 10:04:16 +01:00
a9a5894fe9
opi_flash: Add a function pointer for opi required registers
2021-12-10 15:11:33 +08:00
36934317b0
tools: don't install binutils-esp32ulp on aarch64
...
Once new binutils-esp32ulp is made and aarch64 artifacts are added,
will add these tools back.
Related to https://github.com/espressif/esp-idf/issues/6432
2021-12-09 17:36:00 +01:00
4949d55ea0
tools: add CMake for linux-arm64 (aarch64) platform
...
Allows installing cmake on aarch64 linux platforms. Also necessary
when building IDF docker image on macOS aarch64.
Part of https://github.com/espressif/esp-idf/issues/6432
2021-12-09 17:36:00 +01:00
8b4b2234e4
tools: upgrade idf_exe to 1.0.3
...
https://github.com/espressif/idf_py_exe_tool/releases/tag/v1.0.3
2021-12-09 17:24:43 +01:00
07644ee5cd
tools: move idf_exe out of IDF
...
Source code moved into https://github.com/espressif/idf_py_exe_tool ,
so that releases can be built in CI and hosted on Github.
2021-12-09 17:24:43 +01:00
f23dcd3555
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue_4.4' into 'release/v4.4'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16287
2021-12-09 08:32:34 +00:00
a39af9b000
Merge branch 'bugfix/s3_rtc_ram_deepsleep_test_v4.4' into 'release/v4.4'
...
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure (v4.4)
See merge request espressif/esp-idf!16341
2021-12-09 08:25:04 +00:00
25873a668a
Merge branch 'bugfix/remove_PIP_USER_v4.4' into 'release/v4.4'
...
tools: Add check for PIP_USER variable (backport v4.4)
See merge request espressif/esp-idf!16338
2021-12-09 08:11:55 +00:00
d730c84038
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-12-09 13:59:30 +08:00
fd2000184a
ci: add test dir examples/bluetooth/hci/controller_hci_uart_esp32
2021-12-09 13:48:38 +08:00
4d73d4db36
example: build ble_mesh_console example on c3 and s3 as well
2021-12-09 13:48:38 +08:00
4a11276cf4
ci: preserve artifacts for local test apps
2021-12-09 13:48:38 +08:00
e104dd7f27
Merge branch 'bugfix/fix_wifi_bugs_v4.4' into 'release/v4.4'
...
esp_wifi: fix wifi bugs (Backport v4.4)
See merge request espressif/esp-idf!16278
2021-12-08 15:46:40 +00:00
1e39970e91
tools: Add check for PIP_USER variable
...
Closes https://github.com/espressif/esp-idf/issues/7910
2021-12-08 16:25:17 +01:00
bd650062ca
Merge branch 'feature/update_rtc_memory_heap_caps' into 'release/v4.4'
...
heap: update RTC memory heap caps (backport v4.4)
See merge request espressif/esp-idf!15941
2021-12-08 13:35:18 +00:00
141c1cd004
Merge branch 'bugfix/crypto_allocate_lldesc_v4.4' into 'release/v4.4'
...
crypto: dont create DMA descriptors on the stack (v4.4)
See merge request espressif/esp-idf!16323
2021-12-08 13:31:41 +00:00
a77ab8c03e
ESP_WIFI: Remove static analysis warnings
2021-12-08 18:03:43 +05:30
c190ab1830
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.4' into 'release/v4.4'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.4)
See merge request espressif/esp-idf!16228
2021-12-08 11:56:15 +00:00
9c686ff341
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:16:28 +08:00
fe5ee1041c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware_4.4' into 'release/v4.4'
...
[freertos]: Changed minimal stack size to regard watchpoint usage (backport v4.4)
See merge request espressif/esp-idf!16303
2021-12-08 10:28:05 +00:00
f2db4c7520
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.4' into 'release/v4.4'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.4)
See merge request espressif/esp-idf!16229
2021-12-08 10:26:12 +00:00
b4a32e3812
Merge branch 'bugfix/html_redirect_v4.4' into 'release/v4.4'
...
docs: fix html redirects not working (v4.4)
See merge request espressif/esp-idf!16284
2021-12-08 10:25:47 +00:00
a6e31652b8
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.4)
See merge request espressif/esp-idf!16275
2021-12-08 10:21:04 +00:00
7d7f91e1d8
Merge branch 'docs/update_the_pinout_figure_of_esp32_devkitc_v4.4' into 'release/v4.4'
...
docs: update the module on esp32-devkitc from esp32-wrover to esp32-wroom (v4.4)
See merge request espressif/esp-idf!15963
2021-12-08 10:15:54 +00:00
a89ff2677b
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.4' into 'release/v4.4'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.4)
See merge request espressif/esp-idf!15735
2021-12-08 10:12:25 +00:00
67fcfc2e02
Merge branch 'feature/freertos_try_enter_critical_v4.4' into 'release/v4.4'
...
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions (v4.4)
See merge request espressif/esp-idf!16040
2021-12-08 10:10:17 +00:00
ff3922d217
Merge branch 'bugfix/fix_select_timeout_v4.4' into 'release/v4.4'
...
VFS: `select` function's timeout is now POSIX compliant (and fix eventfd example) (backport v4.4)
See merge request espressif/esp-idf!16189
2021-12-08 08:32:42 +00:00
2a2d8f5cbc
efuse_example_test: Fix the example test
...
*Unify the log messages when UART ROM Download mode is kept enabled
2021-12-08 16:11:59 +08:00
2c0081b286
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-08 16:11:59 +08:00
a1ee43fe9d
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 16:10:19 +08:00
3b3826b61c
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 16:10:18 +08:00
36e1d1c180
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.4' into 'release/v4.4'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.4)
See merge request espressif/esp-idf!16309
2021-12-08 07:31:13 +00:00
feee6a2f36
Merge branch 'bugfix/eth_emac_reset_dma_desc_v4.4' into 'release/v4.4'
...
esp-eth: emac: Reset Tx DMA channel owner on init (v4.4)
See merge request espressif/esp-idf!16008
2021-12-08 07:18:42 +00:00
f4e5948102
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low_v4.4' into 'release/v4.4'
...
lcd: rgb pclk idle default to low && RMT IR protocol example for esp32s3 (v4.4)
See merge request espressif/esp-idf!16211
2021-12-08 07:01:08 +00:00
1b7cc59b10
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-12-08 07:14:08 +01:00
32077601c4
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-08 11:29:09 +08:00
68fc49c4d2
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-08 10:59:26 +08:00
d1dc428820
docs: fix html redirects not working
...
HTML redirects for docs broke during migration to esp-docs.
2021-12-07 09:12:46 +08:00
d7599a53b8
esp_wifi: Update wifi lib
...
1. Fix FTM failures after repeated operations
2. Update Mexico channel refer to FCC
3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
4. Decouple softap and 8684 support
2021-12-06 17:45:57 +08:00
f490adf800
esp_wifi: support station only mode for code size down
2021-12-06 17:34:56 +08:00
440b0001d0
esp_wifi: Reset event bits in ftm example to avoid repeated failures
...
Closes https://github.com/espressif/esp-idf/pull/7773
2021-12-06 17:34:00 +08:00
03b7ffdf4a
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-06 17:07:11 +08:00
220a91ae30
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.4' into 'release/v4.4'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.4)
See merge request espressif/esp-idf!16179
2021-12-06 04:03:11 +00:00
6affb3da3c
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.4' into 'release/v4.4'
...
freertos: fix thread safety for checking scheduler state (v4.4)
See merge request espressif/esp-idf!16126
2021-12-06 04:02:53 +00:00
3211346669
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.4' into 'release/v4.4'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.4)
See merge request espressif/esp-idf!16236
2021-12-06 04:00:36 +00:00
0c8391acb1
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.4' into 'release/v4.4'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.4)
See merge request espressif/esp-idf!16260
2021-12-06 04:00:01 +00:00
b458a60791
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.4' into 'release/v4.4'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16145
2021-12-06 03:37:24 +00:00
5e9c085ae9
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.4)
See merge request espressif/esp-idf!16170
2021-12-06 03:36:51 +00:00
faa6ec04f2
Merge branch 'feature/update_option_len_default_value_v4.4' into 'release/v4.4'
...
lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled(backport v4.4)
See merge request espressif/esp-idf!16253
2021-12-06 03:36:03 +00:00
7ae887dead
rmt: update ir example to work with esp32s3 out of box
2021-12-06 10:02:55 +08:00
e311554554
lcd: rgb pclk idle default to low
2021-12-06 10:02:55 +08:00
1d6c95000b
reduce bootup time when using usb-serial-jtag
2021-12-03 20:50:22 +08:00
3ebb1a2a00
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-03 17:23:35 +08:00
4fca21b67c
Merge branch 'feature/remove_component_manager_tests_v4.4' into 'release/v4.4'
...
ci: Remove component manager test from build system tests (v4.4)
See merge request espressif/esp-idf!16106
2021-12-02 12:09:49 +00:00
a28e0bf064
mbedtls: remove wrap from component.mk as well
...
Note: This was not required in original MR, as master branch does
not support GNU Make.
2021-12-02 17:13:31 +05:30
2af37752fe
Merge branch 'docs/update_s3_wroom_datasheet_link_backport_v4.4' into 'release/v4.4'
...
Fix link to esp32-s3-wroom-1 datasheet link (backport v4.4)
See merge request espressif/esp-idf!16093
2021-12-02 09:37:19 +00:00
7fe9d41e33
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-12-02 15:07:08 +05:30
9cb4948a23
mbedtls: update mbedtls submodule pointer for MPI API change
2021-12-02 15:07:08 +05:30
99c9637e9b
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-12-02 15:07:08 +05:30
e0e6523c09
mbedtls: update kconfig help to correct on supported MPI bits
2021-12-02 15:07:07 +05:30
c25408a009
docs:update the link to esp32-s3-wroom-1 datasheet
2021-12-02 16:51:23 +08:00
288b2a22a5
Examples/PPPoS: Add troubleshooting to correctly power modem
...
Closes https://github.com/espressif/esp-idf/issues/7807
2021-12-02 09:09:23 +01:00
b98a2a41e0
Merge branch 'bugfix/ksz8081_loopback' into 'release/v4.4'
...
KSZ8081 Loopback Callback Fix
See merge request espressif/esp-idf!16081
2021-12-02 07:29:31 +00:00
d5c607c54a
Merge branch 'bugfix/dm9051_tx_throughput_rate_optimization_v4.4' into 'release/v4.4'
...
esp_eth: optimize dm9051 Tx throughput(v4.4)
See merge request espressif/esp-idf!15885
2021-12-02 06:51:22 +00:00
92829f66c8
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-12-02 10:25:06 +05:30
762689de86
ci: Fix build system tests to clean the dir
2021-12-01 18:19:15 +01:00
aa96a98c0c
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.4' into 'release/v4.4'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.4)
See merge request espressif/esp-idf!16187
2021-12-01 04:20:54 +00:00
66c547e5ab
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.4' into 'release/v4.4'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.4)
See merge request espressif/esp-idf!15881
2021-12-01 04:18:48 +00:00
3a1e8a9810
Merge branch 'bugfix/avoid-exception-messages-while-export_v4.4' into 'release/v4.4'
...
Avoid exception messages while autocomplete initialization in export.sh (v4.4)
See merge request espressif/esp-idf!16199
2021-11-30 15:48:55 +00:00
376514480d
Merge branch 'feature/backport_v4.4_add_get_errno_api_for_http_client' into 'release/v4.4'
...
esp_http_client: add a get HTTP client session errno API for esp_http_client(backport v4.4)
See merge request espressif/esp-idf!16195
2021-11-30 12:23:31 +00:00
ee881e3f96
Avoid exception messages while autocomplete initialization in export.sh
2021-11-30 12:42:53 +01:00
8848462d50
Merge branch 'nimble/add_throughput_example_v4.4' into 'release/v4.4'
...
NimBLE: Add NimBLE throughput demo examples (v4.4)
See merge request espressif/esp-idf!16138
2021-11-30 08:02:35 +00:00
5c08cd3fe1
esp_http_client: add a get HTTP client session errno API for esp_http_client(backport v4.4)
2021-11-30 15:26:48 +08:00
a96b8e151d
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:24:52 +08:00
e91fd5ece9
Example: Fix eventfd
example test and added a diagram to explain printed values
2021-11-30 12:01:43 +08:00
51e295b5c2
Merge branch 'bugfix/vfs-select-lock-latency-4.4' into 'release/v4.4'
...
vfs: reduce lock in vfs_select (v4.4)
See merge request espressif/esp-idf!16172
2021-11-30 03:56:08 +00:00
95eb17a61a
Merge branch 'nimble_spp_v4.4' into 'release/v4.4'
...
NimBLE: BLE example for SPP service (v4.4)
See merge request espressif/esp-idf!16122
2021-11-30 03:54:44 +00:00
db6bc89b8c
Merge branch 'bugfix/leedarson_v4.4' into 'release/v4.4'
...
component_bt: Fix some code logic errors (v4.4)
See merge request espressif/esp-idf!16016
2021-11-30 03:52:24 +00:00
cf21312d8d
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-11-30 11:51:46 +08:00
7cab983b86
RISC-V: fix usage of special register when interrupts are enabled
2021-11-30 11:45:18 +08:00
18612738db
Merge branch 'docs/blink_update_supported_targets_on_readme_v4.4' into 'release/v4.4'
...
example: Update on the README file to change from ESP32-S3-Addax-1 to ESP32-S3-DevKitC-1 (v4.4)
See merge request espressif/esp-idf!15956
2021-11-29 20:40:51 +00:00
5f7037d143
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-29 18:49:22 +05:30
26baeaca60
esp_eth: add loopback for ksz8081
2021-11-29 20:16:35 +08:00
ce7c936633
vfs: reduce lock in vfs_select
2021-11-29 17:32:43 +08:00
581f1c4550
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-29 15:31:30 +08:00
75fa6d7e3f
Merge branch 'feature/add_coex_hci_command_v4.4' into 'release/v4.4'
...
Add hci command to set coexistence status (v4.4)
See merge request espressif/esp-idf!16053
2021-11-29 03:23:32 +00:00
a524bd85fd
Merge branch 'bugfix/bootloader_utility_warnings_v4.4' into 'release/v4.4'
...
bootloader_support: Fix compiler warnings (v4.4)
See merge request espressif/esp-idf!16139
2021-11-26 13:32:28 +00:00
3c02b30a54
Merge branch 'bugfix/app_trace_tmo_init_v4.4' into 'release/v4.4'
...
startup: init timer before calling esp_apptrace_tmo_init (v4.4)
See merge request espressif/esp-idf!16136
2021-11-26 11:53:09 +00:00
8179e858a9
docs(pthread): documentation about reader-writer-lock impl
2021-11-26 16:21:03 +08:00
8fec43eecb
Merge branch 'nimble/add_throughput_example' into 'master'
...
NimBLE throughput example: Changed write api to write without response
See merge request espressif/esp-idf!16138
2021-11-26 12:07:11 +05:30
19727b4968
Merge branch 'docs/examples_bluedroid_ble50_v4.4' into 'release/v4.4'
...
Readme for the bluedroid ble50 example with tutorial of walkthrough example (v4.4)
See merge request espressif/esp-idf!16099
2021-11-26 06:35:06 +00:00
fe91b306e4
Merge branch 'bugfix/multi_heap_get_info_impl_backport_v4.4' into 'release/v4.4'
...
heap: fix multi_heap_get_info_impl(backport v4.4)
See merge request espressif/esp-idf!16119
2021-11-26 05:44:49 +00:00
6f6538f053
bootloader_support: Fix unused-but-set-variable compiler warning
...
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-26 01:34:42 -03:00
d21ef9b10a
bootloader_support: Fix unused-variable compiler warning
...
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-26 01:34:40 -03:00
279e135c8f
NimBLE throughput example: Add espressif license
2021-11-26 10:03:06 +05:30
76e3e3476e
NimBLE throughput example: make multi target support readable
2021-11-26 10:03:06 +05:30
ed43a4eb50
NimBLE: Add throughput demo examples
...
- Added blecent_throughput(client) and bleprph_throughput(server) examples to
demonstrate application throughput.
2021-11-26 10:03:06 +05:30
1ef94299a5
Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into 'release/v4.4'
...
Nimble: Added BLE SPP Service
Closes: https://github.com/espressif/esp-idf/issues/7303
See merge request espressif/esp-idf!16122
2021-11-26 09:58:42 +05:30
b748053e2e
startup: init timer before calling esp_apptrace_tmo_init
2021-11-25 23:58:36 +01:00
41906a8d31
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 15:43:07 +05:30
02237e4b77
Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable_v4.4' into 'release/v4.4'
...
component/bt: fix assert fail when interrupt hlevel disable(backport release/v4.4)
See merge request espressif/esp-idf!16043
2021-11-25 06:30:08 +00:00
98a932d406
Merge branch 'feature/docker_build_use_git_mirror_v4.4' into 'release/v4.4'
...
ci: use LOCAL_GIT_MIRROR in docker build job, if set (v4.4)
See merge request espressif/esp-idf!16110
2021-11-25 05:33:42 +00:00
666218d753
heap: fix multi_heap_get_info_impl
2021-11-25 10:34:06 +08:00
ac6793c02a
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-24 15:40:36 +01:00
adf61033a7
ci: Remove component manager test from build system tests
...
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 13:49:46 +01:00
426c79c7ad
Readme for the bluedroid ble50 example with tutorial of walkthrough example.
2021-11-24 14:56:53 +05:30
4ce9678c2b
Merge branch 'feature/json_schema_for_idf_size_v4.4' into 'release/v4.4'
...
tools: add json schema for idf_size (v4.4)
See merge request espressif/esp-idf!15959
2021-11-24 09:00:09 +00:00
c193371028
Merge branch 'bugfix/bootloader_debug_buffers_v4.4' into 'release/v4.4'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.4)
See merge request espressif/esp-idf!16073
2021-11-24 03:38:57 +00:00
18dc2cfcc2
bootloader_support: Fix and re-enable bootloader_debug_buffer function
...
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-23 09:01:24 -03:00
d7995a650e
component/bt: fix assert fail when interrupt hlevel disable
2021-11-23 19:50:54 +08:00
8539939c7d
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit_v4.4' into 'release/v4.4'
...
[NimBLE]: clear timer handler during de-initialization(backport for v4.4)
See merge request espressif/esp-idf!16028
2021-11-23 07:15:50 +00:00
e073663660
Merge branch 'bugfix/11kv_scan_event_removal_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes related to 802.11kv (v4.4)
See merge request espressif/esp-idf!16034
2021-11-23 07:15:31 +00:00
09a892a44f
Merge branch 'bugfix/sleep_wrong_log_lvl_v4.4' into 'release/v4.4'
...
Sleep: fix wrong debug level (backport v4.4)
See merge request espressif/esp-idf!16036
2021-11-23 07:15:02 +00:00
958d63a8d2
Merge branch 'bugfix/fix_static_check_error_mr_4.4' into 'release/v4.4'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16044
2021-11-23 07:14:41 +00:00
81e0c7f662
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility_v4.4' into 'release/v4.4'
...
nvs: add config to ignore "encrypted" flag of nvs partitions (v4.4)
See merge request espressif/esp-idf!15920
2021-11-23 05:46:44 +00:00
a24ea59820
Add hci command to set coexistence status
2021-11-23 11:34:34 +08:00
d43f5af6ef
Missing break in switch
2021-11-23 11:31:06 +08:00
c48dec0d44
Dereference null return value
2021-11-23 11:31:06 +08:00
74be458e62
already defined in bt_target.h
2021-11-23 11:31:06 +08:00
a946b6042a
Dereference after null check
2021-11-23 11:31:06 +08:00
abbc552f5f
Dereference before null check
2021-11-23 11:31:06 +08:00
86ea712aa4
Logically dead code
2021-11-23 11:31:06 +08:00
4345e15f23
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:41:50 +08:00
c5efb55d43
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 18:42:10 +08:00
2ca86a3eaf
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 16:32:21 +08:00
1780c7d8da
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-22 13:37:42 +05:30
57dc6de613
wpa_supplicant: Fix compilation error when debug enabled
...
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-22 13:37:42 +05:30
e5091bb7af
wpa_supplicant: Optimize BTM request scan
2021-11-22 13:37:42 +05:30
4aa2ca369b
Merge branch 'ci/add_esp32s3_ssc_build_jobs_v4.4' into 'release/v4.4'
...
CI: add esp32s3 SSC build jobs
See merge request espressif/esp-idf!15910
2021-11-22 07:43:44 +00:00
81ce15f0e0
Merge branch 'bugfix/fix_esp32s3_usb_otg_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32s3 phy work with USB-OTG issue(v4.4)
See merge request espressif/esp-idf!15914
2021-11-22 06:17:21 +00:00
7816b597a1
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_4.4' into 'release/v4.4'
...
fix modem sleep hw error
See merge request espressif/esp-idf!16017
2021-11-22 03:33:54 +00:00
9d67cd8ac6
[nimble]: clear timer handler during de-initialization
2021-11-22 11:17:23 +08:00
ddc44956bf
Merge branch 'bugfix/esp32s3_esp_timer_test_failure_v4.4' into 'release/v4.4'
...
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing (v4.4)
See merge request espressif/esp-idf!16021
2021-11-19 14:35:01 +00:00
997040222d
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing
2021-11-19 14:46:06 +05:30
f952b9f71b
Merge branch 'feature/oocd_ver_upgrade_v4.4' into 'release/v4.4'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' (v4.4)
See merge request espressif/esp-idf!15999
2021-11-19 08:56:24 +00:00
9b450e19da
It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-19 15:54:20 +08:00
1c792fe57d
Fix the issue of device name len limited
2021-11-19 15:50:18 +08:00
056ec73dd2
Merge branch 'bugfix/protocomm_nimble_allocation_v4.4' into 'release/v4.4'
...
Fix for potential allocation bug in protocomm_nimble.c (v4.4)
See merge request espressif/esp-idf!15996
2021-11-19 05:26:32 +00:00
b2e1c6eb57
Merge branch 'bugfix/fix_custmoer_issues_v4.4' into 'release/v4.4'
...
bugfix/fix_3_controller_issues_v4.4
See merge request espressif/esp-idf!15973
2021-11-19 03:34:13 +00:00
b7377f0e53
Merge branch 'bugfix/ci_fix_using_branch_name_v4.4' into 'release/v4.4'
...
ci: fix using HEAD and SHA since we started using merged result pipelines (v4.4)
See merge request espressif/esp-idf!15721
2021-11-19 03:31:20 +00:00
f16bad24ec
Merge branch 'bugfix/wifi_prov_mgr_crash_v4.4' into 'release/v4.4'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning (v4.4)
See merge request espressif/esp-idf!15859
2021-11-19 03:00:47 +00:00
bafb157749
Merge branch 'bugfix/remove_mcpwm_deprecations_v4.4' into 'release/v4.4'
...
mcpwm: revert back to allow user register isr handler (v4.4)
See merge request espressif/esp-idf!15940
2021-11-18 09:58:33 +00:00
43811dc172
esp-eth: emac: Reset Tx DMA channel owner on init
...
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss
Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-18 10:46:07 +01:00
5ba6ac26c4
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:17:35 +05:30
44b1f9272c
Merge branch 'feature/usb_serial_default_option_v4.4' into 'release/v4.4'
...
vfs_usb_serial: set secondary selection for making usb port can output under default menu (backport v4.4)
See merge request espressif/esp-idf!15877
2021-11-18 07:16:55 +00:00
37dc255bc4
idf_tools: Adds 'linux-armhf' platform support
2021-11-17 23:27:45 +03:00
b7bee807ed
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-17 23:27:45 +03:00
45bc50b2d2
NimBLE: Fixed wifi_prov_mgr crash after provisioning
...
See merge request espressif/esp-idf!15793
2021-11-17 18:37:20 +05:30
fcecbde778
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-17 19:54:15 +08:00
8517af090d
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.4' into 'release/v4.4'
...
Bugfix/fix memory leak controller deinit v4.4
See merge request espressif/esp-idf!15968
2021-11-17 10:22:32 +00:00
66b887a680
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-17 17:59:26 +08:00
e54802113d
Merge branch 'bugfix/esp_timer_before_init_v4.4' into 'release/v4.4'
...
esp_timer: allow querying the timer before esp_timer_init is called(backport v4.4)
See merge request espressif/esp-idf!15876
2021-11-17 09:20:35 +00:00
ee00029c05
gdma: support IRAM interrupt
2021-11-17 12:57:52 +08:00
c3951d5e9d
esp_phy: fix esp32s3 phy work with USB-OTG issue
2021-11-17 11:12:40 +08:00
adc83d532c
Merge branch 'bugfix/ps_export_prs_v4.4' into 'release/v4.4'
...
Tools: PowerShell export script improvements from PRs (v4.4)
See merge request espressif/esp-idf!15923
2021-11-16 15:48:37 +00:00
1891761fbb
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-11-16 10:41:32 +05:30
e6ee8b2fcf
mcpwm: revert back to allow user register isr handler
...
Closes https://github.com/espressif/esp-idf/issues/7890
2021-11-16 11:38:48 +08:00
1d4fda8890
docs: replace the module on esp32-devkitc from esp32-wrover to esp32-wroom
2021-11-15 14:48:54 +01:00
35b20cadce
Merge branch 'bugfix/efuse_utility_header_v4.4' into 'release/v4.4'
...
efuse: Add missing esp_rom_sys.h include file (v4.4)
See merge request espressif/esp-idf!15955
2021-11-15 13:19:39 +00:00
1846c29693
Merge branch 'bugfix/efuse_stdbool_v4.4' into 'release/v4.4'
...
efuse: Add missing stdbool.h include file (v4.4)
See merge request espressif/esp-idf!15935
2021-11-15 12:58:46 +00:00
e9dd044712
tools: add json schema for idf_size
2021-11-15 13:57:24 +01:00
ad233f4896
Merge branch 'bugfix/aes_gcm_unaligned_psram_v4.4' into 'release/v4.4'
...
aes: fix potential unaligned access in aes-gcm (v4.4)
See merge request espressif/esp-idf!15801
2021-11-15 12:54:50 +00:00
deff19706f
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-15 19:38:09 +08:00
99caa4950c
esp_timer: init rtc timer and system timer in early init
2021-11-15 19:38:09 +08:00
85bc2d7240
esp_timer: allow querying the timer before esp_timer_init is called
2021-11-15 19:38:09 +08:00
23be52fa89
example: Update on the README file to change from ESP32-S3-Addax-1 to ESP32-S3-DevKitC-1
2021-11-15 12:02:04 +01:00
8d9ab894c3
efuse: Add missing esp_rom_sys.h include file
...
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-15 07:52:01 -03:00
ebaffab2fb
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip_v4.4' into 'release/v4.4'
...
freertos: Implement best effort round robin scheduling (v4.4)
See merge request espressif/esp-idf!15907
2021-11-15 07:47:43 +00:00
a0f339fead
Merge branch 'bugfix/usb_hcd_robustness_v4.4' into 'release/v4.4'
...
USB Host: Fix how disconnections an EP halts are handled (v4.4)
See merge request espressif/esp-idf!15908
2021-11-15 07:47:37 +00:00
3a7024990e
Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep_v4.4' into 'release/v4.4'
...
backport v4.4: fixes some sleep related issues
See merge request espressif/esp-idf!15932
2021-11-15 07:18:56 +00:00
8d33d54af7
heap: update RTC memory heap caps
2021-11-15 10:56:08 +08:00
3c341364eb
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-12 13:29:58 -03:00
0132d2c868
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-12 13:29:58 -03:00
e75762b02f
sleep: deep sleep does not need cpu and wifi/bt mac retention
2021-11-12 19:38:32 +08:00
0665e0165b
light sleep: replace new kconfig option of mac bb power down & phy reduce tx power
2021-11-12 19:38:09 +08:00
4083c4ae33
Tools: Make clear the used platform in the PowerShell export script
2021-11-12 07:51:53 +01:00
74950663cf
Define $IsWindows if not defined.
...
The `$IsWindows` PowerShell variable was added in PowerShell Core 6 and
PowerShell 7, and is not present in earlier PowerShell versions. Set to
true if undefined. This fixes https://github.com/espressif/esp-idf/issues/7820 .
The first version to run on non-Windows platforms was PowerShell Core
6.0[^1] which means that IsWindows is guaranteed to be defined on all
non-Windows systems. So, if undefined this indicates a Windows platform.
[^1]: https://docs.microsoft.com/en-us/powershell/scripting/install/powershell-support-lifecycle?view=powershell-7.2#release-history
Closes https://github.com/espressif/esp-idf/pull/7858
Closes https://github.com/espressif/esp-idf/issues/7820
2021-11-12 07:51:53 +01:00
4975197d1d
Initialize $envvars_array
to an empty list.
...
With strict debugging, i.e. `Set-PSDebug -strict`, execution of export.ps1 will
report the following error:
```
The variable '$envars_array' cannot be retrieved because it has not been set.
At C:\path\to\export.ps1:15 char:1
+ $envars_array # will be filled like:
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (envars_array:String) [], RuntimeException
+ FullyQualifiedErrorId : VariableIsUndefined
```
Closes https://github.com/espressif/esp-idf/pull/7819
2021-11-12 07:51:53 +01:00
e3a771511a
aes: fix potential unaligned access in aes-gcm
2021-11-12 12:28:28 +08:00
29aba769f2
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-12 09:43:51 +05:30
e2fb582cf8
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-12 09:43:51 +05:30
df0929009a
Merge branch 'bugfix/gpio_interrupt_on_app_cpu_v4.4' into 'release/v4.4'
...
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1 (backport v4.4)
See merge request espressif/esp-idf!15902
2021-11-11 17:01:36 +00:00
d9ae8068fc
CI: add esp32s3 SSC build jobs
2021-11-11 18:03:10 +08:00
9b46f4e086
Merge branch 'feature/update_adc_calibration_doc_on_c3_s3_v4.4' into 'release/v4.4'
...
doc: add adc calibration programming guide on c3 and s3 (v4.4)
See merge request espressif/esp-idf!15896
2021-11-11 08:57:53 +00:00
dd5d452428
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit_v4.4' into 'release/v4.4'
...
component/bt: Power down bluetooth module when deinit
See merge request espressif/esp-idf!15717
2021-11-11 08:27:51 +00:00
1af36a5b9d
usb: Change API and refactor tests
...
This commit updates the USB Host Library API in the following wasy:
- usb_host_client_handle_t and usb_device_handle_t made into struct pointers
to generate compiler warnings about conflicting handle types
- usb_host_client_config_t changed to future proof API for Synchronous Clients
- Added usb_host_lib_unblock()
- Added usb_host_device_addr_list_fill()
- Return of usb_host_device_free_all() updated to indicate whether there
are still devices yet to be freed.
- Blockg APIs are now marked explicitly
- Fixed a bug in usb_host_transfer_submit_control() when checking the bEndpointAddress
of a control transfer.
Tests are also refactored to move some common macros into shared headers
Closes https://github.com/espressif/esp-idf/issues/7786
2021-11-11 16:26:56 +08:00
891c979c64
usb: Add USB Host Library sudden disconnect tests
2021-11-11 16:26:35 +08:00
0a948594cb
usb: Fix USBH handling of disconnections
...
This commit fixes how the USBH handling of a sudden device disconnection,
more specifically handling of device gone.
- Previously the USBH would only halt, flush, and dequeue the device's
default EP, then send a device gone event to the Host Library layer.
- Now the USBH will also halt and flush all non-default EPs, allowing
all of the URBs to be dequeud.
- Some internal object members are now protected by a mutex instead of
a spinlock.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-11 16:26:09 +08:00
de6bf09f40
usb: Fix how the HCD handles sudden disconnection
...
This commit fixes how the USB Host HCD handles sudden disconnections.
Bugs:
- HW channels remain active when the port suddenly disconnects, and
previously the channel would be disabled by setting the disabled bit,
then waiting for a disabled interrupt. However, ISOC channels do not
generate the disabled interrupt when the port is invalid, thus leading
to tasks getting indefinitely blocked in hcd_pipe_command().
Fix:
On a sudden disconnection, forcibly treat all channels as halted even
if their HCCHAR.ChEna bit is still set. We do a soft reset after a port
error anyways, so the channels will eventually be reset.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-11 16:25:01 +08:00
a1082dfa59
usb: Fix LL 8/16 bit register field access
...
This commit addes the 8/16 bit register field access workarounds to
the DWC_OTG peripheral. This workaround was applied to all other
peripherals in commit 874a720286
.
2021-11-11 16:24:08 +08:00
466c42c3c1
freertos: Fix SMP round robin scheduling
...
The previous SMP freertos round robin would skip over tasks when
time slicing. This commit implements a Best Effort Round Robin
where selected tasks are put to the back of the list, thus
makes the time slicing more fair.
- Documentation has been updated accordingly.
- Tidy up vTaskSwitchContext() to match v10.4.3 more
- Increased esp_ipc task stack size to avoid overflow
Closes https://github.com/espressif/esp-idf/issues/7256
2021-11-11 16:16:11 +08:00
762ca128b4
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
...
Introduced in 874a720286
Closes https://github.com/espressif/esp-idf/issues/7594
(cherry picked from commit 7ec38fcc42
)
2021-11-11 12:43:09 +08:00
f6db71539e
Merge branch 'bugfix/esp32_light_sleep_crash_4.4' into 'release/v4.4'
...
Fix crash caused by bluetooth high level interrupt (v4.4)
See merge request espressif/esp-idf!15872
2021-11-11 03:38:49 +00:00
0c0d0f9b35
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-11 11:33:15 +08:00
a2790756b0
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-11 11:33:04 +08:00
bd9d8c314e
Merge branch 'bugfix/fix_120m_sdr_flash_config_on_non_s3_bug_v4.4' into 'release/v4.4'
...
spi_flash: make 120m config only visible on s3 sdr mode (v4.4)
See merge request espressif/esp-idf!15868
2021-11-11 02:47:47 +00:00
018bc054a5
Merge branch 'bugfix/LAN8720_reset_assertion_v4.4' into 'release/v4.4'
...
Increased LAN8720 ETH-PHY reset assertion time (v4.4)
See merge request espressif/esp-idf!15825
2021-11-10 20:39:58 +00:00
d722a37aa6
Merge branch 'refactor/freertos_deprecate_critical_nested_macros_v4.4' into 'release/v4.4'
...
freertos: Deprecate critical nested macros (v4.4)
See merge request espressif/esp-idf!15613
2021-11-10 16:16:53 +00:00
c62f7fd6ee
Merge branch 'bugfix/tools_fix_win_gdb_dlls_v4.4' into 'release/v4.4'
...
tools: Fix missed DLLs in GDB for Windows (v4.4)
See merge request espressif/esp-idf!15894
2021-11-10 13:55:34 +00:00
10afcc9f63
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection_v4.4' into 'release/v4.4'
...
component/bt: check the ble ext conn parameter(backport v4.4)
See merge request espressif/esp-idf!15768
2021-11-10 13:01:22 +00:00
7e725751e4
freertos: Remove critical nested macros
...
This commit removes the following critical nested macros as follows:
- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()
They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.
Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-11-10 18:34:32 +08:00
6438af2ef9
Merge branch 'bugfix/simplify_codeowners_v4.4' into 'release/v4.4'
...
gitlab: simplify approvals for backports (v4.4)
See merge request espressif/esp-idf!15865
2021-11-10 10:24:38 +00:00
4a8d4b584a
docs: add adc calibration docs on c3 and s3
2021-11-10 18:12:54 +08:00
3b0de88cad
tools: Fix missed DLLs in GDB for Windows
2021-11-10 17:07:46 +07:00
9e46667545
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-11-10 14:42:40 +05:30
2c24beca04
esp_eth: optimize dm9051 Tx throughput
2021-11-10 17:08:21 +08:00
44d13c648b
Merge branch 'bugfix/fix_ota_crash_backport_v4.4' into 'release/v4.4'
...
spi_flash: fix app crash when OTA because the OTA task's stack is in rtc fast memory(backport v4.4)
See merge request espressif/esp-idf!15852
2021-11-10 08:35:34 +00:00
44b9e6e055
Fix crash caused by bluetooth high level interrupt
2021-11-10 16:14:52 +08:00
214d2eeba7
Merge branch 'bugfix/manual_secure_boot_v2_multiple_digest_issue_v4.4' into 'release/v4.4'
...
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow (v4.4)
See merge request espressif/esp-idf!15780
2021-11-10 04:22:55 +00:00
d5218e84e2
spi_flash: make 120m config only visible on s3 sdr mode
2021-11-10 12:04:49 +08:00
43471b047b
Merge branch 'feature/fatfs_disk_status_implementation_v4.4' into 'release/v4.4'
...
fatfs: Implementation of disk_status for SD/MMC card (v4.4)
See merge request espressif/esp-idf!15847
2021-11-09 18:45:42 +00:00
1ed627d022
gitlab: simplify approvals for backports (v4.4)
2021-11-09 18:39:26 +01:00
8a60e69c24
Merge branch 'bugfix/create_dir_idf_env_v4.4' into 'release/v4.4'
...
tools: Create the ".espressif" directory on the first run on clean system (v4.4)
See merge request espressif/esp-idf!15855
2021-11-09 13:40:56 +00:00
683da6b46d
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-09 20:17:03 +08:00
d9429ca7bc
Merge branch 'add_agressive_revoke_v4.4' into 'release/v4.4'
...
secure_boot: Added Kconfig option for aggressive key revoke (v4.4)
See merge request espressif/esp-idf!15850
2021-11-09 11:15:07 +00:00
2cdf90f810
tools: Create the ".espressif" directory on the first run on clean system
...
Closes https://github.com/espressif/esp-idf/issues/7848
2021-11-09 12:02:50 +01:00
2f39639c20
secure_boot: Do not allow key revocation in bootloader
2021-11-09 15:19:47 +05:30
7fe2a4815d
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-11-09 15:19:47 +05:30
07b1b45ad6
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-09 17:10:20 +08:00
5e4d166323
Merge branch 'bugfix/fix_crash_when_shutdown_bt_v4.4' into 'release/v4.4'
...
component/bt: fix crash when shutdown bt(backport v4.4)
See merge request espressif/esp-idf!15708
2021-11-09 08:06:24 +00:00
5c6a8711ad
Merge branch 'bugfix/hfp_demo_audio_not_sine_v4.4' into 'release/v4.4'
...
fix hfp_ag demo audio not sine_v4.4
See merge request espressif/esp-idf!15749
2021-11-09 03:02:15 +00:00
864605785b
Merge branch 'feature/rw_lock_cond_var_4.4' into 'release/v4.4'
...
pthread: reader-writer locks implementation (backport 4.4)
See merge request espressif/esp-idf!15830
2021-11-08 13:31:16 +00:00
832865629c
Merge branch 'feature/github-7661_v4.4' into 'release/v4.4'
...
mck pin not defined in i2s examples (v4.4)
See merge request espressif/esp-idf!15836
2021-11-08 13:23:59 +00:00
7195af2d7d
i2s: add mck pin definition in the example
...
If the mck pin is not set to GPIO 0,1,3 or -1 the whole pin configuration fails. This fix corrects that.
Merges https://github.com/espressif/esp-idf/pull/7661
2021-11-08 17:33:18 +08:00
1433f5337f
Merge branch 'bugfix/i2s_ws_polarity_in_tdm_v4.4' into 'release/v4.4'
...
i2s: fix ws signal polarity in tdm mode (v4.4)
See merge request espressif/esp-idf!15820
2021-11-08 09:30:14 +00:00
397e148049
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32_4.4' into 'release/v4.4'
...
Doc/make classic bt api ref only for esp32 [backport v4.4]
See merge request espressif/esp-idf!15727
2021-11-08 09:14:24 +00:00
bbe2a1bf34
Merge branch 'feature/add_flash_psram_config_guide_v4.4' into 'release/v4.4'
...
doc: add flash and psram configuration guide on esp32s3 (4.4)
See merge request espressif/esp-idf!15811
2021-11-08 08:32:36 +00:00
4d0e72dc5f
efuse example: Fix pre-load SB test for S2, C3 (erase revoke bits)
2021-11-08 12:48:12 +08:00
4ac351247d
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
...
This commit fixes issue where empty (unprogrammed) digest slot out of
multiple supported (e.g. 3 for ESP32-C3) could cause issue in
workflow enablement process.
Notes:
1. This issue was applicable for chips supporting "secure-boot-v2"
scheme with multiple digests slots
2. This issue was affecting only manual workflow, where digest of
public was pre-flashed in efuse
3. Change in "flash_encrypt.c" is only for additional safety purpose
2021-11-08 12:48:12 +08:00
cc8214c59d
doc: add flash and psram configuration doc in programming guide
2021-11-08 04:32:18 +00:00
56aa8b6cb3
Merge branch 'bugfix/KSZ8851SNL_enable_multicast_v4.4' into 'release/v4.4'
...
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter (v4.4)
See merge request espressif/esp-idf!15823
2021-11-08 03:44:15 +00:00
7a6a61feef
component/bt: fix crash when shutdown bt(backport v4.4)
2021-11-08 10:55:12 +08:00
b117bcd2a0
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-08 10:21:37 +08:00
cd97e95a12
Merge branch 'bugfix/archive_details_always_run_like_diff_v4.4' into 'release/v4.4'
...
tools: fix bug with idf_size argument archive_details (v4.4)
See merge request espressif/esp-idf!15774
2021-11-05 15:38:38 +00:00
43b62a5b62
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-05 11:39:04 +01:00
5f9ae3510a
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-05 11:35:35 +01:00
484d5c8491
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-05 11:23:14 +01:00
f7f9683ef1
i2s: fix ws signal polarity in tdm mode
2021-11-05 11:35:02 +08:00
b298795e37
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.4)
See merge request espressif/esp-idf!15815
2021-11-05 03:16:51 +00:00
b1102bb581
Merge branch 'bugfix/ble_mesh_host_init_v4.4' into 'release/v4.4'
...
ble_mesh: nimble: return error if init host twice (v4.4)
See merge request espressif/esp-idf!15816
2021-11-05 03:14:57 +00:00
fd89e8dae4
Merge branch 'docs/update_mock_doc_v4.4' into 'release/v4.4'
...
DOCs: Update mocking documentation (backport v4.4)
See merge request espressif/esp-idf!15809
2021-11-05 02:25:00 +00:00
461ffffd77
ble_mesh: nimble: return error if init host twice
2021-11-04 20:31:57 +08:00
c255c6a6f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-04 20:29:38 +08:00
dc20c1fd41
Merge branch 'bugfix/ble_mesh_update_license_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Update license of esp specific files (v4.4)
See merge request espressif/esp-idf!15765
2021-11-04 12:12:05 +00:00
423b6697ac
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended_v4.4' into 'release/v4.4'
...
freertos: Fix prvTaskIsTaskSuspended check (v4.4)
See merge request espressif/esp-idf!15612
2021-11-04 10:26:54 +00:00
7c4c5b51de
Merge branch 'ci/enable_s3_example_test_v4.4' into 'release/v4.4'
...
ci: run example test for c3 as well (v4.4)
See merge request espressif/esp-idf!15810
2021-11-04 05:00:42 +00:00
295387167c
ci: run example test for c3 as well
2021-11-04 12:12:12 +08:00
40e0d733c2
docs: Update mocking documentation
2021-11-04 11:49:35 +08:00
9fae314f50
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks_v4.4' into 'release/v4.4'
...
freertos: Add memory hooks for static IDLE and Timer tasks (v4.4)
See merge request espressif/esp-idf!15614
2021-11-03 11:20:10 +00:00
c1df3636b7
ble_mesh: stack: Update license of esp specific files
2021-11-03 14:22:31 +08:00
226f49f37d
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v4.4)
See merge request espressif/esp-idf!15675
2021-11-03 06:21:32 +00:00
21b366da73
Merge branch 'feature/add_dhcp_option_v4.4' into 'release/v4.4'
...
lwip/dhcp: add configure for enable vendor class identify option (backport v4.4)
See merge request espressif/esp-idf!15619
2021-11-02 15:17:19 +00:00
1232094197
change --archive_details output
2021-11-02 14:08:31 +01:00
970132c94b
tools: fix bug with idf_size argument archive_details
2021-11-02 14:08:31 +01:00
9e82f7fdcf
ble_mesh: stack: Update the license of provisioner_main.c
2021-11-02 20:56:25 +08:00
77eb671168
ble_mesh: stack: Fix heartbeat filter with accept list
2021-11-02 20:54:02 +08:00
9303bc00b2
Merge branch 'bugfix/pppos_report_unknown_line' into 'release/v4.4'
...
esp_modem: Fix report unknown line (GitHub PR)
See merge request espressif/esp-idf!15621
2021-11-02 12:14:49 +00:00
89873937eb
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-11-02 18:02:22 +08:00
2d3ec44011
Merge branch 'bugfix/ble_conn_latency_max_value_v4.4' into 'release/v4.4'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15754
2021-11-02 09:11:12 +00:00
14a652376f
Examples/PPPoS: Fix handling empty lines with CRLF only
...
Tokenizing data by '\n' will effectively replace all LF characters by '\0' so checking for phantom lines has to be adjusted:
* minimal empty line is CR only (strlen = 1)
* checking for lines containing CR only
2021-11-02 09:00:34 +01:00
d89112badf
component/bt: check the ble ext conn parameter
2021-11-02 15:54:27 +08:00
5ac3b05cbe
freertos: Add memory hooks for static IDLE and Timer tasks
...
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:
- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()
Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)
Closes https://github.com/espressif/esp-idf/issues/7511
2021-11-02 14:54:01 +08:00
efad5e56ae
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-11-02 14:51:17 +08:00
6a93575d97
Merge branch 'bugfix/xtensa_clang_version_regex_v4.4' into 'release/v4.4'
...
fix(tool): export.sh cannot export xtensa-clang if installed (v4.4)
See merge request espressif/esp-idf!15763
2021-11-02 03:38:57 +00:00
dfe91ded9a
Merge branch 'bugfix/rm_copyright_check_v4.4' into 'release/v4.4'
...
CI: Remove the copyright header check from the release branch
See merge request espressif/esp-idf!15758
2021-11-02 03:38:18 +00:00
d269be1861
fix(tool): export.sh cannot export xtensa-clang if installed issue
2021-11-02 09:32:45 +08:00
de136451f1
CI: Remove the copyright header check from the release branch
2021-11-01 12:44:10 +01:00
affe1a0692
BLE: Set connection max latency value to 499.
2021-11-01 16:45:16 +05:30
148e0fce84
Merge branch 'feature/ci_runner_failure_retries_v4.4' into 'release/v4.4'
...
ci: runner system failure retries (v4.4)
See merge request espressif/esp-idf!15722
2021-11-01 11:11:16 +00:00
86f8d65508
Merge branch 'bugfix/memprot_bad_esp_restart_check_v4.4' into 'release/v4.4'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart() (v4.4)
See merge request espressif/esp-idf!15742
2021-11-01 11:07:06 +00:00
ea4f069b45
fix hfp_ag demo audio not sine_v4.4
2021-11-01 12:12:10 +08:00
3f26866533
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 15:02:17 +02:00
fb3c88510c
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-29 19:17:51 +08:00
281598077a
efuse: fix esp32h2 get ext_mac
2021-10-29 19:17:51 +08:00
006ab2d454
ci: Add retries on runner system failures
2021-10-29 13:49:37 +07:00
10741e2254
ci: fix using HEAD and SHA with merged result pipelines
2021-10-29 13:34:53 +07:00
d6e438f3c7
ci: add variable PIPELINE_COMMIT_SHA
2021-10-29 13:34:53 +07:00
1383785aa1
Remove dummy defines of Classic BT
2021-10-29 14:21:26 +08:00
8153b43705
Make ESP32 Bluetooth stack architecture Doc only visible for ESP32
2021-10-29 14:21:18 +08:00
f4aad85f8b
Make Classic BT related document links only visible for ESP32
2021-10-29 14:21:12 +08:00
6a7d83af19
Merge branch 'bugfix/fix_http_head_request_v4.4' into 'release/v4.4'
...
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request(backport v4.4)
See merge request espressif/esp-idf!15715
2021-10-29 04:47:22 +00:00
89d290f17a
component/bt: Power down bluetooth module when deinit
2021-10-29 10:44:02 +08:00
9705ea5e97
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-29 10:16:12 +08:00
4aaec00c41
Merge branch 'bugfix/define__DOXYGEN___v4.4' into 'release/v4.4'
...
docs: define __DOXYGEN__ for doxygen builds (v4.4)
See merge request espressif/esp-idf!15679
2021-10-28 06:40:50 +00:00
697f829d60
Merge branch 'bugfix/gdbstub_4_c3_v4.4' into 'release/v4.4'
...
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2. (backport v4.4)
See merge request espressif/esp-idf!15664
2021-10-27 16:49:21 +00:00
7aa3dfc087
Merge branch 'bugfix/fix_phy_usb_issue_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32c3/s3 phy USB & RSSI issue(v4.4)
See merge request espressif/esp-idf!15646
2021-10-27 14:01:48 +00:00
bd2b1c88ad
Merge branch 'bugfix/remove_assert_when_inq_done_4.4' into 'release/v4.4'
...
component_bt: fix crash after inquiry has finished (v4.4)
See merge request espressif/esp-idf!15673
2021-10-27 11:28:50 +00:00
0c5b5d759a
Remove table for all supported chips as useless.
2021-10-27 13:36:58 +03:00
a4821fac21
docs: define __DOXYGEN__ for doxygen builds
...
Some docs depended on __DOXYGEN__ but this was never defined anywhere.
2021-10-27 17:10:26 +08:00
3187b9b5a4
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-10-27 14:54:37 +08:00
1703b9d0f3
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-26 20:00:58 +03:00
43a81fb2f9
Merge branch 'bugfix/asio_ssl_build' into 'release/v4.4'
...
asio: Fix ssl example build removing openssl warning
See merge request espressif/esp-idf!15498
2021-10-26 14:26:12 +00:00
bf4ef23067
Merge branch 'bugfix/pppos_event_deinit_exit_ppp' into 'release/v4.4'
...
Examples/PPPoS: Minor fixes related to init/deinit cycling
See merge request espressif/esp-idf!15553
2021-10-26 14:25:37 +00:00
044e79ad99
Merge branch 'bugfix/highint_hdl_link_gnumake_v4.4' into 'release/v4.4'
...
esp_system: fix high level interrupt handler not linked for GNU Make (v4.4)
See merge request espressif/esp-idf!15651
2021-10-26 13:14:25 +00:00
d47d413e25
esp_system: fix high level interrupt handler not linked for GNU Make
...
In 4972605
, high-level interrupt handler hook was renamed from
ld_include_highint_hdl to ld_include_panic_highint_hdl. However the
change wasn't applied in GNU Make based build system. As a result,
the default interrupt handler was linked and features which depended
on the high-level interrupt didn't work.
Closes https://github.com/espressif/esp-idf/issues/7759
Closes https://github.com/espressif/esp-idf/issues/7447
2021-10-26 11:26:45 +02:00
9ceadb4e18
Examples/PPPoS: Fix copyright headers
2021-10-26 10:45:19 +02:00
12f4f8f7f8
Examples/PPPoS: Fixed missed NETIF_PPP_STATUS event unregister
...
NETIF_PPP_STATUS is registerd while modem gets attached to the related netif.
we don't have any network detach functionality in the modem component, so we
unregister the event during esp_modem_netif_clear_default_handlers().
Related https://esp32.com/viewtopic.php?f=13&t=23632
Related https://github.com/espressif/esp-idf/issues/7469
2021-10-26 10:45:12 +02:00
28d534ad33
Examples/PPPoS: Add mandatory delay after +++ command
...
Switching back from data (PPP) mode to command mode must be done is the following sequence:
* No characters entered for T1 time (1 second)
* "+++" characters entered with no characters in between (1 second)
* No characters entered for T1 timer (1 second)
(per specification of SIM800 SIM800_Series_AT_Command_Manual_V1.09.pdf)
Related https://github.com/espressif/esp-idf/issues/7608
2021-10-26 10:45:05 +02:00
a0371c1a8f
Merge branch 'feature/toolchain_2021r2_v4.4' into 'release/v4.4'
...
Update toolchains to esp-2021r2 (v4.4)
See merge request espressif/esp-idf!15637
2021-10-26 08:19:22 +00:00
5eb55d2e7a
esp_phy: fix esp32c3/s3 phy USB & RSSI issue
2021-10-26 15:48:27 +08:00
076697a56d
Update toolchains to esp-2021r2
...
Updated GDB to 9.2 version for xtensa chips
Fixed coredump work for xtensa chips
Fixed backtrace for xtensa chips
Fixed multilib for riscv32 chips
Fixed running GDB on some RaspberryPi configuration for riscv32 chip
Fixed support of fnmatch(), iconv() and some other posix functions in stdlib
Closes https://github.com/espressif/esp-idf/issues/6124
Closes https://github.com/espressif/esp-idf/issues/2484
Closes https://github.com/espressif/esp-idf/issues/3264
Closes https://github.com/espressif/crosstool-NG/issues/13
Closes https://github.com/espressif/crosstool-NG/pull/16
2021-10-25 19:55:41 +07:00
4548b6da63
test_apps/panic: remove workaround for incorrect GDB backtrace
2021-10-25 19:55:41 +07:00
91696b9d6d
coredump: update test data for toolchain 2021r2
2021-10-25 19:55:41 +07:00
0a8c1259dc
asio: Fix ssl example build removing openssl warning
...
Regression from e68afcb45036901ebc9174b2c8f3804f7921410c causing
non-clean builds for standard asio-ssl example (warning was
suppressed in the CI build only)
2021-10-25 11:59:02 +00:00
ac485b2824
Merge branch 'feature/add_README_for_controller_hci_uart_demo_v4.4' into 'release/v4.4'
...
feature/add README.md for demo controller_hci_uart_demo_v4.4
See merge request espressif/esp-idf!15571
2021-10-25 07:39:34 +00:00
2720d45e71
Merge branch 'bugfix/newlib_fix_stdatomic_clang_v4.4' into 'release/v4.4'
...
newlib: fix clang atomics (v4.4)
See merge request espressif/esp-idf!15600
2021-10-22 14:48:56 +00:00
cb6e5b0980
newlib: fix clang atomics
...
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-21 17:34:48 +01:00
25ae00cd11
Merge branch 'ci/update_esp_eth_cert_v4.4' into 'release/v4.4'
...
ci: update cert used for esp_eth test (v4.4)
See merge request espressif/esp-idf!15583
2021-10-21 04:23:34 +00:00
108f85f8b3
ci: update cert used for esp_eth test
2021-10-21 10:05:56 +08:00
99f1687db7
add README.md for demo controller_hci_uart_demo
2021-10-20 09:09:46 +08:00
0a15cc5e5a
esp_modem: Fix report unknown line
...
In esp_dte_handle_line(), it tokenize the data to call handlers separately
for each *line*. So it needs to post the tokenized data when report unknown
line instead of the first token (which could be a '\r' in my test).
Fixes: 336de29413
("Examples/pppos_client: Fix manual parsing to accept unexpected lines")
Signed-off-by: Axel Lin <axel.lin@gmail.com >
2021-10-18 10:14:31 +08:00