Eduardo Lacerda Campos
a2682d4ffb
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
...
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-18 16:22:01 +08:00
Armando
b282c244cb
DMA EOF may happens per multiple dma descriptors, instead of only one.
...
Closes https://github.com/espressif/esp-idf/pull/11500
2023-09-05 11:18:56 +08:00
Armando
85ce6abdec
Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
2023-09-05 11:18:56 +08:00
Armando
91da3bcdc1
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
2023-09-05 11:18:52 +08:00
Jiang Jiang Jian
2183fbc046
Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v4.4' into 'release/v4.4'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v4.4)
See merge request espressif/esp-idf!23029
2023-09-01 10:18:49 +08:00
Darian Leung
60e42f30c4
usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
2023-08-22 15:43:39 +08:00
Armando
8bf4cb3eee
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-07-12 17:24:19 +08:00
morris
564e20dd6b
Merge branch 'refactor/improve_adc_power_maintanance_v4.4' into 'release/v4.4'
...
adc: improve power logic (v4.4)
See merge request espressif/esp-idf!23275
2023-06-20 10:52:46 +08:00
David Čermák
b96c98accf
Merge branch 'bugfix/eth_lan8720_ci_v4.4' into 'release/v4.4'
...
esp_eth: start/stop and L2 test stability improvements (v4.4)
See merge request espressif/esp-idf!22322
2023-06-13 16:42:07 +08:00
Jiang Jiang Jian
3d743d525c
Merge branch 'feature/efuse_settings_v4.4' into 'release/v4.4'
...
hal: Explicit setting of efuse time settings (v4.4)
See merge request espressif/esp-idf!23727
2023-06-13 10:53:35 +08:00
morris
d9d5327dfa
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v4.4' into 'release/v4.4'
...
spi master: added transaction length check to refuse longer than hardware supported length (v4.4)
See merge request espressif/esp-idf!23749
2023-06-12 10:47:59 +08:00
Armando
4e67ea0fe3
spi: added transaction length check to refuse longer than hardware supported length
2023-05-19 09:30:06 +00:00
KonstantinKondrashov
daba1560a6
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-13 00:06:35 +08:00
KonstantinKondrashov
1b608a1c07
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-05-11 06:07:19 +00:00
KonstantinKondrashov
42a6b47aa8
hal: Adds cache hal
2023-05-11 06:07:19 +00:00
jiangguangming
cafcb219de
hal: add rtc_cntl LL function for wake stub
2023-04-23 14:29:25 +08:00
morris
9516e80f61
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)
See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
Armando
1b2a254d71
adc: improve power logic
2023-04-20 10:42:12 +08:00
Omar Chebib
6022afc980
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-04-17 16:03:34 +08:00
laokaiyao
d98b6c640f
i2s: fixed I2S_mono_stereo_loopback_test (v4.4)
2023-04-07 11:17:07 +08:00
laokaiyao
73ca054b80
i2s: fixed incorrect channel format on ESP32
...
Closes: https://github.com/espressif/esp-idf/issues/9635
2023-04-04 10:00:05 +08:00
Song Ruo Jing
81b59071fd
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
2023-03-29 17:21:50 +08:00
KonstantinKondrashov
b19d685406
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 16:18:54 +08:00
Michael (XIAO Xufeng)
2a052f09f2
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v4.4' into 'release/v4.4'
...
uart: Fix TX side concurrency issues (v4.4)
See merge request espressif/esp-idf!22596
2023-03-23 16:46:49 +08:00
Jiang Jiang Jian
3c8bc2213c
Merge branch 'feature/esp32c3_uart_add_wakeup_event_v4.4' into 'release/v4.4'
...
UART: add uart wakeup event for esp32c3 and esp32s3 (v4.4)
See merge request espressif/esp-idf!22647
2023-03-20 14:05:42 +08:00
Michael (XIAO Xufeng)
8232f23f65
Merge branch 'feature/apply_new_version_logic_v4.4' into 'release/v4.4'
...
all: Apply new version logic (major * 100 + minor) (v4.4)
See merge request espressif/esp-idf!22481
2023-03-10 14:52:18 +08:00
laokaiyao
ac67d5dd35
uart: support light sleep on esp32s3
2023-03-08 11:10:43 +08:00
Chen Wu
1d31a493e4
debug: esp32c3 uart1 wakeup
2023-03-08 10:30:46 +08:00
Chen Yi Qun
176f44c15f
uart: add wakeup event for esp32c3
2023-03-08 10:02:23 +08:00
Mahavir Jain
60b90c5144
Merge branch 'feature/memprot_test_app_v4.4' into 'release/v4.4'
...
memprot: Fix incorrect faulting address reported for esp32c3 (v4.4)
See merge request espressif/esp-idf!22583
2023-03-06 20:27:21 +08:00
KonstantinKondrashov
a86c80e3ec
all: Apply new version logic (major * 100 + minor)
2023-03-03 22:26:39 +00:00
Song Ruo Jing
093eaae4e5
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 18:01:46 +08:00
Simon Arlott
f5d94ef432
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 17:01:41 +08:00
Laukik Hase
6f2bf5f856
memprot: Fix incorrect faulting address reported for esp32c3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-03 10:18:54 +05:30
Darian Leung
3819d22e93
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 20:26:53 +08:00
morris
a43e796f60
rmt: force inline LL functions
...
Closes https://github.com/espressif/esp-idf/issues/9487
2023-02-14 15:11:35 +08:00
Ondrej Kosta
a0c87d63e3
esp_eth: possible start/stop issue fixed
...
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-02-10 16:23:20 +01:00
jingli
200dcce535
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:52:49 +08:00
Zim Kalinowski
3cf24d8685
Merge branch 'feature/usb_host_feature_and_refactor_backports_v4.4' into 'release/v4.4'
...
USB Host: Backport multiple bugfixes/refactors to v4.4
See merge request espressif/esp-idf!21583
2023-02-07 17:54:35 +08:00
morris
969569dec0
Merge branch 'bugfix/i2s_update_regs_before_start_v4.4' into 'release/v4.4'
...
i2s: fixed rx update stuck bug (v4.4)
See merge request espressif/esp-idf!21777
2023-02-02 21:40:37 +08:00
morris
b58d463fdd
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v4.4' into 'release/v4.4'
...
spi: fix micro SPI_HOST_MAX error (v4.4)
See merge request espressif/esp-idf!22148
2023-02-02 21:40:14 +08:00
morris
854c55c61e
Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.4' into 'release/v4.4'
...
spi: limit esp32 dma workaround only on esp32(v4.4)
See merge request espressif/esp-idf!21382
2023-02-02 21:39:51 +08:00
morris
46b66530ce
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:10:26 +08:00
wanlei
9526b100a4
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2023-01-29 16:32:45 +08:00
Jiang Jiang Jian
d4080633f9
Merge branch 'feature/efuse_rev_major_minor_v4.4' into 'release/v4.4'
...
efuse: Adds major and minor versions (v4.4)
See merge request espressif/esp-idf!19541
2023-01-12 16:24:59 +08:00
laokaiyao
85392e3ec9
i2s: fixed rx update stuck bug
2022-12-23 10:53:03 +08:00
Michael (XIAO Xufeng)
800d11c48f
Merge branch 'contrib/github_pr_10106_v4.4' into 'release/v4.4'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR) (v4.4)
See merge request espressif/esp-idf!21455
2022-12-22 17:01:14 +08:00
Michael (XIAO Xufeng)
a5964c442f
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-20 21:14:36 +08:00
Michael (XIAO Xufeng)
9e87d53fed
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-12-20 16:30:13 +08:00
KonstantinKondrashov
26960f1734
efuse: Adds major and minor versions and others
2022-12-20 16:30:13 +08:00