Commit Graph

816 Commits

Author SHA1 Message Date
Jiang Jiang Jian
df13918c80 Merge branch 'fix/tinyusb/string_desc' into 'master'
tinyusb: Do not access string descriptor array out of boundaries

Closes IDF-6943

See merge request espressif/esp-idf!22497
2023-02-28 22:46:59 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54 Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
Test: Fixed target test of I2S and PCNT on H2

Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627

See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Tomas Rezucha
2b5caf34b7 tinyusb: Do not access string descriptor array out of boundaries
The previous version of esp_tinyusb (v1.0.0) always assumed 8 string descriptors.
In case the user passed a smaller array of descriptors,
esp_tinyusb accessed memory outside of the array.
This is fixed esp_tinyusb v1.1.0 by 046cc4b02f
2023-02-23 11:16:37 +01:00
laokaiyao
71905d9cbf i2s_test: fix unsupported sample rate on h2 2023-02-23 15:11:13 +08:00
Armando
d0e4d36fb6 esp_adc: support h2 oneshot mode and continuous mode 2023-02-23 11:48:31 +08:00
laokaiyao
26f5441e0e i2s: support bytes_read / bytes_written to be NULL 2023-02-22 02:44:53 +00:00
laokaiyao
dfedf35ea8 i2s: update examples for the preload feature 2023-02-22 02:44:53 +00: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
wanlei
fdeeced62c twai: h2 support twai driver 2023-02-16 16:34:23 +08:00
morris
195f6b99ad rmt: expose private API to get channel ID
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Cao Sen Miao
fd3e0b0b18 esp32h2(ci): enable target test 2023-02-15 10:20:43 +08:00
Wan Lei
592949c716 Merge branch 'contrib/github_pr_10722' into 'master'
Add ESP32-S3 to the default GPIOs used (GitHub PR)

Closes IDFGH-9344

See merge request espressif/esp-idf!22265
2023-02-14 18:22:21 +08:00
morris
e0c98da169 Merge branch 'feature/glitch_filter_h2' into 'master'
gpio: support glitch filter on esp32h2

Closes IDF-6286

See merge request espressif/esp-idf!22273
2023-02-14 13:07:44 +08:00
wanlei
871b2ba237 spi: simplify readme description of spi examples 2023-02-13 15:44:12 +08:00
Alexander Salas Bastidas
a361724a46 Add ESP32-S3 to the default GPIOs used 2023-02-13 14:54:12 +08:00
morris
8ff376537c Merge branch 'feature/lcd_support_esp32h2' into 'master'
lcd: driver support for esp32h2

Closes IDF-6213 and IDF-6674

See merge request espressif/esp-idf!22299
2023-02-13 10:37:12 +08:00
C.S.M
9092b93966 Merge branch 'feature/temp_sensor_esp32h2' into 'master'
temperature_sensor: Add support for esp32h2

Closes IDF-6229

See merge request espressif/esp-idf!22291
2023-02-13 10:24:31 +08:00
morris
a3f887a1fe gpio: support glitch filter on esp32h2 2023-02-11 23:01:01 +08:00
morris
c2c4fbff13 lcd: driver support for esp32h2 2023-02-11 00:30:48 +00:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Cao Sen Miao
bbbe569e03 temperature_sensor: Add support for esp32h2 2023-02-10 16:36:56 +08:00
wanlei
5300bd3b2f spi: support H2 spi master, slave, slave_hd driver 2023-02-08 11:38:45 +08:00
morris
6f8ee89302 etm: add basic driver on esp32h2 2023-02-07 14:54:08 +00:00
Song Ruo Jing
b72d759290 uart: Add support for esp32h2 2023-02-06 00:48:04 +08:00
morris
15b9352f60 mcpwm: support esp32h2 2023-02-02 19:05:31 +08:00
laokaiyao
330149f3a6 i2c: support i2c on esp32h2 2023-02-01 11:23:11 +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
morris
774a05399b soc: fix wrong APB_CLK_FREQ value on esp32c6 2023-01-28 06:33:23 +00:00
Roman Leonov
bb1e1737d3 usbh: hid change key event handler 2023-01-27 11:13:33 +01: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
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
Armando
e80e1450ac sdio: c6 doc update 2023-01-18 02:34:46 +00:00
Armando
f1de9faa71 sdio: c6 support 2023-01-18 02:34:46 +00:00
Saurabh Kumar Bansal
490f9ebd50 Merge branch 'feature/usb_device_msc_sdcard' into 'master'
USB Dev: Integrate SD MMC Card as a storage media that is accessed by USB-host as a USB Mass Storage Device

