Commit Graph

2080 Commits

Author SHA1 Message Date
morris
fd2b9d98d7 Merge branch 'bugfix/gdma_m2m_share_consumer_id' into 'master'
gdma: prevent mutli-channels connect to the same peripheral

Closes IDFGH-9182

See merge request espressif/esp-idf!22100
2023-01-31 19:48:24 +08:00
Wan Lei
e6ed62d18a Merge branch 'feature/spi_isr_pin_to_core' into 'master'
spi: add feature to assign core_id of spi isr registered

Closes IDF-6371

See merge request espressif/esp-idf!21597
2023-01-31 15:57:33 +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
wanlei
713dc06661 spi: add feature to modify core_id of spi isr regstered 2023-01-30 16:14:02 +08:00
morris
774a05399b soc: fix wrong APB_CLK_FREQ value on esp32c6 2023-01-28 06:33:23 +00:00
Darian
ac1c550c52 Merge branch 'bugfix/rmt_tx_synchronization_tests' into 'master'
driver(RMT): Fix RMT TX multi channel test

See merge request espressif/esp-idf!22051
2023-01-19 19:19:40 +08:00
Kevin (Lao Kaiyao)
668e125dd4 Merge branch 'feature/support_i2s_on_h2' into 'master'
i2s: support i2s on esp32h2

Closes IDF-6219 and IDF-6700

See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +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
laokaiyao
c79187fdeb i2s: support i2s on esp32h2 2023-01-18 18:42:56 +08:00
Armando (Dou Yiwen)
9f3fd2802f Merge branch 'feature/sdio_slave_c6' into 'master'
sdio: c6 support

Closes IDF-5809

See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Song Ruo Jing
9db3865cb7 Merge branch 'feature/esp32h2_gpio_support' into 'master'
gpio: Add support for esp32h2

Closes IDF-6227, IDF-6388, IDF-6403, and IDF-6676

See merge request espressif/esp-idf!21986
2023-01-18 16:24:13 +08:00
Darian Leung
1834d8ac39 driver(RMT): Fix RMT TX multi channel test
This commit multiple issues with the following RMT TX tests:

- rmt_multi_channels_trans_no_dma
- rmt_multi_channels_trans_with_dma

The following issues are fixed:

- Channel stop times are now tested using TEST_ASSERT_INT64_WITHIN(). The
previous method did not account for the case where channel 1 finished before
channel 0
- Increased synchronous stop time delta for esp32-c6
- Increased main task stack size to prevent stack overflow onesp32-s3
2023-01-18 16:09:47 +08:00
wanlei
184145817c spi_master: add feature spi periph clk source selectable 2023-01-18 15:40:12 +08:00
Song Ruo Jing
4c8fdc31f9 gpio: Add support for esp32h2 2023-01-18 11:41:12 +08:00
morris
b589fff0af rmt: support esp32h2 2023-01-18 11:40:35 +08:00
Song Ruo Jing
dcf3fcaec6 lp_io: Enable esp32c6 lp_io unit tests 2023-01-18 11:23:52 +08:00
Armando
f1de9faa71 sdio: c6 support 2023-01-18 02:34:46 +00:00
Armando
38551239fd essl: update essl component in driver test 2023-01-18 02:34:46 +00:00
Kevin (Lao Kaiyao)
87ae8f8762 Merge branch 'bugfix/pcnt_sdm_test_on_h2' into 'master'
fix pcnt sdm pre-commit failure

See merge request espressif/esp-idf!22067
2023-01-17 20:40:36 +08:00
Kevin (Lao Kaiyao)
5d61788032 Merge branch 'bugfix/i2s_fix_incorrect_sclk_in_legacy_driver' into 'master'
i2s: fix incorrect sclk in legacy driver

See merge request espressif/esp-idf!21997
2023-01-17 15:34:06 +08:00
laokaiyao
58bde0f665 fix pcnt sdm pre-commit failure 2023-01-17 15:28:27 +08:00
C.S.M
01913f6d01 Merge branch 'feature/esp32h2_build_test' into 'master'
ESP32H2 (CI): enable CI build stage test on esp32h2

Closes IDF-6263 and IDF-6264

See merge request espressif/esp-idf!21954
2023-01-17 13:28:11 +08:00
Kevin (Lao Kaiyao)
c5af31fa19 Merge branch 'feature/support_pcnt_on_h2' into 'master'
pcnt: support pcnt on esp32h2

Closes IDF-6221 and IDF-6669

