morris
26f438cf89
Merge branch 'feature/esp32p4_gpio_support' into 'master'
...
feat(gpio): add support for ESP32P4
Closes IDF-6509
See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
Song Ruo Jing
be9afeac86
feat(gpio): add support for ESP32P4
2023-08-10 17:58:49 +08:00
C.S.M
96bf37ab78
Merge branch 'feature/i2c_master_new_driver' into 'master'
...
I2C: Add new i2c master impl APIs and i2c eeprom example
See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
Cao Sen Miao
4ef94fc0dc
feat(i2c): Add new API and implementation for I2C driver
2023-08-10 11:55:54 +08:00
Lou Tianhao
808a01e656
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-08-09 19:46:25 +08:00
gaoxu
fd759d65b0
refactor(cache): abstract cache rom API in cache_ll.h
2023-08-09 10:32:12 +00:00
Laukik Hase
f281c08ce7
fix(hal): Fix the external memory vaddr region validity check
...
- For c6, h2 and p4, the vaddr end calculated was off by 1
byte.
2023-08-02 10:53:26 +05:30
Wan Lei
f5e26a595d
Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level' into 'master'
...
spi: unify default mosi level on all targets
Closes IDF-7683
See merge request espressif/esp-idf!24591
2023-07-25 20:06:09 +08:00
morris
ed36b91517
Merge branch 'feature/mcpwm_trigger_driver' into 'master'
...
feature(MCPWM): Add MCPWM trigger driver
Closes IDF-3613
See merge request espressif/esp-idf!24829
2023-07-25 18:50:57 +08:00
Chen Jichang
5ab755915b
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-07-25 14:44:41 +08:00
wanlei
8f5851d064
fix(all): unify default mosi level to low on all targets
2023-07-24 15:45:21 +08:00
Lou Tianhao
0d30bbe855
change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2
2023-07-21 20:44:15 +08:00
Lou Tianhao
e70763f9a4
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-07-20 11:43:57 +08:00
wuzhenghui
a5c992c8af
fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
...
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
wuzhenghui
4e9cc65763
change(uart): change sleep code to be cache safe
...
- Set uart ll with FORCE_INLINE_ATTR
- Add no_flash API periph_ll_uart_enabled api
2023-07-14 20:12:59 +08:00
Song Ruo Jing
9526273085
Merge branch 'bugfix/fix_uart_ll_compatible_with_cpp' into 'master'
...
fix(uart): Fixed C++ type conversion compile error in uart_ll_get_sclk
Closes IDFGH-10573
See merge request espressif/esp-idf!24690
2023-07-12 17:42:18 +08:00
Song Ruo Jing
b60f4a6f37
fix(uart): Fixed C++ type conversion compile error in uart_ll_get_sclk
...
Closes https://github.com/espressif/esp-idf/issues/11813
2023-07-11 11:18:00 +08:00
morris
682e5ae450
Merge branch 'feature/esp_gdma_ops' into 'master'
...
feat(esp_gdma): add hal interface for common operations
Closes IDF-7809
See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Zhang Wen Xu
80e1c5a2b7
Merge branch 'fix/txpower_max_value' into 'master'
...
IEEE802154: match C6/H2 max txpower value with datasheet
See merge request espressif/esp-idf!24325
2023-07-10 14:42:22 +08:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Song Ruo Jing
ea48030514
Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
...
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
Closes IDF-7406
See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
morris
6f3e07d97b
Merge branch 'feature/gptimer_linker_file' into 'master'
...
feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
See merge request espressif/esp-idf!24598
2023-07-06 12:42:47 +08:00
morris
2e5eb30382
Merge branch 'origin/bugfix/fix_header_violations_in_hal_component' into 'master'
...
Fix(components/hal): fix header violations in hal component
Closes IDF-7658
See merge request espressif/esp-idf!24493
2023-07-06 10:32:25 +08:00
Planck (Lu Zeyu)
333553caf2
fix(hal): check the public header files and fix violations
...
fix(hal/include): fix header violations in hal component
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Add comment for a far away `#endif`
fix(hal/include): change scope for cpp guard
ci: Remove components/hal/ comment from public headers check exceptions
Add missing include macro sdkconfig.h for header files
Add missing include macro stdbool.h for header files
Add missing include macro stdint.h for header files
Add missing capability guard macro for header files
Add missing cpp guard macro for header files
Remove some useless include macros
Add some missing `inline` attribute for functions defined in header files
Remove components/hal/ from public headers check exceptions
fix(hal/include): fix invalid licenses
fix(hal/include): fix invalid licenses
fix(hal/include): add missing soc_caps.h
fix(hal): include soc_caps.h before cap macro is used
fix(hal): Remove unnecessary target check
fix(hal): fix header and macro problems
Add missing include macro
Remove loop dependency in hal
Add comment for far-away endif
fix(hal): Add missing soc_caps.h
ci: update check_copyright_ignore.txt
Change the sequence of `#include` macro, cpp guard macro
Change the wrap scope of capacity macro
fix(hal): Change position of C++ guard to pass test
2023-07-05 17:33:32 +08:00
morris
81a641d437
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-07-05 12:09:00 +08:00
Song Ruo Jing
4985caa38f
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
2023-07-05 11:47:51 +08:00
morris
f0c07f82b5
fix(test): check call graph for hal component
2023-07-05 09:09:01 +08:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
zhangwenxu
806ac94b64
IEEE802154: match C6 max txpower value with datasheet
2023-06-28 14:32:45 +08:00
Armando (Dou Yiwen)
b3b9b327a1
Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div' into 'master'
...
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3
Closes IDF-7654
See merge request espressif/esp-idf!24420
2023-06-28 11:12:40 +08:00
Lou Tianhao
c7c937ea75
bugfix: set FORCE_INLINE_ATTR for resume_uart
2023-06-27 18:35:16 +08:00
Armando
eaf21a34af
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-06-27 14:40:22 +08:00
Lou Tianhao
01fb28b65b
Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6
2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
b06cadddb3
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-06-26 21:05:10 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
laokaiyao
1b22591ea7
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-23 11:41:43 +08:00
wuzhenghui
4196eddff1
esp_hw_support: add modem module mac reset api
2023-06-19 12:53:09 +08:00
Wan Lei
a0dc515143
Merge branch 'refactor/cache_utils_refactor_to_cache_hal' into 'master'
...
cache: refactor cache_utils to use cache_hal instade
Closes IDF-7172 and IDF-7385
See merge request espressif/esp-idf!23317
2023-06-19 11:54:12 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
wanlei
0f7e39d15a
cache: refactor cache_utils into cache_hal instade
2023-06-15 11:50:42 +08:00
Chen Jichang
5150c578fd
ledc:add option to put LEDC function into IRAM
...
The caches are disabled when reading/writing/erasing flash.
All CPUs should always execute code and access data from internal RAM.
Add an IRAM option to enhance the performance of LEDC.
Closes https://github.com/espressif/esp-idf/issues/11554
2023-06-14 18:12:01 +08:00
morris
88600bd91b
driver: minor code clean up to pass coverity scan test
2023-06-10 16:21:12 +08:00
laokaiyao
71ef56f988
gdma: support on_recv_done callback
2023-06-07 11:38:32 +08:00
harshal.patil
bc825431e8
esp32h2: xts-aes register prefix discrepency
2023-05-26 15:33:15 +05:30
wanlei
87848110c1
adc: new feature adc digital monitor supported
2023-05-24 17:46:52 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
C.S.M
224430f6b4
Merge branch 'bugfix/tempsensor_wifi_conflict' into 'master'
...
temperature_sensor: Fix issue that have conflict with phy
Closes IDF-5227, IDF-5992, IDF-5504, and IDF-6113
See merge request espressif/esp-idf!20210
2023-05-19 12:46:55 +08:00
Cao Sen Miao
faa10947a8
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-05-18 15:00:36 +08:00
wuzhenghui
d197c59eaa
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 10:29:50 +08:00
Cao Sen Miao
ed96dadd06
spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents
2023-05-11 20:10:30 +08:00
KonstantinKondrashov
e48130246a
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-10 00:41:35 +08:00
Wu Zheng Hui
35bb946653
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
...
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep
Closes IDF-7287
See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
morris
eaa4ad502a
Merge branch 'bugfix/check_filter_range' into 'master'
...
rmt: check filter and idle threashold
Closes IDFGH-9977
See merge request espressif/esp-idf!23518
2023-05-05 17:19:45 +08:00
wuzhenghui
dd4d1bbe90
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:46:21 +08:00
Armando
ea10aac4f0
spi: added transaction length check to refuse longer than hardware supported length
2023-05-04 11:37:23 +08:00
morris
9ae742eb85
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-04-29 06:51:35 +00:00
hongshuqing
cbc5a38e26
support h2 eco2 fosc calibration
2023-04-26 15:31:18 +08:00
Shu Chen
5d222db12f
Merge branch 'support/ieee802154_driver_opensrc' into 'master'
...
ieee802154: Support driver code open src
See merge request espressif/esp-idf!22857
2023-04-26 10:35:42 +08:00
Mahavir Jain
a8b6a70620
Merge branch 'feature/add_bignum_ll_layer' into 'master'
...
bignum: added bignum hal and ll layer
Closes IDF-7071
See merge request espressif/esp-idf!22823
2023-04-25 19:50:25 +08:00
C.S.M
7d9d27a060
Merge branch 'refactor/driver_ut_to_test_app' into 'master'
...
CI: Move all UT in driver to test_app
See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
zhangwenxu
c8c1cd1c55
ieee802154: support driver opensrc
2023-04-25 11:48:13 +08:00
Cao Sen Miao
8882ba2ba1
CI: Move all UT in driver to test_app
2023-04-25 10:40:32 +08:00
harshal.patil
4ae1ea7b9f
bignum: refactored the hardware abstraction of the mpi peripheral
...
- `<target>/bignum.c` is replaced by mpi_ll.h ll layer.
- added the mpi hal layer.
2023-04-24 16:15:11 +05:30
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Cao Sen Miao
a3d962d89a
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-04-21 10:22:59 +08:00
Kevin (Lao Kaiyao)
96f2d215a2
Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
...
i2s: workaround for inaccurate PLL frequency after switching
Closes IDF-6705 and IDFCI-1669
See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
laokaiyao
a143a85822
i2s: workaround for inacurate PLL frequency after switching
2023-04-17 03:15:55 +00:00
Omar Chebib
a0f8434f93
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-13 14:37:44 +08:00
Sachin Parekh
d634970ed1
ecdsa: Support multiple ECDSA keys
...
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-07 14:55:21 +05:30
morris
1429913042
gdma: support override default channel priority
2023-04-06 10:49:32 +08:00
morris
90c32e8021
Merge branch 'bugfix/glitch_filter_hw_issue' into 'master'
...
filter: workaround a hw issue in the glitch filter
See merge request espressif/esp-idf!22951
2023-03-30 11:31:06 +08:00
Wu Zheng Hui
ee05082e35
Merge branch 'feature/support_esp32h2_modem_clock' into 'master'
...
esp32h2: support modem clock driver
Closes IDF-7088
See merge request espressif/esp-idf!22880
2023-03-29 16:49:26 +08:00
morris
1375627461
filter: workaround a hw issue in the glitch filter
...
that the internal glitch counter will overflow at 64 constant level
input, causing a wrong filter result
2023-03-29 13:28:07 +08:00
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00
wuzhenghui
43a9456243
modem_clock: implemented the modem clock hal/ll-layer (include modem syscon and lpcon) for esp32h2
2023-03-29 13:23:27 +08:00
Sachin Parekh
e26018d8ee
h2/clk_gate: Clear reset signal of ECDSA peripheral before enabling SHA, RSA or ECC
2023-03-24 10:43:48 +05:30
Sachin Parekh
d345c684ba
esp32h2: Add support for ECDSA peripheral
2023-03-24 10:43:40 +05:30
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
2023-03-17 11:38:32 +08:00
morris
eb7ccbd174
hal: added analog comparator's LL driver
2023-03-17 11:38:32 +08:00
Gustavo Henrique Nihei
866c5cefa4
hal: Fix missing definition for "bool" type
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +05:30
Song Ruo Jing
3ec287eaa5
Merge branch 'feature/ledc_gamma_curve_support' into 'master'
...
ledc: Support gamma curve fade feature
Closes IDF-5811 and IDF-6236
See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
jingli
238f31d93b
uart: add low level func for uart to set err wr mask
2023-03-09 10:28:33 +08:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
Song Ruo Jing
8486a2c3ad
Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
...
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
Closes IDFGH-6887
See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Mahavir Jain
ad19981af8
Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
...
Feature/esp32h2 enable flash encryption
Closes IDF-6282 and IDF-6680
See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Aditya Patwardhan
b5b7f32e46
hal/esp32h2: Enable ll layer for flash encryption
2023-02-24 15:21:51 +05:30
Armando
4997689de5
cache: support h2 and c6 cache error
2023-02-24 16:16:46 +08:00