morris
78937173cd
Merge branch 'bugfix/wrong_dma_bus_use' into 'master'
...
bugfix(driver): fix wrong DMA bus usage
See merge request espressif/esp-idf!26569
2023-10-23 12:16:34 +08:00
Omar Chebib
a8b1475fe7
feat(riscv): implement coprocessors save area and FPU support
...
This commit mainly targets the ESP32-P4. It adds supports for coprocessors on
RISC-V based targets. The coprocessor save area, describing the used coprocessors
is stored at the end of the stack of each task (highest address) whereas each
coprocessor save area is allocated at the beginning of the task (lowest address).
The context of each coprocessor is saved lazily, by the task that want to use it.
2023-10-23 11:10:28 +08:00
Jiang Jiang Jian
0049cc663a
Merge branch 'feature/support_output_internal_clock' into 'master'
...
feature(gpio): Add api to support output internal clock
Closes IDF-8016 and IDF-4935
See merge request espressif/esp-idf!25753
2023-10-22 22:06:13 +08:00
morris
df2c62d270
bugfix(driver): fix wrong DMA bus usage
...
in SPI, RMT, parlio
2023-10-20 09:08:54 +00:00
morris
0cbcb9f5ea
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-20 16:57:25 +08:00
morris
565b9fd117
Merge branch 'refactor/hal_util_bitwise_reverse8' into 'master'
...
hal: add util function to reverse a 8bit byte
See merge request espressif/esp-idf!26532
2023-10-20 09:43:15 +08:00
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +08:00
Armando (Dou Yiwen)
471f1f61ae
Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
...
sdmmc: esp32p4 support
Closes IDF-6502
See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Wan Lei
a9b6c98489
Merge branch 'refactor/spi_using_rcc_automic_lock' into 'master'
...
refac(spi): update periph_module_xxx with rcc_atomic_lock for periph bus
Closes IDF-8159
See merge request espressif/esp-idf!26394
2023-10-18 20:36:51 +08:00
Armando
4eaf233bb8
change(sdmmc): replace periph_module_x with rcc
2023-10-18 11:57:55 +00:00
Armando
70314b56d5
feat(sdmmc): supported sd2.0 on esp32p4
2023-10-18 11:57:55 +00:00
Wan Lei
9f413d5d8d
Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
...
feat(ledc): support ledc on esp32p4
Closes IDF-6510
See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
Mahavir Jain
2407813a67
Merge branch 'feature/update_esp32c6-h2_apm_api' into 'master'
...
apm: updated APM HAL/LL APIs.
See merge request espressif/esp-idf!26368
2023-10-18 12:26:38 +08:00
morris
e92a1515be
feat(hal): add util function to reverse a 8bit byte
2023-10-18 09:48:14 +08:00
Sachin Billore
c106f5caf6
apm: updated APM HAL/LL APIs.
2023-10-17 18:20:36 +05:30
wanlei
57614bbad2
feat(ledc): support ledc on esp32p4
2023-10-17 16:40:04 +08:00
Mahavir Jain
c4e4629049
Merge branch 'feature/add_key_manager_hal_layer' into 'master'
...
Add LL & HAL for Key Manager and HUK
Closes IDF-7985 and IDF-7901
See merge request espressif/esp-idf!25167
2023-10-17 12:39:02 +08:00
wanlei
b81cafe42e
refac(spi): update periph_module_xxx with rcc_automic_lock for periph bus
2023-10-17 11:32:23 +08:00
laokaiyao
8bc618443a
fix(apll): fixed overflow in apll calculation
2023-10-16 08:01:17 +00:00
Aditya Patwardhan
ade65add54
feat(hal): Added HAL and LL layer for Key Manager
2023-10-16 09:26:37 +05:30
Aditya Patwardhan
6b4d2140ee
feat(hal): Added HAL and LL layer for HUK
2023-10-16 09:26:14 +05:30
morris
4f3e05f6a8
Merge branch 'ci/fix_hal_assert_check' into 'master'
...
fix(hal): replace assert with hal_assert
See merge request espressif/esp-idf!26349
2023-10-16 09:56:04 +08:00
Mahavir Jain
6b62065b92
Merge branch 'fix/crypto_periphs_use_rcc_atomic_blocks' into 'master'
...
Use rcc atomic blocks to enable/reset crypto peripherals
See merge request espressif/esp-idf!25811
2023-10-13 22:37:58 +08:00
Song Ruo Jing
d73bf72885
Merge branch 'feature/gpio_dump_io_info' into 'master'
...
feat(gpio): add a dump API to dump IO configurations
Closes IDFGH-10987
See merge request espressif/esp-idf!26158
2023-10-13 22:35:59 +08:00
Laukik Hase
3f67722274
refactor(tools/test_apps): Move HAL tests for MPU to the panic
test-app
2023-10-13 10:16:57 +05:30
morris
0717729911
fix(hal): replace assert with hal_assert
...
hal is a G0 component but assert may link in the symbols in the newlib component.
we'd better not use assert in the hal but use the alternative HAL_ASSERT
2023-10-13 10:14:47 +08:00
morris
ca1cd88e25
Merge branch 'feature/enable_hal_util_host_test' into 'master'
...
feat(hal): enable hal host test
Closes IDF-8275
See merge request espressif/esp-idf!26384
2023-10-12 22:24:38 +08:00
Song Ruo Jing
321f628ff5
feat(gpio): add a dump API to dump IO configurations
...
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
harshal.patil
57d10477da
feat(ecdsa): use RCC atomic block to enable/reset the ECDSA peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
43864f7fb4
feat(ds): use RCC atomic block to enable/reset the DS peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
18b93e9564
feat(hmac): use RCC atomic block to enable/reset the HMAC peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
1c6ff8ce9f
feat(ecc): use RCC atomic block to enable/reset the ECC peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
c5cc4f488a
feat(mpi): use RCC atomic block to enable/reset the MPI peripheral
2023-10-11 14:59:03 +05:30
harshal.patil
3483cf61aa
fix(esp_hw_support/esp_ds): remove enabling redundant peripherals
2023-10-11 14:59:03 +05:30
morris
66497af276
feat(hal): enable hal host test
2023-10-11 11:23:24 +08:00
Armando
1f8f0a5285
feat(cache): added private API to get cache alignment requirements
2023-10-10 18:09:01 +08:00
Wan Lei
f92b18053a
Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
...
Feature/esp32p4 hp spi master driver support
Closes IDF-7502
See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
Gao Xu
d52040a86d
Merge branch 'esp32p4/add_uart_support' into 'master'
...
UART: Add uart support for ESP32P4
Closes IDF-6511 and IDF-7506
See merge request espressif/esp-idf!25388
2023-10-09 18:11:10 +08:00
wanlei
00fcdce725
feat(spi_master): p4 add master driver supported
2023-10-08 14:45:12 +08:00
gaoxu
bc2a6bd730
feat(uart): spilt LP and HP uart set_baudrate function
2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc
feat(uart): add LP-UART GPIO support
2023-10-08 10:10:02 +08:00
gaoxu
3e3e928209
feat(uart): move periph_ll_uart_enabled to uart_ll.h
2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
gaoxu
c7afa0dcef
feat(uart): uart(hp,lp) support on esp32p4
2023-10-08 10:10:00 +08:00
laokaiyao
464bec8ac6
ci(adc): print adc efuse calib version in test
2023-10-07 19:01:04 +08:00
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