Commit Graph

27407 Commits

Author SHA1 Message Date
Roland Dobai
58f24af363 Merge branch 'contrib/github_pr_10935_v5.0' into 'release/v5.0'
export: avoid error on unbound variable (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22820
2023-03-18 15:38:32 +08:00
Roland Dobai
1ed1d1cf64 Merge branch 'feature/export_fish_exit_code_success_v5.0' into 'release/v5.0'
Tools: export.fish exit with success exit code (v5.0)

See merge request espressif/esp-idf!22818
2023-03-18 15:36:55 +08:00
Marc Finet
1160e6e6b8 export: avoid error on unbound variable
I the shell has `set -u` (to abort on unbound variable), sourcing
export.sh currently fails when IDF_EXPORT_QUIET or IDF_PATH is not set:
> /path/to/esp-idf/export.sh:16: IDF_EXPORT_QUIET: unbound variable

This commit sets a default empty value to those variable, as done
in 16731833fb (which forgot IDF_PATH as it's usually set, the other
variable landed later in the file).
2023-03-17 18:13:58 +01:00
Max Larsson
5a0cf6d175 Make export.fish exit with SUCCESS exit code
The export.fish script exits with an exit code of 4. Thus, any shell checks that make sure the source command exits successfully always failed. This was due to the last line trying to erase the __main function. In fish, you can't erase a function using the `set` command, you can only erase variables. By removing that line the script now exits with an exit code of 0 instead of 4.

Erase __main function at the end of export.fish

Closes https://github.com/espressif/esp-idf/pull/10828
2023-03-17 18:08:23 +01:00
Noah Pendleton
561e7357ac doc: fix a small typo for check_kconfigs.py
The script was moved in bcc8f2628c ,
update the doc reference to match.
2023-03-17 15:22:52 +01:00
Jiang Jiang Jian
e9b2f6ddce Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
wpa_supplicant : Fixing a collection of issues encountered during application testing.

See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
Jiang Jiang Jian
faad05cf56 Merge branch 'bugfix/default_wpa2_causing_pmk_recal_v5.0' into 'release/v5.0'
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(v5.0)

See merge request espressif/esp-idf!22427
2023-03-17 19:39:40 +08:00
Michael (XIAO Xufeng)
385ca5a041 Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
spi_slave: fix io re-config issue (v5.0)

See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
zlq
135381943a 1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq 2023-03-17 11:14:01 +00:00
Jiang Jiang Jian
122dd1ed32 Merge branch 'bugfix/fix_potential_null_pointer_dereference_v5.0' into 'release/v5.0'
Fix potential null pointer dereference (backport v5.0)

See merge request espressif/esp-idf!22184
2023-03-17 17:29:17 +08:00
Michael (XIAO Xufeng)
3da8120029 Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)

See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Song Ruo Jing
27f9ee66d5 gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Song Ruo Jing
b3b3947207 examples: system/deep_sleep
1. Fix EXT0 wakeup pin error on ESP32: GPIO3 is not a RTC IO, change to use GPIO25.
2. Add ESP_ERROR_CHECK to explicitly show the runtime error
3. Improve example README
2023-03-17 14:44:29 +08:00
Song Ruo Jing
a7222acf47 rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup 2023-03-17 14:44:23 +08:00
Jiang Jiang Jian
fe743a057f Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)

See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Jiang Jiang Jian
9718c91a38 Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)

See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
Jiang Jiang Jian
df0ec3f5e4 Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)

See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00
Jiang Jiang Jian
b837e910a9 Merge branch 'bugfix/add_debug_check_v5.0' into 'release/v5.0'
Nimble: Added debug relate flag around debug code_v5.0

See merge request espressif/esp-idf!22782
2023-03-17 13:55:54 +08:00
Marius Vikhammer
4cbabc0542 docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide 2023-03-17 11:49:51 +08:00
Jiang Jiang Jian
b7ca4320bb Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
gptimer: fix race condition between start and stop (v5.0)

See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
Jiang Jiang Jian
0f798b31d8 Merge branch 'bugfix/mqtt_docs_migration_5.x_v5.0' into 'release/v5.0'
mqtt/docs: Mention removal of user_context in 5.x migration guide (v5.0)

See merge request espressif/esp-idf!22557
2023-03-17 10:35:38 +08:00
Marius Vikhammer
14723a07d1 Merge branch 'bugfix/flakey_task_snapshot_tests_v5.0' into 'release/v5.0'
FreeRTOS: Fix flakey task snapshot tests (v5.0)

See merge request espressif/esp-idf!22778
2023-03-17 10:25:25 +08:00
Rahul Tank
32a02459dc Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-16 12:08:58 +05:30
aditi_lonkar
49c5a92181 esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
Jiang Jiang Jian
6dc6b57180 Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314' into 'release/v5.0'
bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314

See merge request espressif/esp-idf!22758
2023-03-16 10:49:26 +08:00
Jiang Jiang Jian
10010b1976 Merge branch 'bugfix/fix_fast_packets_handling_v5.0' into 'release/v5.0'
Nimble: Retry buffer allocation, if previous allocation fails (v5.0)