Closes IDF-6545 and IDFGH-9040

See merge request espressif/esp-idf!21679
2023-01-18 01:16:21 +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
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Saurabh Kumar Bansal
ff8b78227a Fix typo in comparison 2023-01-13 20:12:40 +05:30
Saurabh Kumar Bansal
80cad41cc2 USB Dev: Integrate sdcard as a storage media that is accessed by USB-host as a USB Mass Storage Device 2023-01-13 20:12:29 +05:30
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
b1ff550f69 Merge branch 'feature/driver_support_esp32c6_gptimer_etc' into 'master'
gptimer: support esp32h2

Closes IDF-6242

See merge request espressif/esp-idf!21925
2023-01-13 08:23:33 +08:00
morris
ce84476870 gptimer: support esp32h2 2023-01-12 14:10:11 +00:00
Roman Leonov
4c162af6c9 usb_host: license and typos fixes 2023-01-11 14:23:22 +01: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
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
dfa78f244e I2C: Fix doc about pull-up,
Closes https://github.com/espressif/esp-idf/issues/9791
2023-01-09 10:18:03 +08:00
Tomas Rezucha
23fd449450 Merge branch 'feature/usb/update_tusb' into 'master'
usb: Update TinyUSB version

See merge request espressif/esp-idf!21591
2023-01-08 19:42:48 +08:00
laokaiyao
6b631b68d1 sdm: correct concept duty to density 2023-01-06 17:01:48 +08:00
laokaiyao
59984e7d1f sdm: add wave output example 2023-01-06 17:01:48 +08:00
morris
592673b052 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
laokaiyao
f95c2274b8 i2s: fix some typos 2022-12-29 16:31:03 +08:00
Kevin (Lao Kaiyao)
4a86240b6e Merge branch 'feature/support_adc_on_c6' into 'master'
adc: support adc on c6

Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567

See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
morris
011315a146 Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
rmt: support PLL clock on esp32c6

Closes IDF-6341

See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
bc2a2d3cde gptimer: support RC_FAST clock source
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.

Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
laokaiyao
5333ac81bf adc: support ADC on esp32c6 (driver/test/example) 2022-12-23 11:24:06 +08:00
Song Ruo Jing
36cdf88a5b Merge branch 'contrib/github_pr_10402' into 'master'
ledc: move callback to IRAM as it's called from an ISR (GitHub PR)

Closes IDFGH-8990

See merge request espressif/esp-idf!21711
2022-12-22 16:55:29 +08:00
chli
c158ec579b ledc: move callback to IRAM, it's called from an ISR 2022-12-22 12:11:32 +08:00
morris
32cd193ddf rmt: support pll clock source on esp32c6 2022-12-22 11:25:54 +08:00
Chen Yu Dong
d3716c439d Merge branch 'ci/add_generic_to_xtal_26mhz_runners' into 'master'
CI: add generic to xtal_26mhz jobs

See merge request espressif/esp-idf!21725
2022-12-22 10:56:25 +08:00
Chen Yudong
9282446d9b CI: add example adc tests 2022-12-21 21:19:29 +08:00
laokaiyao
bfb98ba737 i2s_record: use absolute including path
Closes: https://github.com/espressif/esp-idf/issues/10343
2022-12-20 15:27:45 +08:00
Tomas Rezucha
f3a63014f8 usb: Update TinyUSB version 2022-12-19 18:55:00 +01:00
Armando
ded528e188 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
b4c90c44d2 adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous  mode is not stable.

However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Roman Leonov
0c9e30fa8e Merge branch 'feature/usb_host_hid_example' into 'master'
USB Host: Add HID example

Closes IDF-2213 and IDFGH-7795

Closes https://github.com/espressif/esp-idf/issues/9330

See merge request espressif/esp-idf!20902
2022-12-12 21:36:10 +08:00
morris
7064b668c6 Merge branch 'feature/etm_api_update' into 'master'
etm: introduce config structure for event/task new functions

See merge request espressif/esp-idf!21483
2022-12-12 13:12:09 +08:00
Roman Leonov
4a7a6bf35b usb_host: hid example 2022-12-09 17:02:44 +01:00
Song Ruo Jing
6f4d1ea436 Merge branch 'feature/esp32c6_ledc_support' into 'master'
ledc: Add basic support for esp32c6

Closes IDF-5328

See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Vilem Zavodny
1303a7ceee Merge branch 'feature/support_rotating_lcd_ssd1306_1' into 'master'
Support rotation SSD1306, changed example for using LVGL port component and added SH1107 LCD support.

