Commit Graph

540 Commits

Author SHA1 Message Date
Darian Leung
a57496acfe usb_host: Add maintainer's notes (Design, Architecture)
This commit adds some parts of the USB Host Stack's maintainers notes
(specifically "Design" and "Architecture").
2023-01-24 02:49:35 +08:00
Aditya Patwardhan
2a46fecb36
esp32c6: Enable documentation for esp32c6 hmac and ds 2023-01-19 09:53:35 +05:30
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
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
Armando
e80e1450ac sdio: c6 doc update 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
morris
d9825f5165 Merge branch 'feature/add_clk_tree_get_frequency_api' into 'master'
clk_tree: Stage 4 - Add a general API to get the frequency of different clocks

Closes IDF-6569

See merge request espressif/esp-idf!21830
2023-01-17 17:08:23 +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
Marius Vikhammer
70d1dbccd8 Merge branch 'docs/enable_h2_build' into 'master'
docs: add support for building H2 docs

Closes IDF-6259

See merge request espressif/esp-idf!21933
2023-01-17 12:11:29 +08:00
Song Ruo Jing
4bd36e6576 clk_tree: Update clock tree programming guide for esp32c6 2023-01-17 11:30:43 +08: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
Marius Vikhammer
7100b7d1ff docs: add support for building H2 docs 2023-01-17 10:04:26 +08:00
Linda
abf2dd1817 update section names of adc_calibration.rst 2023-01-16 19:05:39 +08:00
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
Darian Leung
a52aff81a8 usb_host: Add maintainer's notes (Introduction and DWC_OTG Controller)
This commit adds some parts of the USB Host Stack's maintainers notes
(specifically "Introduction" and "DWC_OTG Controller" chapters).
2023-01-13 20:00:18 +08:00
laokaiyao
482a26e284 sdm: support sdm on esp32h2 2023-01-13 16:55:51 +08:00
Mahavir Jain
fd34bdb70a Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
security: Adds new APIs to check that all eFuse security features are enabled correctly

Closes IDF-1814

See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
KonstantinKondrashov
b7c28e92f1 doc: Update hmac article 2023-01-10 23:35:13 +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
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
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
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
Michael (XIAO Xufeng)
57a9c67c01 index 2022-12-29 01:00:31 +08:00
Michael (XIAO Xufeng)
daa4af1b1f docs: split spi_flash api-reference documents to peripherals folder 2022-12-29 00:59: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
Zhang Xiao Yan
ae639f68a6 Merge branch 'docs/update_USB-OTG_ESP32S2_ESP32S3' into 'master'
updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst

Closes DOC-3565

See merge request espressif/esp-idf!20144
2022-12-27 14:38:51 +08:00
morris
26467f63cd doc: clarify num_symbols in the tx done event data
Closes https://github.com/espressif/esp-idf/issues/10435
2022-12-27 12:08:38 +08:00
laokaiyao
5333ac81bf adc: support ADC on esp32c6 (driver/test/example) 2022-12-23 11:24:06 +08:00
Song Ruo Jing
1a6e1aba3d ledc: Add check for whether the registered callback is in iram in ledc_cb_register 2022-12-22 14:38:58 +08:00
Shang Zhou
172aca432a docs: Update CN translation for out-of-sync api-reference files 2022-12-16 19:19:39 +08:00
morris
3d09cc32a1 Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index' into 'master'
RGB LCD: support multi frame buffer in bounce buffer mode

See merge request espressif/esp-idf!21555
2022-12-16 14:15:51 +08: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
morris
15e98dc7d3 doc: recommend turn on psram xip feature for bounbe buffer mode 2022-12-16 02:04:59 +00:00
morris
8277a8e8df doc: gpio glitch filter 2022-12-09 11:33:42 +08:00
morris
bc56ae4a63 Merge branch 'docs/translate_uart' into 'master'
docs: translate uart

Closes DOC-3037

See merge request espressif/esp-idf!21184
2022-12-08 19:34:40 +08:00
Wang Zi Yan
828fed333e docs: translate uart 2022-12-08 19:34:40 +08:00
Song Ruo Jing
9402ab427b ledc: Add basic support for esp32c6 2022-12-07 18:40:50 +08:00
morris
8c7e8f2811 doc: add api reference for controller lcd drivers 2022-12-06 11:12:28 +08:00
Saurabh Kumar Bansal
fac23b90ae USB: Add MSC example. 2022-12-03 20:32:38 +05:30
Linda
9c0d573eae updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst 2022-11-29 10:08:59 +08:00
Mahavir Jain
11f2683c27 docs: add chapter about overall "security" area guide
List down considerations for the following areas:

- Hardware security
- Network security
- Product security

Also added brief explanation about "Security Policy" for ESP-IDF.

Closes IDF-1565
2022-11-25 03:17:05 +00:00
morris
4019e307f1 doc: add api reference for etm driver 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
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
laokaiyao
039af72058 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +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
wanlei
3aeedc2ad3 spi: bringup c6 spi master & slave driver support 2022-11-18 15:54:14 +08:00
laokaiyao
3b4ec64f26 i2s: support on esp32c6 2022-11-17 11:04:39 +08:00
Armando (Dou Yiwen)
6435a3e4e3 Merge branch 'contrib/github_pr_10121' into 'master'
Update adc_oneshot.rst (GitHub PR)

Closes IDFGH-8676

