laokaiyao
c018dc9d77
refactor(hal): avoid float type in hal
2023-10-07 19:01:04 +08:00
Gao Xu
56f991d7d9
Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect' into 'master'
...
ADC: Fixed wrong ADC reading issue caused by ADC and WiFi power conflict on ESP32C6
Closes IDF-8118
See merge request espressif/esp-idf!25927
2023-10-07 18:23:27 +08:00
Song Ruo Jing
66821f699c
refactor(ledc): move related kconfig and linker.lf to its own folder
2023-10-02 07:32:16 +00:00
wuzhenghui
c8083b07bf
feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe
2023-09-28 17:41:42 +00:00
gaoxu
817036f46f
fix(adc): power settings not taking into effect on C6
2023-09-28 17:41:42 +00:00
Kevin (Lao Kaiyao)
4c6f4b39f1
Merge branch 'feature/support_i2s_on_p4' into 'master'
...
feat(i2s): support i2s on esp32p4
Closes IDF-6508
See merge request espressif/esp-idf!24280
2023-09-29 00:50:04 +08:00
laokaiyao
e1039f9ce2
fix(i2s_platform): merge the i2s platform acquire API
2023-09-28 15:03:27 +08:00
laokaiyao
72a0746e62
refactor(apll): move the apll soc caps to clk_tree_ll
2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d
feat(i2s): supported getting the tx sync count and specify interrupt flags
2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d
feat(i2s): support i2s on esp32p4
2023-09-28 15:03:27 +08:00
morris
cdc905ffe0
feat(dw_gdma): initial low level driver
...
feat(dw_gdma): initial low level driver
2023-09-28 02:17:08 +00:00
Kevin (Lao Kaiyao)
cf54ebc9c1
Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
...
feat(parlio_tx): supported parlio tx on p4
Closes IDF-7472
See merge request espressif/esp-idf!25365
2023-09-27 12:33:34 +08:00
laokaiyao
ff7a11e539
feat(ana_cmpr): supported etm in analog comparator example
2023-09-25 19:57:34 +08:00
laokaiyao
bf2a5653a9
feat(ana_cmpr): supported analog comparator etm function on p4
2023-09-25 19:57:34 +08:00
laokaiyao
a989ce4ab1
feat(ana_cmpr): supported analog comparator on esp32p4
2023-09-25 19:57:34 +08:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
laokaiyao
28a45e20b8
feat(parlio_tx): supported parlio tx on p4
2023-09-25 10:42:30 +08:00
Armando
ec27891af6
change(cache): swap cache hal arg 'type' and 'level'
2023-09-22 14:19:41 +08:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
morris
3093384045
Merge branch 'feature/pcnt_replace_periph_func_with_new_ll' into 'master'
...
feat(pcnt): replace periph_module func with new ll func
Closes IDF-8225
See merge request espressif/esp-idf!25935
2023-09-21 21:57:14 +08:00
Song Ruo Jing
98abcbabea
Merge branch 'feature/esp32p4_lp_io_support' into 'master'
...
feat(lp_io): Add support for ESP32P4
Closes IDF-7815
See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
laokaiyao
dd4072a80c
refactor(hal): use hal utils to calculate clock division
2023-09-20 23:33:25 +08:00
laokaiyao
9bec9ccade
feat(hal): add hal utils for clock divider calculation
2023-09-20 23:32:06 +08:00
Song Ruo Jing
2d458a3f93
feat(lp_io): Add support for ESP32P4
2023-09-20 19:39:41 +08:00
Planck (Lu Zeyu)
59f8008e22
feat(pcnt): replace periph_module func with new ll func
2023-09-20 15:06:04 +08:00
morris
6bb05cccdd
feat(rmt): add driver support for esp32p4
...
including DMA feature
2023-09-19 12:54:14 +08:00
Gao Xu
80e3ece7d1
Merge branch 'bugfix/remove_wno_format_in_driver_hal_and_esp_hw_support_components' into 'master'
...
Remove -Wno-format in hal and esp_hw_support components
Closes IDF-6792
See merge request espressif/esp-idf!25402
2023-09-19 12:12:56 +08:00
Mahavir Jain
1c28493cee
Merge branch 'feature/add_aes_and_sha_peripheral_to_crypto_testapps' into 'master'
...
feat(hal/testapps): add aes and sha peripheral to crypto testapps
See merge request espressif/esp-idf!25604
2023-09-18 12:51:50 +08:00
gaoxu
8c6ddb776c
fix: remove wno format in hal component
2023-09-18 02:43:41 +00:00
nilesh.kale
1a18fdb83a
feat(hal): Adding AES snd SHA peripheral to crypto testapps
2023-09-15 15:29:30 +05:30
morris
3234ee3f9e
refactor(mcpwm): add RCC related LL functions
2023-09-15 13:33:01 +08:00
Planck (Lu Zeyu)
255d499884
fix(ll): fix cpp compile error
...
Merges https://github.com/espressif/esp-idf/pull/12093
fix(ll): remove FLAG_ATTR macro
Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
Song Ruo Jing
3717963618
Merge branch 'contrib/github_pr_12179' into 'master'
...
Update uart_ll.h - Fixing division by zero (GitHub PR)
Closes IDFGH-10990
See merge request espressif/esp-idf!25907
2023-09-14 11:30:42 +08:00
Song Ruo Jing
f227cbca1b
fix(uart): Add 8/16-bit register field access workaround to ESP32C2
2023-09-13 21:41:53 +08:00
Eduardo Lacerda Campos
b0bde58521
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-13 21:27:42 +08:00
Konstantin Kondrashov
82cb4d5836
Merge branch 'feature/esp32p4_efuse' into 'master'
...
feat(efuse): Support eFuses for ESP32P4
Closes IDF-7512 and IDF-7759
See merge request espressif/esp-idf!25923
2023-09-13 19:43:49 +08:00
Konstantin Kondrashov
054d4943c5
Merge branch 'feature/esp32p4_update_systimer' into 'master'
...
feat(esp_timer): Support systimer for ESP32P4
Closes IDF-7486 and IDF-7487
See merge request espressif/esp-idf!25688
2023-09-13 19:13:39 +08:00
Konstantin Kondrashov
cbdb799b6f
feat(esp_timer): Support systimer for ESP32P4
2023-09-13 19:13:38 +08:00
Marius Vikhammer
573404b328
Merge branch 'bugfix/use_xtal_for_c3_wdt' into 'master'
...
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
Closes IDF-6729
See merge request espressif/esp-idf!25867
2023-09-13 10:44:38 +08:00
KonstantinKondrashov
b29f6d5a40
feat(efuse): Support eFuses and doc for ESP32P4
2023-09-12 17:58:17 +08:00
Marius Vikhammer
7a71454930
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-12 09:41:24 +08:00
morris
47e499de52
feat(mcpwm): clean up MCPWM ETM driver
2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311
feat(mcpwm): MCPWM event comparator driver
...
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
morris
3e5906aa1b
Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
...
feat(mcpwm): Set group clock prescale dynamically
See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
Armando (Dou Yiwen)
ed2fa1d57e
Merge branch 'change/improve_mmu_ll_code' into 'master'
...
mmu: improve mmu_ll_entry_id_to_paddr_base on p4
See merge request espressif/esp-idf!25864
2023-09-09 04:37:59 +08:00
C.S.M
c8f17b1b7c
Merge branch 'bugfix/flash_pe_usr_interval' into 'master'
...
fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip)
See merge request espressif/esp-idf!25790
2023-09-08 15:24:25 +08:00
Marius Vikhammer
ca99f55316
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
...
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-08 15:12:21 +08:00
Chen Jichang
fc80d3e568
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-08 11:57:29 +08:00
Armando
956c94704b
change(mmu): improve mmu_ll_entry_id_to_paddr_base on p4
2023-09-08 11:26:41 +08:00
Mahavir Jain
31e37c8313
Merge branch 'esp32p4/add_ecdsa_support' into 'master'
...
esp32p4: add ecdsa support
Closes IDF-7546
See merge request espressif/esp-idf!25191
2023-09-08 11:20:36 +08:00
Marius Vikhammer
11cf6f60b8
Merge branch 'feature/c6_h2_p4_lp_wdt' into 'master'
...
LP-WDT: add support for H2/P4
Closes IDF-5730, IDF-6402, IDF-5729, and IDF-7539
See merge request espressif/esp-idf!25782
2023-09-08 10:11:13 +08:00
Cao Sen Miao
c147a6d022
fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip)
2023-09-07 17:30:15 +08:00
morris
94d39009b4
Merge branch 'feature/esplcd_replace_periph_func_with_atomic' into 'master'
...
feat(esp_lcd): Replace `periph_module` function call with new ll func
Closes IDF-8167
See merge request espressif/esp-idf!25717
2023-09-07 01:59:04 +08:00
morris
01f3c93b17
Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config' into 'master'
...
feat(st7789): add data endian config
Closes IDFGH-10145
See merge request espressif/esp-idf!25475
2023-09-06 16:25:41 +08:00
Planck (Lu Zeyu)
86d4f9993f
feat(esp_lcd): replace periph_module func with new ll func
...
Update periph_ctrl.h
2023-09-06 14:42:01 +08:00
harshal.patil
cc32fbb302
ci(hal): add test for export public key mode of the ecdsa peripheral
2023-09-06 11:07:40 +05:30
harshal.patil
d86b320892
feat(ecdsa): add ECDSA peripheral support for esp32p4
2023-09-06 11:07:37 +05:30
Armando (Dou Yiwen)
bdfa91ab66
Merge branch 'change/delete_not_used_mmu_macros' into 'master'
...
mm: delete not used mmu macros and added soc_ prefix
Closes IDF-7686
See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00
Marius Vikhammer
b06dc30ba2
feat(lp_wdt): add lp wdt HAL support on C6, H2 and P4
2023-09-06 11:39:27 +08:00
Marius Vikhammer
0a630831a7
Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
...
fix(wdt): move non-auto generated wdt values to ll
See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
Armando
de77ab3061
change(soc): added SOC_ prefix to mmu defs
2023-09-05 15:47:26 +08:00
Planck (Lu Zeyu)
6f55f76344
feat(st7789): add data endian config
...
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-05 12:11:19 +08:00
Marius Vikhammer
e3861261eb
fix(wdt): move non-auto generated wdt values to ll
2023-09-05 11:52:34 +08:00
Mahavir Jain
d382eeed54
Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
...
esp32p4/add hmac ds support
Closes IDF-7543 and IDF-6518
See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
morris
0b970a8dfe
refactor(emac): add LL functions for bus clock control
2023-09-04 10:52:03 +08:00
harshal.patil
21c3549800
ci(hal): add support for 4096 bits size digital signature hal test
2023-09-01 15:44:21 +05:30
harshal.patil
b8c208cdb3
feat(ds): add Digital Signature peripheral support for esp32p4
2023-09-01 15:44:21 +05:30
harshal.patil
095c2a3324
feat(hmac): add HMAC peripheral support for esp32p4
2023-09-01 15:41:39 +05:30
Armando (Dou Yiwen)
24caae62eb
Merge branch 'feature/psram_use_rcc' into 'master'
...
psram: atomic set clock and reset
See merge request espressif/esp-idf!25650
2023-09-01 09:56:36 +08:00
Armando
b75f8561e5
change(psram): atomic set clock and reset
2023-08-31 17:10:34 +08:00
morris
cf61f63bc2
Merge branch 'feature/hw_crc_esp32p4' into 'master'
...
feat(gdma): support hardware crc calculation on esp32p4
Closes IDF-7497
See merge request espressif/esp-idf!25307
2023-08-31 14:46:32 +08:00
Song Ruo Jing
91aab6bda0
Merge branch 'feature/add_uart_iram_safe_check' into 'master'
...
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Marius Vikhammer
eb8883cc20
Merge branch 'feature/p4_wdt' into 'master'
...
feat(core-system/wdt): added support for watchdogs on P4
Closes IDF-8135 and IDF-7750
See merge request espressif/esp-idf!25584
2023-08-31 10:14:19 +08:00
morris
b962fdee89
refactor(gdma): add reset and clock control in LL driver
2023-08-31 02:11:47 +00:00
morris
200eb866dc
feat(gdma): support hardware crc calculation
...
On ESP32-P4, the GDMA peripherals support CRC calculating.
2023-08-31 02:11:47 +00:00
Song Ruo Jing
767698b90d
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
2023-08-30 11:30:03 +08:00
Marius Vikhammer
8ecbd1f59b
feat(core-system/wdt): added support for watchdogs on P4
2023-08-30 11:04:02 +08:00
morris
47bb157cab
refactor(twai): add reset and clock control to twai LL layer
2023-08-29 22:19:57 +08:00
Armando (Dou Yiwen)
c9adbe13d8
Merge branch 'feature/support_psram_on_p4' into 'master'
...
esp_psram: esp32p4 psram device driver support
Closes IDF-7495
See merge request espressif/esp-idf!25368
2023-08-29 15:50:30 +08:00
Armando
712c0c0075
feat(psram): esp32p4 psram device driver support
2023-08-28 14:14:58 +08:00
morris
4a45479336
refactor(lp_periph): move enable and reset control to LL driver
2023-08-28 05:17:56 +00:00
Armando (Dou Yiwen)
d4d6241db0
Merge branch 'feature/esp32p4_build_test' into 'master'
...
ci: enable ci build stage on esp32p4
Closes IDF-7524 and IDF-7525
See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
morris
641fdabbf0
Merge branch 'feature/default_clock_source_can_leave_empty' into 'master'
...
feat(mcpwm): default clock source setting can leave empty
See merge request espressif/esp-idf!25478
2023-08-24 20:22:47 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
morris
54febcae0e
fix(adc): invalid assertion on the adc_unit
2023-08-23 18:36:02 +08:00
morris
911c388cf8
feat(etm): add core driver support for esp32-p4
...
esp_etm core driver support:
- channel allocator
- gpio etm sub driver
- gptimer etm sub driver
2023-08-23 15:11:56 +08:00
morris
4e143adf9d
docs(hal): update readme about the usage of the RCC macros
2023-08-22 17:05:35 +08:00
morris
71cf16ec01
feat(gptimer): use RCC atomic block to enable/reset peripheral
2023-08-22 17:05:35 +08:00
C.S.M
0ccfb126df
Merge branch 'bugfix/fix_i2c_master_issue' into 'master'
...
fix(i2c_master): Fix some issues on new i2c_master
Closes IDF-8034
See merge request espressif/esp-idf!25320
2023-08-17 10:13:48 +08:00
Kevin (Lao Kaiyao)
f629c4b7e9
Merge branch 'feature/i2s_support_mclk_input' into 'master'
...
feat(i2s): supported external clock source input
Closes IDF-7889
See merge request espressif/esp-idf!24942
2023-08-16 19:07:22 +08:00
Cao Sen Miao
6a89925501
fix(i2c): Fix wrong clock gate in clk_gate_ll
2023-08-16 10:43:18 +08:00
Gao Xu
0ceb5f2648
Merge branch 'refactor/cache_disable_enable_interface' into 'master'
...
refactor(cache): abstract cache rom API in cache_ll.h
Closes IDF-7922
See merge request espressif/esp-idf!25040
2023-08-15 19:43:47 +08:00
Chen Ji Chang
b39fd79cb8
Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
...
feat(MCPWM): Add mcpwm carrier clk source
Closes IDF-8029
See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
Armando (Dou Yiwen)
5a81e00633
Merge branch 'feature/support_mmu_on_p4' into 'master'
...
mm: mmu support on p4
Closes IDF-7509
See merge request espressif/esp-idf!25121
2023-08-15 14:25:31 +08:00
Chen Jichang
97d5db32ae
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-15 13:04:11 +08:00
Armando
ca515ca55e
fix(efuse): fixed efuse_hal_get_major_chip_version not in iram issue
2023-08-15 10:17:03 +08:00
Armando
8c8affc812
feat(mmu): support mmu and flash mmap driver on p4
2023-08-15 10:17:03 +08:00
laokaiyao
4b6d71447c
feat(i2s): supported external clock source input
2023-08-14 03:25:12 +00:00
Cao Sen Miao
de85f47bc9
feat(i2c): Add I2C driver support for esp32p4
2023-08-11 12:37:11 +08:00
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