Commit Graph

21736 Commits

Author SHA1 Message Date
jingli
13984c0a79 esp_hw_support/clk_cali: fix xtal32k error detect 2022-09-21 15:11:04 +08:00
Island
7d4d75c507 Merge branch 'doc/support_micro_def' into 'release/v4.4'
Support of Micro definition in header file

See merge request espressif/esp-idf!20071
2022-09-21 13:53:53 +08:00
Zim Kalinowski
d805d2ad5a Merge branch 'bugfix/clobbering_freertos_base_priority_v4.4' into 'release/v4.4'
spi_flash: fix issue linked with raising of task priority while priority is already raised (v4.4)

See merge request espressif/esp-idf!20026
2022-09-21 13:11:35 +08:00
Michael (XIAO Xufeng)
0f630acf43 Merge branch 'bugfix/spi_hd_quad_issue_4.4' into 'release/v4.4'
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.4)

See merge request espressif/esp-idf!19816
2022-09-21 12:06:40 +08:00
morris
af62cfc8a2 Merge branch 'bugfix/fix_ledc_timer_update_usage_v4.4' into 'release/v4.4'
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst (backport v4.4)

See merge request espressif/esp-idf!20241
2022-09-21 11:40:27 +08:00
Island
4b8915d7af Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.4' into 'release/v4.4'
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.4)

See merge request espressif/esp-idf!20264
2022-09-21 11:31:55 +08:00
morris
7cedbfabdf Merge branch 'bugfix/gpio_usb_pin_pupd_v4.4' into 'release/v4.4'
gpio: fix USB D+ pin cannot disable pullup (backport v4.4)

See merge request espressif/esp-idf!20251
2022-09-21 11:28:36 +08:00
Island
b9bd4df2d6 Merge branch 'support/readme_esp32s3_bluedroid_examples_v4.4' into 'release/v4.4'
Added ESP32-S3 in README Bluedroid examples (v4.4)

See merge request espressif/esp-idf!20224
2022-09-21 10:39:44 +08:00
wangjialiang
e4df3e2ad7 ble_mesh: stack: Add option for lpn auto sub all-nodes. 2022-09-20 20:30:08 +08:00
Anton Maklakov
3531585522 Merge branch 'feature/update-GCC-Toolchain-to-esp-2021r2-patch5-8.4.0' into 'release/v4.4'
tools: update GCC-Toolchain version to 'esp-2021r2-patch5-8.4.0' for IDF-v4.4

See merge request espressif/esp-idf!20186
2022-09-20 20:25:02 +08:00
songruojing
4bee8a84e2 gpio: fix USB D+ pin cannot disable pullup
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup

Closes https://github.com/espressif/esp-idf/issues/9495
2022-09-20 15:23:01 +08:00
satish.solanke
bb6f2ca740 Support of Micro defination in header file 2022-09-20 11:07:06 +05:30
KonstantinKondrashov
9c830297b9 freertos: Adds new APIs to set/get and restore base priority
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-20 05:00:13 +00:00
Marius Vikhammer
c070c58ef3 Merge branch 'ci/app_type_elf_reduce_ram_v4.4' into 'release/v4.4'
CI: reduce memory footprint for "Loadable ELF build" (v4.4)

See merge request espressif/esp-idf!20227
2022-09-20 12:57:53 +08:00
Song Ruo Jing
9bd20fc2ca ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-09-20 11:52:57 +08:00
Marius Vikhammer
4f971a0cf5 CI: reduce memory footprint for "Loadable ELF build"
Build test was failing due to IRAM overflow, building with the recommended
options for reducing memory footprint should give us some breathing room.
2022-09-19 17:22:30 +08:00
Marius Vikhammer
1d9f539f22 Merge branch 'bugfix/light_sleep_deadlock_v4.4' into 'release/v4.4'
esp_hw_support: Fix light sleep deadlock (v4.4)

See merge request espressif/esp-idf!19516
2022-09-19 16:33:19 +08:00
satish.solanke
8ae535cdc5 Added ESP32-S3 in README Bluedroid examples (v4.4) 2022-09-19 12:47:49 +05:30
Jiang Jiang Jian
2f929685fc Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v4.4' into 'release/v4.4'
wpa_supplicant: try install gtk before send 2 of 2(Backport v4.4)

