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
morris
de5a9ac1f3
Merge branch 'bugfix/check_filter_range_v5.1' into 'release/v5.1'
...
rmt: check filter and idle threashold (v5.1)
See merge request espressif/esp-idf!23604
2023-05-06 14:00:20 +08:00
Marius Vikhammer
46f104b3ae
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:47:51 +08:00
Marius Vikhammer
dd747bd54d
Merge branch 'contrib/github_pr_11326_v5.1' into 'release/v5.1'
...
correct typo in reference to ESP-IDF repo (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23551
2023-05-06 13:09:33 +08:00
Shu Chen
7d96d9e306
Merge branch 'backport/fix_openthread_ci' into 'release/v5.1'
...
OpenThread CI: add a function for executing commands(backport v5.1)
See merge request espressif/esp-idf!23602
2023-05-06 10:34:06 +08:00
Roland Dobai
1111fd2630
Merge branch 'contrib/github_pr_11296_v5.1' into 'release/v5.1'
...
Fix references to IDF_ADD_PATHS_EXTRAS before being assigned (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23599
2023-05-05 21:12:11 +08:00
morris
d12ad17373
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-05 19:07:59 +08:00
Jiang Jiang Jian
4db113a2eb
Merge branch 'bugfix/hf_cind_ind_index_v5.1' into 'release/v5.1'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v5.1)
See merge request espressif/esp-idf!23559
2023-05-05 18:47:45 +08:00
Ivan Grokhotkov
bba2581f1a
Merge branch 'bugfix/fatfs_open_O_CREAT_fails_v5.1' into 'release/v5.1'
...
fatfs: fix "open("xx",O_CREAT|O_WRONLY,0666)" call failure (v5.1)
See merge request espressif/esp-idf!23561
2023-05-05 18:13:51 +08:00
Xu Si Yu
938bcc0337
OpenThread CI: add a function for executing commands
2023-05-05 18:05:02 +08:00
Justin Ong
845efafc76
Fix references to IDF_ADD_PATHS_EXTRAS before being declared
2023-05-05 11:17:24 +02:00
cje
78b9f5e151
fix too low hp ldo dbias bug for h2
2023-05-05 17:04:18 +08:00
Jin Cheng
8dbe966d89
fix a2dp source crash when connect to Bose speaker
2023-05-04 19:00:20 +08:00
Marius Vikhammer
38570b052b
pm: fix invalid trace pins for C6 and H2
2023-05-04 14:42:17 +08:00
Sonika Rathi
4477f3e559
bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
...
fatfs 'open' with only O_CREAT flag fails to creat new file
Closes https://github.com/espressif/esp-idf/issues/1817
2023-05-04 11:45:37 +05:30
xiongweichao
25e8069532
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:08:30 +08:00
Shyamal Khachane
90e354a723
wpa_supplicant: Reduce logging for SAE
2023-05-04 11:23:55 +05:30
morris
2004bf4e11
Merge branch 'bugfix/rmt_one-wire_v5.1' into 'release/v5.1'
...
rmt_onewire: refactor example with component registry (v5.1)
See merge request espressif/esp-idf!23509
2023-05-04 13:32:18 +08:00
Marius Vikhammer
a0a6e34f4f
docs: fix wrong link to esp-adf github issues in migration guide
2023-05-04 12:57:08 +08:00
Omar Chebib
6b5b7f09f9
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-04 12:14:43 +08:00
xiongweichao
42d5b865dd
Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
...
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:13:27 +08:00
wuzhenghui
123da6baa7
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:47:54 +08:00
Myk Melez
2654d29bc5
correct typo in reference to ESP-IDF repo
...
There's a reference to the ESP-ADF repo that looks like it was intended to be a reference to the ESP-IDF repo. This branch fixes the reference.
2023-05-04 11:43:08 +08:00
Wang Meng Yang
b3b85cafb1
Merge branch 'bugfix/fix_ble_hop_sel_v5.1' into 'release/v5.1'
...
Fixed BLE connection failed to be established when disabled 5.0 feature (backport 5.1)
See merge request espressif/esp-idf!23530
2023-05-04 11:38:06 +08:00
Fu Hanxi
21fd9aaee8
ci: small cleanup for the dependencies.yml
2023-05-04 11:21:40 +08:00
Fu Hanxi
8fd3b342aa
ci: add pattern ccs811
2023-05-04 11:21:39 +08:00
Fu Hanxi
1c1c6d59b3
ci: migrate peripherals ttfw test scripts
2023-05-04 11:21:29 +08:00
Xiao Xufeng
f2d144166a
sdio_example: fix meaningless print in host, make shared reg access more readable in slave
2023-05-04 11:21:10 +08:00
Jiang Jiang Jian
e704f72356
Merge branch 'backport/ble_bugfix_5_1' into 'release/v5.1'
...
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
See merge request espressif/esp-idf!23523
2023-05-04 10:52:01 +08:00
morris
4f1fc73fc2
Merge branch 'bugfix/eth_driver_cleanup_v5.1' into 'release/v5.1'
...
Ethernet driver and documentation clean-up (v5.1)
See merge request espressif/esp-idf!23545
2023-05-04 10:05:25 +08:00
morris
2508350137
Merge branch 'bugfix/eth_l2_test_switch_v5.1' into 'release/v5.1'
...
LAN8720 & IP101 L2 Test Fix (v5.1)
See merge request espressif/esp-idf!23535
2023-05-04 10:04:46 +08:00
Shang Zhou
058bb0edd0
docs: update translation for esp_eth
2023-05-03 07:39:24 +00:00
Ondrej Kosta
71d19fa9c9
Ethernet driver and documentation clean-up
2023-05-03 07:39:24 +00:00
Jens Gutermuth
07d1e19107
improve thread safety in esp_timer
...
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:
1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again
The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:24 +02:00