Ondrej Kosta
621d5ef724
fixed emac soc structs names to be able to build under C++
...
Closes https://github.com/espressif/esp-idf/pull/11283
2023-05-11 08:50:49 +02: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
zhangwenxu
c8c1cd1c55
ieee802154: support driver opensrc
2023-04-25 11:48:13 +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
Ondrej Kosta
22caec278f
Merge branch 'feature/emac_hal_cleanup' into 'master'
...
wrapped emac_ll functions to emac_hal
Closes IDFGH-8474
See merge request espressif/esp-idf!23078
2023-04-24 15:47:29 +08:00
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
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Sachin Billore
c3e701588e
efuse: add efuse hal api
...
Closes IDF-7215
2023-04-18 13:47:00 +05:30
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
d82981c437
rmt: use gpio_num_t to define gpio number
2023-03-30 10:30:27 +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
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00
Zim Kalinowski
ee842a1386
Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on' into 'master'
...
efuse(virtual mode): Fix load_efuses_from_flash when FE is on
Closes IDFGH-9580
See merge request espressif/esp-idf!22793
2023-03-28 17:32:11 +08:00
Sachin Parekh
d345c684ba
esp32h2: Add support for ECDSA peripheral
2023-03-24 10:43:40 +05:30
KonstantinKondrashov
88ef0d8aeb
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
wanlei
66ca403bc6
spi_slave: support spi slave hd append mode on chips other than s2
2023-03-21 11:30:17 +08:00
Jiang Jiang Jian
745c06626d
Merge branch 'h2/support-ecc' into 'master'
...
esp32h2: Add support for ECC hardware accelerator
See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00
Armando
bae6680207
mmu: hal function to init, and hal function to unmap all
2023-03-15 10:59:20 +08:00
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +05:30
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
wuzhenghui
709adaaa37
soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
...
Close IDF-5924
2023-03-02 15:06:05 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
Armando
fda9746bb8
esp_mm: cache_msync API
2023-02-28 10:42:22 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
Jing Li
75a82988f1
Merge branch 'refactor/wdt_use_unified_type' into 'master'
...
wdt: refactor wdt codes to use unified type
Closes IDF-5653
See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
Armando
82ee8403b6
mmu: mmu_hal_check_valid_ext_vaddr_region
2023-02-17 13:04:55 +08:00
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
5850cd7492
pau: implement the pau regdma hal&ll layer for esp32c6
2023-02-15 10:45:44 +08:00
Armando (Dou Yiwen)
d3fec8394f
Merge branch 'feature/adc_filter' into 'master'
...
adc: supported adc digital filter
Closes IDF-2529, IDFGH-9113, and IDFGH-9279
See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
Mahavir Jain
2974e8f487
Merge branch 'feature/apm_support_esp32c6' into 'master'
...
apm: added support for APM on esp32c6
Closes IDF-5819 and IDF-5818
See merge request espressif/esp-idf!22157
2023-02-13 12:45:41 +08:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
Sachin Billore
8d0f6dab0f
apm: added support for APM on esp32c6
...
Closes: IDF-5819 IDF-5818
2023-02-10 08:18:07 +00:00
Song Ruo Jing
b69f983525
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Armando
1fc55af6af
cache: invalidate addr hal api
2023-02-07 20:23:52 +08:00
Armando
16398c2d06
mmu: move mem_caps macro to hal/mmu_types.h as an enum type
2023-02-07 20:23:52 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Li Shuai
c0ddaa5920
lp_timer: add hal-layer codes for esp32c6
2023-01-31 22:12:27 +08:00
Li Shuai
6c1f58f135
pmu: add hal layer codes for esp32c6
2023-01-31 22:12:27 +08:00
morris
dbca74f1ef
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-01-31 15:18:19 +08:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Armando
f1de9faa71
sdio: c6 support
2023-01-18 02:34:46 +00:00
Song Ruo Jing
2c9aa4559c
clk_tree: Add a general API to get the frequency of different clocks
...
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Armando (Dou Yiwen)
d1b8da74d8
Merge branch 'refactor/improve_adc_power_maintanance' into 'master'
...
adc: improve adc power maintanance
Closes IDF-6114 and IDF-6318
See merge request espressif/esp-idf!21151
2023-01-12 20:30:36 +08:00
Cao Sen Miao
56a2d0b8a2
BOD: Bringup for ESP32C6
2023-01-10 10:37:30 +08:00
Armando
5be3c21cfc
adc: improve power logic
2023-01-09 17:10:04 +08:00
Wan Lei
419544a2c8
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX' into 'master'
...
spi: fix micro SPI_HOST_MAX error
Closes IDFGH-8932
See merge request espressif/esp-idf!21557
2023-01-05 16:07:17 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
Li Shuai
63af1e9631
modem clock(driver): implemented the modem clock driver for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
8c05d6fd9d
modem clock(hal): implemented the modem clock hal-layer for esp32c6
2022-12-27 21:31:21 +08:00
laokaiyao
ec812c1370
adc: add ADC target test for esp32c6
2022-12-23 14:05:56 +08:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
laokaiyao
e27f3e3128
adc: support ADC on esp32c6 (hal)
2022-12-23 11:24:06 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
wanlei
faaf776730
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2022-12-21 20:03:46 +08:00
Song Ruo Jing
774197b7d3
ledc: Move ledc unit test to test_apps pytest framework
...
Add ledc_hal_set_duty_start and ledc_hal_set_duty_int_part to IRAM
Fix test_ledc.c minor issues
2022-12-21 12:04:42 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
C.S.M
6b1d4b4d49
ESP32-H2: Last MR for g0 component support, (only hal left)
2022-12-05 17:32:21 +08:00
Aditya Patwardhan
1c233cc508
hmac_hal: Merge hmac hal layer for different into one
2022-11-24 16:04:26 +05:30
Ondrej Kosta
785f154f56
Merge branch 'feature/emac_buff' into 'master'
...
esp_eth: receive buffer allocation optimization
Closes IDFGH-7769
See merge request espressif/esp-idf!19977
2022-11-24 00:48:19 +08:00
morris
356c6bb528
gdma: support etm extension
2022-11-23 15:32:34 +08:00
morris
00b6ec28b2
gptimer: support etm event and task
2022-11-23 15:31:33 +08:00
morris
fb26d0e11f
etm: added etm channel allocator
2022-11-23 15:31:33 +08:00
Konstantin Kondrashov
b4580a1980
Merge branch 'feature/esp_timer_add_ll_for_rc_fast_clk' into 'master'
...
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
Closes IDF-5323
See merge request espressif/esp-idf!21136
2022-11-23 15:05:48 +08:00
KonstantinKondrashov
63f852adc8
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
2022-11-22 20:29:19 +08:00
Omar Chebib
d965b7fdec
Merge branch 'staging/esp_static_assert' into 'master'
...
C/Cxx: Static assertions are now unified
Closes IDFGH-8479
See merge request espressif/esp-idf!20569
2022-11-22 17:04:02 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
laokaiyao
039af72058
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +08:00
Ondrej
6fff81d970
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-11-15 10:44:12 +00:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
Armando
ea0b839302
spi: limit esp32 dma workaround only on esp32
2022-11-14 16:01:48 +08:00
Armando
3dc36f622c
spi_slave: add a private API to reset transaction queue
2022-11-14 16:01:48 +08:00
Song Ruo Jing
d0a7dc3e9f
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
Kevin (Lao Kaiyao)
48b23b7c46
Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
...
i2s: support 4 line pdm rx on esp32s3
Closes IDF-6120
See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
laokaiyao
8ef9fd4623
dac: optimize the dma stratege
2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb
dac: update unit-test docs and examples for driver-NG
2022-10-25 17:00:41 +08:00
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00