Commit Graph

877 Commits

Author SHA1 Message Date
Xiao Xufeng
93e973fa21 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-11-02 12:32:40 +08:00
morris
0187f3b4e3 feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
morris
69b0a57777 Merge branch 'contrib/github_pr_12179_v5.0' into 'release/v5.0'
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.0)

See merge request espressif/esp-idf!26017
2023-09-19 13:15:17 +08:00
morris
d6df3b7758 Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
feat(MCPWM): Add mcpwm carrier clk source(v5.0)

See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
Song Ruo Jing
6fd9a50c17 fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-18 16:34:18 +08:00
Eduardo Lacerda Campos
5a1d9da84f 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:34:05 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
Chen Jichang
2a88fb9e81 feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-24 11:45:28 +08:00
Armando
d2fb10008e fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-08-24 10:50:33 +08:00
morris
a55ab7cb5d Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)

See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
wanlei
1283619767 cache: refactor cache_utils into cache_hal instade 2023-07-31 15:34:56 +08:00
Darian Leung
9935a17b1d usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-07-28 11:34:54 +02:00
morris
8e5718fd0c Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)

See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
Armando
abd0fca51a fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue 2023-07-12 17:19:00 +08:00
morris
f7b97b53c6 Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.0' into 'release/v5.0'
i2s: fixed i2s_ll compiling failure under C++ environment (v5.0)

See merge request espressif/esp-idf!24402
2023-07-12 10:08:23 +08:00
Cao Sen Miao
e2925cde68 brownout: Disable the hardware BOD when BOD interrupt is enabled 2023-07-11 14:46:30 +08:00
Armando
2bc999db7b spi: added transaction length check to refuse longer than hardware supported length 2023-07-10 07:17:00 +00:00
laokaiyao
a2cf3ae4df i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
Jiang Jiang Jian
fa17fc83cb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v5.0' into 'release/v5.0'
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v5.0)

See merge request espressif/esp-idf!24189
2023-06-13 20:20:25 +08:00
Jiang Jiang Jian
a591730d29 Merge branch 'bugfix/tempsensor_wifi_conflict_v5.0' into 'release/v5.0'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.0)

See merge request espressif/esp-idf!24066
2023-06-13 10:47:32 +08:00
Armando
9bec4233a4 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-13 10:28:46 +08:00
Niklas Gürtler
82c055bac9 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.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-13 10:28:46 +08:00
Armando
ac3f74ecb6 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-06-13 10:28:46 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
morris
839d1a831d drivers: fix issue reported by coverity 2023-06-07 11:43:17 +08:00
Cao Sen Miao
8a66cab04c temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-06-06 01:30:51 +08:00
Jiang Jiang Jian
0872feb2a0 Merge branch 'bugfix/eth_lan8720_ci_v5.0' into 'release/v5.0'
esp_eth: start/stop and L2 test stability improvements (v5.0)

See merge request espressif/esp-idf!22317
2023-06-01 19:54:17 +08:00
Ondrej Kosta
4dc8ce77e4 esp_eth: possible start/stop issue fixed
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-05-29 10:49:31 +00:00
Ondrej Kosta
47a3faa0ff Ethernet driver and documentation clean-up 2023-05-18 14:28:21 +00:00
Zim Kalinowski
d1280d92f5 Merge branch 'feature/efuse_settings_v5.0' into 'release/v5.0'
hal: Explicit setting of efuse time settings (v5.0)

See merge request espressif/esp-idf!23726
2023-05-15 18:48:45 +08:00
Marius Vikhammer
633b4cb38b Merge branch 'bugfix/i2c_timing_wrong_v5.0' into 'release/v5.0'
i2c: fix a bug in sda sample timing (backport v5.0)

See merge request espressif/esp-idf!23226
2023-05-15 10:40:01 +08:00
morris
829cf5aaf6 Merge branch 'bugfix/check_filter_range_v5.0' into 'release/v5.0'
rmt: check filter and idle threashold (v5.0)

See merge request espressif/esp-idf!23605
2023-05-14 14:12:47 +08:00
KonstantinKondrashov
bd4802104b hal: Explicit setting of efuse time settings
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:48:05 +08:00
Marius Vikhammer
bfe07cbef9 Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v5.0' into 'release/v5.0'
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v5.0)

See merge request espressif/esp-idf!23027
2023-05-12 17:49:52 +08:00
morris
2b483c98c4 Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.0' into 'release/v5.0'
i2s: fix several bugs in std and tdm mode (v5.0)

See merge request espressif/esp-idf!23670
2023-05-12 11:03:37 +08:00
KonstantinKondrashov
861a5fb863 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 05:55:32 +00:00
morris
889787c7ca Merge branch 'refactor/improve_adc_power_maintanance_v5.0' into 'release/v5.0'
adc: improve adc power maintanance (v5.0)

See merge request espressif/esp-idf!23273
2023-05-11 11:09:31 +08:00
morris
9716101e7d rmt: check filter and idle threashold
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-11 02:29:26 +00:00
morris
8d0df0a19f Merge branch 'bugfix/rmt_calarify_mem_block_symbols_v5.0' into 'release/v5.0'
Bugfix/rmt calarify mem block symbols (v5.0)

See merge request espressif/esp-idf!23000
2023-05-11 10:27:13 +08:00
laokaiyao
4dd5909b13 i2s_tdm: fixed half sample bit calculation and add check for slot mask 2023-05-10 12:28:52 +08:00
Omar Chebib
ed70f1c66b 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-06 08:05:32 +00:00
jiangguangming
f6aafd3539 hal: add rtc_cntl LL function for wake stub 2023-05-04 16:46:15 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
morris
e06bea0445 rmt: use gpio_num_t to define gpio number 2023-03-30 15:52:08 +08:00
KonstantinKondrashov
76291d0095 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 14:58:50 +08:00
Michael (XIAO Xufeng)
8f202f0ea5 Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
laokaiyao
ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +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
Laukik Hase
a2dd95434f memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
Song Ruo Jing
f177b2c6c6 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 19:18:08 +08:00