See merge request espressif/esp-idf!20201
2022-09-19 10:58:59 +08:00
Anton Maklakov
7ce7c22140 tools: update GCC-Toolchain version to 'esp-2021r2-patch5-8.4.0'
Fix running GDB on macos-arm64
2022-09-18 18:27:54 +07:00
muhaidong
5b24356ab5 wpa_supplicant: try install gtk before send 2 of 2 2022-09-17 19:02:53 +08:00
Ivan Grokhotkov
25c968ec65 Merge branch 'bugfix/exclude_component_dirs_pacman_v4.4' into 'release/v4.4'
build: fix excluded components being passed to component manager (v4.4)

See merge request espressif/esp-idf!19623
2022-09-16 22:10:05 +08:00
Roland Dobai
5af9949289 Merge branch 'fix/idf_tools_download' into 'release/v4.4'
tools: fix idf_tools.py download command without --platform option

See merge request espressif/esp-idf!20170
2022-09-16 18:51:39 +08:00
Darian Leung
baa28b54a2 esp_hw_support: Fix esp_light_sleep_start() deadlock
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.

This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-09-16 17:02:38 +08:00
Darian Leung
9ea9192efb esp_hw_support: esp_clk should use spinlock instead of mutex
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).

This commit updates esp_clk to use spinlocks for critical sections instead.

Note: Added a small fix to exclude esp_clk.c from bootloader builds in the
      legacy build system (this is already the case in CMake).
2022-09-16 17:02:38 +08:00
Jiang Jiang Jian
e80057035a Merge branch 'bugfix/adapt_new_btc_v4.4' into 'release/v4.4'
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.4)

See merge request espressif/esp-idf!20166
2022-09-16 10:53:55 +08:00
Jiang Jiang Jian
d6522044d3 Merge branch 'bugfix/change_log_level_for_print_v4.4' into 'release/v4.4'
Nimble : updated debug level for a print to avoid unwanted console log. (v4.4)

See merge request espressif/esp-idf!20111
2022-09-16 10:52:31 +08:00
Anton Maklakov
ecf84354b2 Merge branch 'feature/ulp_binutils_multi_target_v4.4' into 'release/v4.4'
ulp: support the new multi-target ULP-FSM binutils (v4.4)

See merge request espressif/esp-idf!20147
2022-09-16 10:01:00 +08:00
Alexey Lapshin
a8e81f88f1 tools: update esp32ulp-elf to v2.35_20220830
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-15 23:41:56 +04:00
David Čermák
4b46e85b0a Merge branch 'bugfix/transport_foundation_intialization_v4.4' into 'release/v4.4'
tcp_transport: Fix initialition of transport (v4.4)

See merge request espressif/esp-idf!20047
2022-09-16 00:13:48 +08:00
Ivan Grokhotkov
d4b4964088 Merge branch 'bugfix/gdbstub_test_fix_v4.4' into 'release/v4.4'
system: fix gdbstub panic tests after the truncated backtrace is fixed

See merge request espressif/esp-idf!20149
2022-09-15 19:06:10 +08:00
Roshan Bangar
d2b1ea9ac1 Nimble : updated debug level for a print to avoid unwanted console log. 2022-09-15 15:24:53 +05:30
wangjialiang
87921558fd ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed 2022-09-15 09:14:39 +00:00
Alexey Lapshin
65da9400e8 tools: fix idf_tools.py download command without --platform option 2022-09-15 12:55:41 +04:00
Ivan Grokhotkov
69da6a3c23
system: fix gdbstub panic tests after the truncated backtrace is fixed
GDB has been updated in 0007754 to fix the abort backtrace issue.
This commit updates the test case to match the new (correct) behavior.
2022-09-15 10:36:46 +02:00
Jiang Jiang Jian
481d00be93 Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.4' into 'release/v4.4'
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.4)

See merge request espressif/esp-idf!19745
2022-09-14 16:34:22 +08:00
Jiang Jiang Jian
440f9e138c Merge branch 'bugfix/enable_ans_svc_by_default_v4.4' into 'release/v4.4'
Nimble: Enable ANS service by default in nimble peripheral example (v4.4)

