Mahavir Jain
2cd1635b86
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-20 16:05:15 +05:30
morris
1b3713f7cd
Merge branch 'feature/support_adc_calibration_on_h2_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.1)
See merge request espressif/esp-idf!26963
2023-11-17 16:41:00 +08:00
morris
ddb6d22468
Merge branch 'feature/gpio_dump_io_info_v5.1' into 'release/v5.1'
...
feat(gpio): add a dump API to dump IO configurations (v5.1)
See merge request espressif/esp-idf!26870
2023-11-17 16:30:22 +08:00
morris
ceb0aec0cc
Merge branch 'bugfix/rmt_stop_issue_v5.1' into 'release/v5.1'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.1)
See merge request espressif/esp-idf!26779
2023-11-17 16:27:21 +08:00
morris
bfeae3857c
feat(rmt): support calling rmt_receive in ISR callback
2023-11-15 05:57:45 +00:00
Chen Jichang
0ce2683d81
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-11-15 05:57:37 +00:00
Jiang Jiang Jian
0172c33818
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.1' into 'release/v5.1'
...
Bugfix/fix deinit init wifi scan fail issue v5.1(Backport v5.1)
See merge request espressif/esp-idf!27064
2023-11-14 15:25:54 +08:00
gaoxu
c5e107c53d
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-11-13 03:04:03 +00:00
muhaidong
abfd0cbebc
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 11:15:49 +08:00
Song Ruo Jing
4892c481b5
feat(gpio): add a dump API to dump IO configurations
...
Merges https://github.com/espressif/esp-idf/pull/12511
2023-11-03 16:21:31 +08:00
morris
9b4a42e728
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:11:47 +08:00
morris
e5c8434c6e
fix(parlio_tx): fix wrong dma descriptor setup
2023-09-27 14:53:53 +08:00
Eduardo Lacerda Campos
9cd0aee51b
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-19 12:12:05 +08:00
Marius Vikhammer
41a291fee0
fix(wdt): changed WDT clock source to XTAL for C6/H2
...
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-13 10:45:51 +08:00
morris
5baf0197f0
Merge branch 'feature/modify_mcpwm_clock_pre_scale_v5.1' into 'release/v5.1'
...
feat(mcpwm): Make the MCPWM capture timer's resolution configurable (v5.1)
See merge request espressif/esp-idf!25904
2023-09-12 11:30:39 +08:00
Chen Jichang
d8e5b2ac41
feat(mcpwm): Set group clock prescale dynamically
...
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-11 11:29:28 +08:00
Marius Vikhammer
0a6d6c085a
feat(wdt): add LL functions for WDT on H2
2023-09-08 11:01:25 +08:00
Chen Jichang
c240a1f46b
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-25 17:34:58 +08:00
morris
f41df5641a
Merge branch 'bugfix/gptimer_hal_placement_wrong_condition_v5.1' into 'release/v5.1'
...
fix(gptimer): hal function placement under wrong condition (v5.1)
See merge request espressif/esp-idf!25280
2023-08-23 23:21:20 +08:00
Jiang Jiang Jian
b638cb3335
Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
...
esp32h2: support deep_sleep(backport v5.1)
See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
Laukik Hase
a0da805f2b
fix(hal): Fix the external memory vaddr region validity check
...
- For c6 and h2, the vaddr end calculated was off by 1
byte.
2023-08-22 15:24:02 +05:30
morris
77b74ab091
Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level_v5.1' into 'release/v5.1'
...
spi: unify default mosi level on all targets (v5.1)
See merge request espressif/esp-idf!25014
2023-08-17 10:13:05 +08:00
morris
c113507ad7
feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
...
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-08-14 02:31:16 +00:00
Lou Tianhao
badef66538
change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2
2023-08-03 16:46:55 +08:00
Lou Tianhao
b27e57db7b
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-08-03 16:46:55 +08:00
Song Ruo Jing
6768f098dc
change(driver/rtcio): Describe RTCIO CAPS with more accurate note
2023-08-03 16:46:55 +08:00
Lou Tianhao
4bc5e24f82
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-08-03 16:46:54 +08:00
Jiang Jiang Jian
afcf3e261b
Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.1' into 'release/v5.1'
...
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.1)
See merge request espressif/esp-idf!25087
2023-08-02 11:21:33 +08:00
wuzhenghui
58a01eb10b
fix(hal): sync esp32c6 & esp32h2 uart_ll inline attr from master
2023-08-01 02:32:55 +00:00
wanlei
bb845e1841
cache: refactor cache_utils into cache_hal instade
2023-07-31 14:52:03 +08:00
wanlei
7a30edc412
fix(all): unify default mosi level to low on all targets
2023-07-26 20:34:25 +08:00
Armando
d21e332281
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-07-12 17:10:58 +08:00
Jiang Jiang Jian
9fb1b59054
Merge branch 'bringup/esp32h2_light_sleep_for_rebase_backport_v5.1' into 'release/v5.1'
...
esp32h2: support light_sleep(backport v5.1)
See merge request espressif/esp-idf!24697
2023-07-12 13:39:49 +08:00
morris
0c7e2a9d14
Merge branch 'bugfix/bod_intr__v5.1' into 'release/v5.1'
...
brownout: Disable the hardware BOD when BOD interrupt is enabled(backportv5.1)
See merge request espressif/esp-idf!24692
2023-07-12 11:17:58 +08:00
Lou Tianhao
ee299b2d53
bugfix: set FORCE_INLINE_ATTR for resume_uart
2023-07-11 15:04:19 +08:00
Lou Tianhao
6e15f589cc
Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6
2023-07-11 14:52:46 +08:00
Cao Sen Miao
f44e8a8a8f
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-07-11 14:32:40 +08:00
zhangwenxu
e88adc3401
IEEE802154: match C6 max txpower value with datasheet
2023-07-11 14:28:54 +08:00
Lou Tianhao
2c9a2a76f7
example: bringup light sleep example for esp32h2
2023-07-11 13:58:08 +08:00
Lou Tianhao
24486dd069
Power Management: support PAU REGDMA feature for esp32h2
2023-07-11 12:03:13 +08:00
Lou Tianhao
356fa3ab4b
Power Management: support DFS and PMU feature for esp32h2
2023-07-11 12:02:39 +08:00
Cao Sen Miao
e493a99da2
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-07-10 11:16:09 +08:00
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
Jiang Jiang Jian
159e80246b
Merge branch 'feature/add_modem_module_rst_api_v5.1' into 'release/v5.1'
...
modem_clock: add modem module mac reset api (backport v5.1)
See merge request espressif/esp-idf!24441
2023-07-04 12:15:33 +08:00
morris
0e4c071519
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.1' into 'release/v5.1'
...
i2s: fixed i2s_ll compiling failure under C++ environment (v5.1)
See merge request espressif/esp-idf!24401
2023-07-04 11:03:35 +08:00
wuzhenghui
2e5a194f62
esp_hw_support: add modem module mac reset api
2023-06-28 14:01:29 +08:00
laokaiyao
13e74d5573
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-26 15:42:36 +08:00
harshal.patil
2fb7d32cd3
esp32h2: xts-aes register prefix discrepency
2023-06-15 13:53:35 +05:30
wuzhenghui
ed076c2bc8
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 20:08:47 +08:00
morris
f79088f115
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v5.1' into 'release/v5.1'
...
spi master: added transaction length check to refuse longer than hardware supported length (v5.1)
See merge request espressif/esp-idf!23747
2023-05-18 16:47:18 +08:00