See merge request espressif/esp-idf!20951
2022-11-11 18:25:52 +08:00
morris
01a253afaf doc: split gpio summary by target name 2022-11-10 10:37:59 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +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
morris
9f18a0bb5b Merge branch 'doc/explain_ledc_callback_return_value' into 'master'
ledc: explain the callback return value

Closes IDFGH-8647

See merge request espressif/esp-idf!20916
2022-11-07 17:55:59 +08:00
Paul Schulz
82b16e6784
Update adc_oneshot.rst
Minor fixes for readability.
2022-11-07 14:55:16 +10:30
morris
aeaef08f0e doc: update twai api reference for 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
laokaiyao
2cccf3a804 dac: update API and file format aligning to the rule 2022-11-03 13:04:50 +08:00
morris
999a3d5e6b ledc: explain the callback return value
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-03 11:01:47 +08:00
Tomas Rezucha
94a00bda0f tinyusb: Use TinyUSB from component registry 2022-11-02 08:24:43 +01:00
Marius Vikhammer
418efe09f6 docs: remove link to i2c specs 2022-10-31 02:21:31 +00:00
morris
9692ebfdf1 doc: clarify RGB LCD PSRAM bandwidth risk
Closes https://github.com/espressif/esp-idf/issues/10010
2022-10-27 17:06:53 +08:00
morris
e6e1d696d2 doc: clarify the meaning of overflow in pcnt driver
Closes https://github.com/espressif/esp-idf/issues/10039
2022-10-26 16:13:04 +08:00
Wan Lei
439d42d7e2 Merge branch 'doc/add_capture_iomux_gpiomatrix_esp32s3' into 'master'
doc/spi: add chapter about IOMUX and GPIO matrix in SPI Driver Usage

Closes IDFGH-8219

See merge request espressif/esp-idf!20378
2022-10-26 11:38:55 +08: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
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
Linda
92e005ba0e docs: add pin information of touch sensor 2022-10-24 17:38:02 +08:00
morris
0d62238428 doc: update mcpwm for esp32c6 2022-10-20 11:55:03 +08:00
Song Ruo Jing
c8c9ce0a8b Merge branch 'feature/esp32c6_gpio_support' into 'master'
gpio: bringup driver on esp32c6 FPGA

Closes IDF-5870 and IDF-5937

See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
Tomas Rezucha
1410f5a798 tinyusb: Add VBUS voltage monitoring feature
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.

Closes https://github.com/espressif/esp-idf/issues/7747
2022-10-18 09:18:29 +02:00
Song Ruo Jing
a3d0a0bdc6 docs: Add esp32c6 GPIO/IO_MUX content 2022-10-18 14:26:11 +08:00
Armando (Dou Yiwen)
542bdea689 Merge branch 'feature/adc_calibration_on_c2' into 'master'
esp_adc: support adc calibration on esp32c2

Closes IDF-5203 and IDF-5899

See merge request espressif/esp-idf!20044
2022-10-18 10:50:59 +08:00
wanlei
df5e1a2ff0 doc/spi: add chapter about IOMUX and GPIO matrix in SPI Driver Usage 2022-10-17 16:25:59 +08:00
Armando
0a428617b6 doc: add esp32c2 calibration notes 2022-10-13 21:03:51 +08:00
Armando
8d976eafbd doc: make adc wifi hardware limitation visible on esp32 2022-10-13 21:03:51 +08:00
Marius Vikhammer
ca4ad3ce7c docs: add support for building C6 docs 2022-10-13 04:39:16 +00:00
Wan Lei
ead10bf01a Merge branch 'doc/spi_master_frequency_limit' into 'master'
Doc/SPI Master: Added description for SPI clock and speed settings

Closes IDF-6024

See merge request espressif/esp-idf!20335
2022-10-10 19:53:53 +08:00
wanlei
31fa04c45b Doc/SPI Master: Added description for SPI clock and speed settings 2022-10-10 10:54:51 +08:00
morris
d35bb630ab Merge branch 'feature/rgb_lcd_restart' into 'master'
rgb_lcd: support restart dma transmission manually

Closes IDF-5892

See merge request espressif/esp-idf!20295
2022-10-09 17:39:33 +08:00
morris
05092e2f82 rgb_lcd: support restart dma transmission manually
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.

Added a restart function to help the user to make them sync again.
2022-10-07 18:46:05 +08:00
Ivan Grokhotkov
8048d596a2
docs: remove duplicate "the" articles 2022-10-05 11:58:23 +02:00
Martin Vychodil
7d28abae4e Merge branch 'feature/sdcard_custom_freq' into 'master'
[Storage] Enable SD card custom frequency setup

Closes IDFGH-7089

See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
morris
c99edc6715 mcpwm: make set_compare_value iram safe
Closes https://github.com/espressif/esp-idf/issues/9793
2022-09-21 13:37:49 +00:00
Marius Vikhammer
29830f609d Merge branch 'docs/misc_broken_link_fixes' into 'master'
docs: fixed misc broken links

See merge request espressif/esp-idf!20208
2022-09-19 10:58:58 +08:00
Marius Vikhammer
8540e7a772 docs: fixed misc broken links 2022-09-18 15:03:39 +08:00
laokaiyao
af0c0bd8ce i2s: fix the data lagging of slave role
Closes https://github.com/espressif/esp-idf/issues/9513
2022-09-16 18:45:02 +08:00
Martin Vychodil
56f2001317 sdmmc/sdspi: allow custom setup of SD card frequency
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit

Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
daiziyan
49aaea7509 docs: updated gpio and sync up line numbers 2022-09-09 02:39:35 +00:00