See merge request espressif/esp-idf!21950
2023-01-17 12:20:00 +08:00
Kevin (Lao Kaiyao)
235b1163af Merge branch 'feature/support_sdm_on_h2' into 'master'
sdm: support sdm on esp32h2

Closes IDF-6220 and IDF-6699

See merge request espressif/esp-idf!21955
2023-01-17 12:16:23 +08:00
laokaiyao
3908f4c84d i2s_test: fix output half sample rate failure 2023-01-17 11:37:22 +08:00
laokaiyao
c25fc7d242 i2s: fix incorrect sclk in legacy driver 2023-01-17 11:34:25 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
morris
bcc307cf7b Merge branch 'feature/rmt_no_light_sleep_lock' into 'master'
rmt: avoid auto light sleep when use xtal as the clock source

See merge request espressif/esp-idf!21831
2023-01-14 00:08:55 +08:00
laokaiyao
482a26e284 sdm: support sdm on esp32h2 2023-01-13 16:55:51 +08:00
laokaiyao
2730186561 pcnt: support pcnt on esp32h2 2023-01-13 16:11:50 +08:00
morris
ce84476870 gptimer: support esp32h2 2023-01-12 14:10:11 +00: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
morris
c83d1db2ed Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit' into 'master'
mcpwm: support not reset GPIO config at exit

Closes IDFGH-8916

See merge request espressif/esp-idf!21568
2023-01-12 13:20:47 +08:00
C.S.M
e96e7ecbee Merge branch 'bugfix/fix_bunch_of_i2c_issues' into 'master'
I2C: Fix bunch of small issues

Closes IDFGH-8722 and IDFGH-8310

See merge request espressif/esp-idf!21891
2023-01-11 11:02:53 +08:00
Krzysztof Budzynski
738600d839 Merge branch 'docs/update_gpio_hold_en_description' into 'master'
docs: update description of gpio_hold_en()

See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00
Armando
5be3c21cfc adc: improve power logic 2023-01-09 17:10:04 +08:00
morris
5fb9866f0d Merge branch 'feature/add_sdm_dac_example' into 'master'
sdm: add wave output example

Closes IDF-6636

See merge request espressif/esp-idf!21892
2023-01-09 15:30:30 +08:00
morris
dba66c100c Merge branch 'feature/mcpwm_non_varg_version_api' into 'master'
mcpwm: support non-vararg version of generator functions

Closes IDFGH-9046

See merge request espressif/esp-idf!21872
2023-01-09 15:07:21 +08:00
Cao Sen Miao
467356cfcd I2C: Fix issue that pointer would be NULL if calls i2c_param first,
Closes https://github.com/espressif/esp-idf/issues/10163
2023-01-09 10:18:03 +08:00
Linda
cdc12389d5 docs: update description of gpio_hold_en() 2023-01-07 13:57:02 +08:00
laokaiyao
6b631b68d1 sdm: correct concept duty to density 2023-01-06 17:01:48 +08:00
Song Ruo Jing
46f67092d0 ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-05 15:16:04 +08:00
Wan Lei
747214616c Merge branch 'feature/add_api_spi_slave_trans_in_isr' into 'master'
spi_slave: add isr version api to add transaction in isr callback

Closes IDF-6199 and IDF-6049

See merge request espressif/esp-idf!20587
2023-01-05 12:46:01 +08:00
wanlei
120d54d700 test: formate test_spi_slave.c 2023-01-04 15:35:04 +08:00
wanlei
45c1dc424f spi_slave: add spi 'spi_slave_queue_reset_isr' and add test 2023-01-04 15:35:04 +08:00
wanlei
6ae852f8b0 spi_slave: add api 'queue_trans_isr' and add a test case 2023-01-04 15:35:04 +08:00
wanlei
971eaa0c08 spi_slave: fix spi_slave_isr iram_safe and add test case for it 2023-01-04 15:35:04 +08:00
morris
781eb0c2ce Merge branch 'doc/calarify_transmitted_symbols' into 'master'
rmt: clarify num_symbols in the tx done event data

Closes IDFGH-9026

See merge request espressif/esp-idf!21807
2023-01-04 14:50:37 +08:00
Song Ruo Jing
662df0da3b ledc: Channel configuration requires the ledc core clock on to be effective. Therefore, a clock source is selected for the core clock since the peripheral initialization. Additionally, correct the usage of channel para_up and duty_start bits. 2023-01-03 15:16:00 +08:00