Konstantin Kondrashov
4daaa94593
Merge branch 'feature/cleanup_rom_efuse_header' into 'master'
...
change(all): Clearing unused efuse rom headers
See merge request espressif/esp-idf!27109
2024-01-26 20:30:44 +08:00
Song Ruo Jing
cf93777077
refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
...
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
Wu Zheng Hui
55f04b3326
Merge branch 'feature/clean_up_retention_context_definitions' into 'master'
...
refactor(esp_hw_support): move sleep retention context definition to soc target folder
Closes PM-10
See merge request espressif/esp-idf!26753
2024-01-24 20:24:02 +08:00
wuzhenghui
2bd755c95d
refactor(esp_hw_support): move TIMG_WDT_WKEY_VALUE defination from hal to soc
2024-01-23 11:51:44 +08:00
KonstantinKondrashov
b471d9d22c
change(all): Clearing unused efuse rom headers
2024-01-22 18:02:55 +02:00
Song Ruo Jing
08eada7301
feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4
2024-01-22 20:51:43 +08:00
Omar Chebib
102d5bbf72
refactor(riscv): added a new API for the interrupts
2024-01-18 16:36:53 +08:00
Omar Chebib
5cdf145f55
refactor(riscv): refactor crosscore interrupt
2024-01-18 16:27:36 +08:00
morris
213a599d8b
fix(mcpwm): enable mcpwm group clock before hal init
2024-01-15 18:13:56 +08:00
Cao Sen Miao
2e83fa1c69
refactor(spi_flash): Use new spi_flash register sturct and deperecate the old one
2024-01-08 09:59:22 +08:00
xiaqilin
adda93b117
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2
2024-01-03 14:39:31 +08:00
Kevin (Lao Kaiyao)
83d5797967
Merge branch 'feature/parlio_rx_driver' into 'master'
...
driver: add parallel IO RX driver
Closes IDF-7002 and IDF-6984
See merge request espressif/esp-idf!23488
2023-12-29 16:36:24 +08:00
Darian
1da17fce18
Merge branch 'refactor/rename_hal_usb_phy_to_fsls' into 'master'
...
USB HAL: Change name of usb_phy HAL files to usb_fsls_phy
See merge request espressif/esp-idf!28158
2023-12-29 11:42:11 +08:00
Darian Leung
d74b4f6730
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2023-12-28 11:48:54 +08:00
Darian Leung
b26472af29
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2023-12-28 11:48:34 +08:00
laokaiyao
db7e90fef9
feat(parlio_rx): add parlio rx examples
2023-12-28 11:05:26 +08:00
laokaiyao
04d267b023
feat(parlio_rx): implement parallel io rx driver
2023-12-27 19:32:12 +08:00
Cao Sen Miao
439bc719fe
feat(temperature_sensor): Add temperature sensor support on esp32p4
2023-12-26 16:45:20 +08:00
wuzhenghui
a967a207c9
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
...
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-18 11:29:53 +08:00
morris
e96491fb1f
feat(systimer): support ETM on esp32p4
2023-12-07 18:46:24 +08:00
C.S.M
cce1bf36fc
Merge branch 'bugfix/u32_reg_tsens' into 'master'
...
fix(temperature_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
See merge request espressif/esp-idf!27468
2023-11-30 12:37:10 +08:00
Marius Vikhammer
ae4be8eb03
Merge branch 'feature/p4_lp_core' into 'master'
...
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4
Closes IDF-7534
See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Gao Xu
4e843a1a70
Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk' into 'master'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
Closes IDF-8414
See merge request espressif/esp-idf!27115
2023-11-30 00:22:48 +08:00
C.S.M
96f49c2603
Merge branch 'bugfix/bod_reset_c6_h2' into 'master'
...
fix(bod): Fix issue that RF cannot be enabled again after BOD triggered.
See merge request espressif/esp-idf!27287
2023-11-29 17:21:38 +08:00
gaoxu
3acf3ec648
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
2023-11-29 14:28:33 +08:00
Cao Sen Miao
b0c90ac456
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
2023-11-29 14:25:25 +08:00
Marius Vikhammer
0c067fcb05
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4
2023-11-29 10:50:40 +08:00
Jeroen Domburg
3f08e5c91a
fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data
2023-11-27 12:04:30 +08:00
Cao Sen Miao
b3280677fd
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-11-24 10:17:20 +08:00
morris
106baac0bc
Merge branch 'feature/rmt_receive_partial_callback' into 'master'
...
feat(rmt): support partial receive if the incoming packet is very long
Closes IDF-6579
See merge request espressif/esp-idf!27033
2023-11-22 06:37:46 +08:00
morris
05e6ccbba7
feat(gdma): can read interrupt raw status
2023-11-20 17:25:57 +08:00
Lou Tianhao
7469df6c14
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
2023-11-17 11:38:20 +08:00
C.S.M
9e70bda89e
Merge branch 'feature/support_suspend_on_120m' into 'master'
...
feat(spi_flash): Enable auto suspend on when flash works under 120M
See merge request espressif/esp-idf!27119
2023-11-16 12:24:14 +08:00
Cao Sen Miao
66bba5694e
feat(spi_flash): Enable auto suspend on when flash works under 120M
2023-11-15 17:27:42 +08:00
Cao Sen Miao
343f03c3a7
feature(temperature_sensor): Add temperature sensor threshold interrupt reason
2023-11-14 18:23:33 +08:00
wuzhenghui
0ab0d2182e
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-11 13:00:55 +08:00
Song Ruo Jing
365123dfaa
Merge branch 'bugfix/uart_custom_console' into 'master'
...
fix(console): enable to select UART1 port for console output
Closes IDF-6190
See merge request espressif/esp-idf!26642
2023-11-10 12:31:22 +08:00
Song Ruo Jing
46d33e46ef
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
morris
5cc965e6cb
Merge branch 'feature/rmt_receive_in_isr' into 'master'
...
feat(rmt): support calling rmt_receive in ISR callback
Closes IDF-8488
See merge request espressif/esp-idf!26874
2023-11-08 14:25:52 +08:00
Wu Zheng Hui
a9ea49cba2
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable' into 'master'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
Closes PM-14
See merge request espressif/esp-idf!26674
2023-11-07 16:58:38 +08:00
morris
14b7db5dd0
feat(rmt): support calling rmt_receive in ISR callback
2023-11-03 15:42:56 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Gao Xu
8b953557c1
Merge branch 'bugfix/fix_adc_read_zero_h2' into 'master'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2
See merge request espressif/esp-idf!26572
2023-10-30 20:51:08 +08:00
wuzhenghui
18f984fd9c
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-10-30 11:18:01 +08:00
Wan Lei
7c21207bd3
Merge branch 'feature/esp32p4_twai_support' into 'master'
...
feat(twai): support legacy twai(can) driver for esp32p4
Closes IDF-7470
See merge request espressif/esp-idf!26073
2023-10-30 10:57:03 +08:00
C.S.M
59d029bf66
Merge branch 'feat/i2c_rcc_support' into 'master'
...
refactor(i2c): Add reset and clock control to i2c ll layer
See merge request espressif/esp-idf!26684
2023-10-28 10:01:06 +08:00
C.S.M
4111b07076
Merge branch 'bugfix/flash_enc_plaintext' into 'master'
...
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong
See merge request espressif/esp-idf!26640
2023-10-27 18:23:00 +08:00
Cao Sen Miao
0bf1dce413
refactor(i2c): Add reset and clock control to i2c ll layer
2023-10-27 10:50:35 +08:00
Cao Sen Miao
420ac840ff
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong
2023-10-26 19:38:42 +08:00
wanlei
d9d6f5a17a
feat(twai): support legacy twai(can) driver for esp32p4
2023-10-26 16:20:45 +08:00
morris
418494800c
fix(i2c): read write FIFO memory by volatile
2023-10-26 14:40:07 +08:00
gaoxu
a8e3122866
fix(adc): fix adc read zero after getting done signal on h2
2023-10-26 12:22:09 +08:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
morris
767595a22f
Merge branch 'feature/mcpwm_timer_change_freq' into 'master'
...
feat(mcpwm): support update timer period dynamically
Closes IDFGH-11145
See merge request espressif/esp-idf!26419
2023-10-23 15:51:14 +08: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
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +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
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
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
wanlei
b81cafe42e
refac(spi): update periph_module_xxx with rcc_automic_lock for periph bus
2023-10-17 11:32:23 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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