See merge request espressif/esp-idf!20022
2022-09-14 16:17:20 +08:00
Roland Dobai
0b7532c097 Merge branch 'bugfix/idf_tools_update_bundled_cert_v4.4' into 'release/v4.4'
tools: update bundled root certificate in idf_tools.py (v4.4)

See merge request espressif/esp-idf!20114
2022-09-13 21:34:31 +08:00
Zim Kalinowski
6c3267e8a9 Merge branch 'feature/s2_s3_support_ext_mem_stack_v4.4' into 'release/v4.4'
soc: support placing task stacks in external memory for S2 and S3 (v4.4)

See merge request espressif/esp-idf!20001
2022-09-13 21:24:02 +08:00
Zim Kalinowski
a29f770c7a Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning-v4.4' into 'release/v4.4'
heap: Provide memory corruption check when poisoning is active (V4.4)

See merge request espressif/esp-idf!19778
2022-09-13 20:41:48 +08:00
Zim Kalinowski
5224045d17 Merge branch 'doc/nvs_max_num_namespaces_4.4' into 'release/v4.4'
doc (nvs): added note about maximum possible namespaces (backport 4.4)

See merge request espressif/esp-idf!19980
2022-09-13 17:33:19 +08:00
Ivan Grokhotkov
1be5e5eae5
ci: fix incorrect paths in the build system test
The working directory when the test runs is not $IDF_PATH, it is
the directory of the template project.
2022-09-13 10:23:07 +02:00
Ivan Grokhotkov
0e8c7284ce
build: fix excluded components being passed to component manager
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-09-13 10:05:59 +02:00
morris
3b03bee2a4 Merge branch 'test/add_adc_wifi_test_thresh_on_v4.4' into 'release/v4.4'
test: added adc wifi test thresh for esp32, s2, c3, s3 on v4.4

See merge request espressif/esp-idf!20116
2022-09-13 14:50:00 +08:00
Armando
2488281d17 test: added adc wifi test thresh for esp32, s2, c3, s3 on v4.4
Due to unit test, we can't specify runners, for adc related tests.
Whereas adc tests are easily influenced by board hw condition, e.g.
pullup/down value.
This commit increases the thresh to 200mV.
2022-09-13 11:56:37 +08:00
Marius Vikhammer
95b4553026 Merge branch 'docs/update_ulp_shift_ops_description_v4.4' into 'release/v4.4'
docs: Updated description of ULP FSM shift operations (v4.4)

See merge request espressif/esp-idf!20101
2022-09-13 09:20:40 +08:00
Ivan Grokhotkov
3301606cdf
tools: update bundled root certificate in idf_tools.py
dl.espressif.com is now using the same root certificate as github.com.
This commit replaces the previously-used ISRG X1 root certificate
with the DigiCert Root CA certificate.
As a result, even if the certificates are not installed (as it happens
on macOS with python.org installers, if the user forgets to run
'Install Certificates.command'), the download is successful.

Related to https://github.com/espressif/esp-idf/issues/4081
2022-09-12 18:09:24 +02:00
Anton Maklakov
c5a2315f5a Merge branch 'feature/update-gcc-toolchain-to-esp-2021r2-patch4-8.4.0' into 'release/v4.4'
tools: update GCC-toolchain version to esp-2021r2-patch4 for IDF-v4.4

See merge request espressif/esp-idf!20051
2022-09-12 21:52:01 +08:00
Anton Maklakov
00077545bf tools: Update GCC toolchain to esp-2021r2-patch4 version. Includes GCC 8.4.0, Newlib 3.3.0
Closes https://github.com/espressif/esp-idf/issues/7857
Closes https://github.com/espressif/esp-idf/issues/6004
Closes https://github.com/espressif/esp-idf/issues/6124
Closes https://github.com/espressif/esp-idf/issues/9396
2022-09-12 19:28:37 +07:00
Anton Maklakov
da0cfb806a system: add missing header
Because we got rid of the including core-isa.h in newlib's config.h (8a3197a2a9a42dd99605cf8cc1e0f2d3c976c58c)
2022-09-12 19:26:42 +07:00