chenjianhua
e6f018a309
bluedroid: fix ble smp key distribution setting
2023-05-11 14:36:39 +08:00
chenjianhua
2afb56d189
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27
bluedroid: report disconnect event after BLE link closed
2023-05-11 14:36:39 +08:00
xiongweichao
7ddb440384
bt: Deleted some redundant variables in HFP_AG
2023-05-11 06:09:06 +00:00
xiongweichao
a891aa7e4d
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:09:06 +00:00
xiongweichao
d3d73ed8b2
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:09:06 +00:00
Michael (XIAO Xufeng)
a498871111
Merge branch 'bugfix/fix_wrong_hp_ldo_h2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix too low hp ldo dbias (v5.1)
See merge request espressif/esp-idf!23598
2023-05-11 11:59:26 +08:00
Marius Vikhammer
5d6b59109b
Merge branch 'ci/newlib_pytest_v5.1' into 'release/v5.1'
...
ci: move newlib tests to pytest (v5.1)
See merge request espressif/esp-idf!23685
2023-05-11 11:49:48 +08:00
Jakob Hasse
48ab527148
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-11 11:16:45 +08:00
term_est
51a9057d9e
Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
...
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com>
2023-05-11 11:16:45 +08:00
Armando
6ae2c3c240
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:13:32 +08:00
xiongweichao
8b8a6a4450
bt: Added an example of Bluetooth using light sleep
2023-05-11 10:24:00 +08:00
Marius Vikhammer
6b0d93efd4
ci: misc fixes for newlib test app
...
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-11 09:27:09 +08:00
Zim Kalinowski
d795abeb03
newlib: move test to pytest
2023-05-11 09:26:39 +08:00
Roland Dobai
70feed14dd
Merge branch 'feature/update-OpenOCD-to-v0.12.0-esp32-20230419_v5.1' into 'release/v5.1'
...
tools: update OpenOCD version to v0.12.0-esp32-20230419 (v5.1)
See merge request espressif/esp-idf!23677
2023-05-11 01:55:34 +08:00
Roland Dobai
ae4d1c1f81
Merge branch 'feature/esp32c6_esp32h2_enable_panic_tests_v5.1' into 'release/v5.1'
...
tests: panic: esp32c6/esp32h2 enable (v5.1)
See merge request espressif/esp-idf!23683
2023-05-11 00:27:22 +08:00
Marius Vikhammer
eec03e6a32
Merge branch 'feature/freertos_add_create_task_with_caps_v5.1' into 'release/v5.1'
...
FreeRTOS: Add xTaskCreateWithCaps() (v5.1)
See merge request espressif/esp-idf!23382
2023-05-10 22:34:17 +08:00
Alexey Lapshin
6b31235f3f
tests: panic: add esp32c6 esp32h2
2023-05-10 19:19:47 +08:00
Roland Dobai
2744e6ce07
Merge branch 'feature/refactor_gdbstub_v5.1' into 'release/v5.1'
...
esp_gdbstub: refactor code (v5.1)
See merge request espressif/esp-idf!23513
2023-05-10 19:11:39 +08:00
Alexey Gerenkov
b3c5ee767a
tools: update OpenOCD version to v0.12.0-esp32-20230419
2023-05-10 13:15:19 +03:00
Darian Leung
ad5044c5f6
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-05-10 17:55:49 +08:00
Marius Vikhammer
4a35536244
Merge branch 'feature/freertos_get_static_buffers_v5.1' into 'release/v5.1'
...
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions (v5.1)
See merge request espressif/esp-idf!23381
2023-05-10 17:53:26 +08:00
Marius Vikhammer
670996f484
Merge branch 'bugfix/make_clean_files_v5.1' into 'release/v5.1'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES (v5.1)
See merge request espressif/esp-idf!23661
2023-05-10 13:46:56 +08:00
laokaiyao
8bb8c144c7
i2s_doc: fixed the data of stereo left/right state
2023-05-10 12:36:00 +08:00
laokaiyao
653ba59b23
i2s_tdm: fixed half sample bit calculation and added check for slot mask
2023-05-10 12:34:14 +08:00
laokaiyao
319e0689a5
i2s_std: fixed mclk check for 24-bit data and enable left alignment as default
2023-05-10 12:32:38 +08:00
morris
6b86fc7ad7
Merge branch 'test/enlarge_gptimer_test_threshold_v5.1' into 'release/v5.1'
...
gptimer: enlarge test threshold (v5.1)
See merge request espressif/esp-idf!23622
2023-05-10 10:39:45 +08:00
Fu Hanxi
f4c5fdbd1a
Merge branch 'ci/migrate_peripherals_examples_v5.1' into 'release/v5.1'
...
ci: migrate peripherals ttfw test scripts (v5.1)
See merge request espressif/esp-idf!23403
2023-05-10 10:25:40 +08:00
morris
7b93cf91aa
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:09:48 +08:00
Marius Vikhammer
63153794c9
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:53:55 +08:00
Marius Vikhammer
19a2e42770
ci: fix invalid kconfig options in system test apps
2023-05-10 09:42:12 +08:00
Marius Vikhammer
45fd8feba3
ulp: add support for using lp timer with lp core on C6
2023-05-10 09:39:24 +08:00
Zim Kalinowski
f5020d3f1b
Merge branch 'bugfix/freertos_nested_sched_suspension_v5.1' into 'release/v5.1'
...
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList() (v5.1)
See merge request espressif/esp-idf!23650
2023-05-10 01:41:34 +08:00
Sudeep Mohanty
08600cb1a3
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
...
The commit 88e4c06028
introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.
The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.
Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 15:07:50 +02:00
morris
236d601e98
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-09 18:30:46 +08:00
Sudeep Mohanty
ee18b19b8f
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
...
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 12:25:09 +02:00
laokaiyao
27f044bd7f
i2s_pdm: enable example pytest on h2 (v5.1)
2023-05-09 17:30:40 +08:00
morris
5a353ab1ca
Merge branch 'docs/add_cn_trans_i2s_v5.1' into 'release/v5.1'
...
Docs: add CN translation for i2s.rst (backport v5.1)
See merge request espressif/esp-idf!23625
2023-05-09 15:13:45 +08:00
Mo Fei Fei
bac34f23bc
Docs: add CN translation for i2s.rst (backport v5.1)
2023-05-09 15:13:44 +08:00
Wang Meng Yang
8a08cfe7d1
Merge branch 'bugfix/fix_own_addr_is_rap_random_err_v5.1' into 'release/v5.1'
...
Fixed no error report when own address type is rpa_random and no random address setting(backport v5.1)
See merge request espressif/esp-idf!23623
2023-05-08 20:20:53 +08:00
morris
242713ceee
Merge branch 'bugfix/ana_cmpr_negative_enum_v5.1' into 'release/v5.1'
...
driver: Fix ana_cmpr negative enum comparison and bad test (v5.1)
See merge request espressif/esp-idf!23630
2023-05-08 19:44:56 +08:00
morris
1d3a08d06f
Merge branch 'docs/provide_CN_trans_for_22939_backport_v5.1' into 'release/v5.1'
...
docs: update links in mdns.rst (backport_v5.1)
See merge request espressif/esp-idf!23633
2023-05-08 19:43:31 +08:00
Shang Zhou
e6de764ca1
docs: update links in mdns.rst_backport_v5.1
2023-05-08 17:46:58 +08:00
Darian Leung
3948949019
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-05-08 17:11:52 +08:00
zhiweijian
24cc2d714e
Fixed BLE disconnection failure on ESP32
2023-05-08 12:17:09 +08:00
zhiweijian
16696d98c1
Fixed battery profile wrong condition
2023-05-08 11:31:22 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
morris
864f5532fa
gptimer: enlarge test threshold
2023-05-08 10:18:58 +08:00
Marius Vikhammer
d4a3427eaf
Merge branch 'bugfix/gdma_log_nano_v5.1' into 'release/v5.1'
...
gdma: fixed crash from logging when using newlib nano (v5.1)
See merge request espressif/esp-idf!23585
2023-05-08 10:13:55 +08:00
Marius Vikhammer
94d6614c88
Merge branch 'ci/fix_overwrite_pytest_configs_v5.1' into 'release/v5.1'
...
ci: fixed test apps overriding pytest configs (v5.1)
See merge request espressif/esp-idf!23495
2023-05-06 17:40:58 +08:00