See merge request espressif/esp-idf!21196
2022-12-08 15:34:39 +08:00
Tomas Rezucha
abdf7430e0 usb_host: Extend VCP example with more devices
Closes https://github.com/espressif/esp-idf/issues/9652
Closes https://github.com/espressif/esp-idf/issues/8951
2022-12-07 11:33:48 +00:00
Song Ruo Jing
9402ab427b ledc: Add basic support for esp32c6 2022-12-07 18:40:50 +08:00
Vilem Zavodny
7e661b3f7f lcd: Add SH1107 controller into I2C oled example. 2022-12-07 09:04:17 +01:00
Vilem Zavodny
8631e4544b lcd: Support rotation SSD1306 and changed example for using LVGL port component. 2022-12-07 09:04:17 +01:00
morris
5c06e9cf40 etm: update etm event task new API 2022-12-07 15:43:20 +08:00
Vilem Zavodny
2e3c72a5d1 Merge branch 'fix/lcd_spi_example_colors' into 'master'
examples/spi_lcd_touch: Fixed colors on ILI9341.

Closes IDFGH-8811

See merge request espressif/esp-idf!21298
2022-12-07 14:41:09 +08:00
Vilem Zavodny
0ea1317983 examples/spi_lcd_touch: Fixed colors on ILI9341. 2022-12-06 10:59:25 +01:00
morris
18545e9abe lcd: support multi framebuffers for RGB LCD driver 2022-12-06 11:12:28 +08:00
Tomas Rezucha
9d79efc3b7 i2s: Add BSP support for es8311 example
Users can now pick a BSP for development boards that have ES8311 codec populated.
2022-12-05 08:42:16 +01:00
Saurabh Kumar Bansal
fac23b90ae USB: Add MSC example. 2022-12-03 20:32:38 +05:30
morris
234b2fac35 Merge branch 'bugfix/step_motor_example_check_curve_step' into 'master'
stepper motor example: check curve_step for stepper motor encoder

Closes IDFGH-8824

See merge request espressif/esp-idf!21318
2022-11-30 14:58:59 +08:00
morris
a933539dd2 example: check curve_step for stepper motor encoder
Closes https://github.com/espressif/esp-idf/issues/10253
2022-11-29 17:55:17 +08:00
Song Ruo Jing
1575b9e43a ci: Disable all currently failed target tests for esp32c6 2022-11-28 12:09:08 +08:00
Song Ruo Jing
7466ddfa8c ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py) 2022-11-28 11:58:30 +08:00
laokaiyao
888ca08cb2 uart: support examples and tests on esp32c6 2022-11-24 16:07:24 +08:00
morris
4186bd041c gptimer: added etm example 2022-11-23 15:32:34 +08:00
Omar Chebib
7baa63cbc2 Merge branch 'staging/asm_dedic_gpio_example' into 'master'
Dedicated/Fast GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets

Closes IDF-5936

See merge request espressif/esp-idf!20921
2022-11-23 14:19:01 +08:00
Cao Sen Miao
fb9d0d9f03 temperature_sensor: Add support on ESP32-C6 (No calibration) 2022-11-22 16:22:31 +08:00
Kevin (Lao Kaiyao)
4867928160 Merge branch 'bugfix/i2s_tdm_doubled_mclk' into 'master'
i2s: fixed double mclk in tdm mode

Closes IDFGH-8764 and IDFGH-8763

See merge request espressif/esp-idf!21138
2022-11-22 15:41:16 +08:00
Omar Chebib
623bffaab8 Dedicated GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets.
Use dedicated GPIOs in examples to show how to emulate a UART, I2C and SPI bus.
(Using assembly and C)
2022-11-22 14:17:40 +08:00
Wan Lei
65c0b2b81a Merge branch 'feature/c6_spi_master_driver_support' into 'master'
esp32c6: support spi master & slave driver

Closes IDF-5335 and IDF-5336

See merge request espressif/esp-idf!20877
2022-11-22 12:29:25 +08:00
Michael (XIAO Xufeng)
439a709c42 Merge branch 'feat/esp32s3_essl_sdmmc_host' into 'master'
essl: add support for ESP32-S3 SDMMC host

See merge request espressif/esp-idf!19325
2022-11-22 11:18:32 +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
Michael (XIAO Xufeng)
720b86a886 example/sdio: add support for ESP32-S3 as host (via SD) 2022-11-21 14:03:41 +08:00
morris
5bd99deb48 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00