See merge request espressif/esp-idf!22730
2023-03-16 10:27:42 +08:00
Rahul Tank
ce7df40968 Nimble: Added debug relate flag around debug code 2023-03-15 16:30:29 +05:30
xueyunfei
1d6ba06366 esp_wifi:bugfix for optimize abnormal beacon log 2023-03-15 16:21:02 +08:00
xueyunfei
392533f0e2 Fixed bug for dhcp server support CIDR
Closes https://github.com/espressif/esp-idf/issues/10024

Closes https://github.com/espressif/esp-idf/issues/10559
2023-03-15 16:20:33 +08:00
Darian Leung
e0b1ccf6ce freertos: Fix flakey task snapshot tests
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests

This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-15 16:12:24 +08:00
xueyunfei
446b49cc15 dhcp server:bugfix softap excedes the range of subnet 2023-03-15 14:35:42 +08:00
xueyunfei
62983624ae 1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved

* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7

Detailed description of the changes:
  - dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
  - tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
  - netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
  - lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
  - lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-15 14:35:42 +08:00
xueyunfei
3b46f2f698 lwip:optimization dhcp coarse timer 2023-03-15 14:35:42 +08:00
xueyunfei
6f311db07e lwip: solve some routers do not forward multicast packet issue 2023-03-15 14:35:42 +08:00
Marius Vikhammer
84b9cebb04 Merge branch 'docs/broken_links_2_v5.0' into 'release/v5.0'
docs: fix broken links (v5.0)

See merge request espressif/esp-idf!22748
2023-03-15 14:16:15 +08:00
Marius Vikhammer
04758d2782 Merge branch 'contrib/github_pr_10970' into 'release/v5.0'
Bugfix: Fix compile error for ESP32 FSM ULP ADC Example (GitHub PR)

See merge request espressif/esp-idf!22746
2023-03-15 10:47:11 +08:00
Wang Meng Yang
63983fbdfa Merge branch 'bugfix/nimble_ext_adv_v5.0' into 'release/v5.0'
NimBLE: Fixed advertising instance check api in bleprph example (v5.0)

See merge request espressif/esp-idf!22752
2023-03-15 10:33:38 +08:00
Wang Meng Yang
e9e1702b23 Merge branch 'bugfix/IDFGH_9535_v5.0' into 'release/v5.0'
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v5.0)

See merge request espressif/esp-idf!22672
2023-03-15 10:33:05 +08:00
isha.pardikar@espressif.com
5158af3fed NimBLE: Fixed advertising instance check api in bleprph example 2023-03-14 12:22:49 +05:30
isha.pardikar@espressif.com
ff004d9ab9 wifi_prov_mgr : Fixed return value of characteristic read operation 2023-03-14 06:50:20 +00:00
Jiang Jiang Jian
86447548f8 Merge branch 'bugfix/restart_ext_adv_after_discovery_v5.0' into 'release/v5.0'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed (v5.0)

See merge request espressif/esp-idf!22542
2023-03-14 13:59:53 +08:00
Jiang Jiang Jian
0c1e80fc5b Merge branch 'feature/add_pcl_example_blecent_v5.0' into 'release/v5.0'
Nimble:Added power control API usage demo in blecent app (v5.0)

See merge request espressif/esp-idf!22541
2023-03-14 13:59:30 +08:00
Jiang Jiang Jian
8ebb50906f Merge branch 'bugfix/set_component_relative_path_v5.0' into 'release/v5.0'
Nimble: component path relative to IDF (v5.0)

See merge request espressif/esp-idf!22545
2023-03-14 13:59:10 +08:00
wuzhenghui
64d5421d8b deep sleep: close rf to optimize sleep current 2023-03-14 13:57:42 +08:00
Jiang Jiang Jian
6db1f2f9a7 Merge branch 'bugfix/some_small_fix_for_sleep_backport_v5.0' into 'release/v5.0'
soc/soc_caps: update soc caps for chips that support power-down of modem hardware(backport v5.0)

See merge request espressif/esp-idf!22720
2023-03-14 13:55:39 +08:00
Marius Vikhammer
420e20f95b docs: fix broken links 2023-03-14 10:24:51 +08:00
Zim Kalinowski
e14c47ee44 Merge branch 'bugfix/ulp_docs_incorrect_jump_desc_v5.0' into 'release/v5.0'
docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions (v5.0)

See merge request espressif/esp-idf!22731
2023-03-14 03:59:10 +08:00
wuzhenghui
568dd3d823 Revert "optimize deep sleep current in wifi softap mode"
This reverts commit 344ec80fad.
2023-03-13 20:49:36 +08:00
Jiang Jiang Jian
89bb920c86 Merge branch 'bugfix/ps_bufferable_mmpdu_v5.0' into 'release/v5.0'
Combine improvements in sa query and buffer mgmt frames on SoftAP, fix NULL ptr dereference (Backport v5.0)

See merge request espressif/esp-idf!22215
2023-03-13 19:39:03 +08:00
Sudeep Mohanty
316a1de567 docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions
This commit updates the incorrect description for the JUMPR and JUMPS
instructions for ULP FSM on esp32/s2/s3.

Closes https://github.com/espressif/esp-idf/issues/10923
2023-03-13 11:05:52 +01:00