Commit Graph

1100 Commits

Author SHA1 Message Date
laokaiyao
f35ec64a0b feat(touch): support touch driver on p4 (soc) 2023-11-16 11:13:02 +00:00
Darian Leung
a51813d9d9 refactor(soc): SOC_USB_PERIPH_NUM option
This commit refactors SOC_USB_PERIPH_NUM as follows:

- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-14 18:48:01 +08:00
morris
eb5183f503 feat(mcpwm): refactor mcpwm driver into a component 2023-11-09 22:05:06 +08:00
Armando
fca46eac52 refactor(spi): make spi driver as component 2023-11-09 14:50:05 +08:00
Wan Lei
c8c7f999ef Merge branch 'feature/esp32p4_hp_spi_slave_hd_support' into 'master'
Feature/esp32p4 hp spi slave hd support

Closes IDF-7505

See merge request espressif/esp-idf!25974
2023-11-09 14:42:05 +08:00
morris
3d0115034e Merge branch 'contrib/github_pr_12450' into 'master'
Support SSD1306 128x32 (GitHub PR)

Closes IDFGH-11296

See merge request espressif/esp-idf!26943
2023-11-09 14:37:52 +08:00
Wan Lei
ab43ff7932 Merge branch 'fix/spi_eeprom_example_clean_iram_usage' into 'master'
fix(spi): clean eeprom example iram usage

See merge request espressif/esp-idf!26995
2023-11-08 15:28:15 +08:00
wanlei
ee6dd6a4a9 fix(spi): clean eeprom example iram usage 2023-11-08 10:51:04 +08:00
morris
0c3f80495a feat(ssd1306): support 128x32 resolution 2023-11-08 09:58:50 +08:00
Alexey Storozhev
c4dc16c612 feat(ssd1306): Add vendor specific configuration for SSD1306
Merges https://github.com/espressif/esp-idf/pull/12450
2023-11-08 09:58:50 +08:00
Cao Sen Miao
ef46828683 docs(i2c): Modify some variables in I2C driver for good docs 2023-11-07 18:42:08 +08:00
wanlei
2e115ec98c feat(spi_slave_hd): p4 update examples and document 2023-11-07 16:01:44 +08:00
Armando (Dou Yiwen)
0c81f41e16 Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12

See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
Armando
d3be2541de fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
morris
2ef14fe55e refactor(gptimer): refactor gptimer driver into a component 2023-11-06 17:09:31 +08:00
Darian
455cc345f7 Merge branch 'contrib/github_pr_12523' into 'master'
fix: assert failed in example uart_async_rxtxtasks (GitHub PR)

Closes IDFGH-11380

See merge request espressif/esp-idf!26935
2023-11-06 15:24:17 +08:00
Song Ruo Jing
8029946cba Merge branch 'refactor/esp_driver_gpio' into 'master'
refactor(gpio): make gpio driver as component

See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
Ngai-Fung Yip
b8a3141ef9 fix: assert failed in example uart_async_rxtxtasks 2023-11-04 08:48:57 +08:00
morris
ed5deb00bb Merge branch 'contrib/github_pr_12514' into 'master'
Update ledc_basic_example_main.c (GitHub PR)

Closes IDFGH-11370

See merge request espressif/esp-idf!26896
2023-11-03 18:40:15 +08:00
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
diplfranzhoepfinger
007c2b155e
Update ledc_basic_example_main.c
the order of initializers should match the declaration, to be able to also use this code in C++
2023-11-02 11:13:20 +01:00
Wan Lei
10401d95d0 Merge branch 'feature/esp32p4_hp_spi_slave_support' into 'master'
Feature/esp32p4 hp spi slave support

Closes IDF-7503

See merge request espressif/esp-idf!25700
2023-10-31 23:31:24 +08:00
Peter Marcisovsky
546b76befa feat(usb/host): Modifiy usb_host_lib example
The example keeps handling connections/disconnections indefinitely.
Added kconfig.projbuild for GPIO selection.
GPIO0 press does terdown/uninstall.
2023-10-30 13:40:44 +01:00
wanlei
7cd75c1075 feat(spi_slave): add p4 hp spi slave driver support 2023-10-30 12:51:56 +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
morris
cfbf857924 Merge branch 'refactor/esp_driver_pcnt' into 'master'
refactor(pcnt): make pcnt driver as component

Closes IDF-8380

See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Martin Vychodil
1d5dbb8170 Merge branch 'update/sdcard_troubleshooting' into 'master'
fix(sd_card): update sd_card troubleshooting notes in readme.md

See merge request espressif/esp-idf!25879
2023-10-26 16:49:02 +08:00
wanlei
d9d6f5a17a feat(twai): support legacy twai(can) driver for esp32p4 2023-10-26 16:20:45 +08:00
sonika.rathi
360f7b1e14 fix(sd_card): update sd_card troubleshooting notes in readme.md 2023-10-25 11:19:08 +02:00
Roman Leonov
375907299e fix(usb/host): added hid_driver_uninstall call during APP_QUIT for HID Host example 2023-10-25 09:04:20 +02:00
Tomas Rezucha
e6fde2e13e refactor(usb/host_msc_example): Increase transfer speeds
- Upgrade to MSC driver 1.1.1 for zero copy transfers
- Use setvbuf() to increase size of VFS file buffer
- Add example test
2023-10-24 15:19:58 +02:00
Tomas Rezucha
6e92fc0416 feature(examples/usb): Define maximum opend files in MSC device example 2023-10-24 15:19:58 +02:00
morris
845e6c3ccb docs: update EC11 datasheet link
Closes https://github.com/espressif/esp-idf/issues/12442
2023-10-23 10:12:23 +08:00
morris
98b5ea7bdf refactor(pcnt): make pcnt driver as component 2023-10-23 01:45:43 +00:00
Armando
70314b56d5 feat(sdmmc): supported sd2.0 on esp32p4 2023-10-18 11:57:55 +00:00
wanlei
57614bbad2 feat(ledc): support ledc on esp32p4 2023-10-17 16:40:04 +08:00
morris
2bbdd35383 build: trim lcd apps build dependency 2023-10-13 14:58:15 +08:00
Tomas Rezucha
31f11848d2 Merge branch 'feature/usb_examples_trim_build' into 'master'
change(usb/examples): Trim the builds of USB examples

See merge request espressif/esp-idf!26320
2023-10-10 23:33:11 +08:00
Roman Leonov
7b0b7a8bf0 Merge branch 'feature/usb_host_uvc_example_kconfig' into 'master'
feat(usb/host): add Kconfig for negotiation protocol configuration in UVC example

Closes IDF-7975

See merge request espressif/esp-idf!26275
2023-10-10 17:26:08 +08:00
Tomas Rezucha
b4c387f9f3 change(usb/examples): Trim the USB example builds
Include minimal set of components: main and everything it depends on
2023-10-10 10:28:47 +02:00
Wan Lei
c8832d789d Merge branch 'fix/mcpwm_foc_example_build_all_target' into 'master'
fix(mcpwm): foc example enable build on all supported target

Closes IDF-8075

See merge request espressif/esp-idf!26366
2023-10-09 19:24:43 +08:00
wanlei
776b92803d fix(mcpwm): foc example enable build on all supported target 2023-10-09 12:28:08 +08:00
wanlei
eb75aa462e feat(spi_master): p4 enable test and examples 2023-10-08 14:45:52 +08:00
wanlei
00fcdce725 feat(spi_master): p4 add master driver supported 2023-10-08 14:45:12 +08:00
Roman Leonov
1bd0c0f6f6 feat(usb/host): add Kconfig for negotiation protocol configuration in UVC example 2023-10-06 12:43:17 +02:00
Song Ruo Jing
821f7b0498 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12083
2023-10-02 07:32:16 +00:00
Kevin (Lao Kaiyao)
4c6f4b39f1 Merge branch 'feature/support_i2s_on_p4' into 'master'
feat(i2s): support i2s on esp32p4

Closes IDF-6508

See merge request espressif/esp-idf!24280
2023-09-29 00:50:04 +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
morris
b12e250b2c refactor(examples): reformat peripheral examples with astyle_py 2023-09-28 10:08:04 +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
Kevin (Lao Kaiyao)
9a239b8367 Merge branch 'feature/support_analog_comparator_on_p4' into 'master'
feat(ana_cmpr): supported analog comparator on esp32p4

Closes IDF-7479

See merge request espressif/esp-idf!24873
2023-09-27 04:24:09 +08:00
Liu Zhong Wei
1956196170 Merge branch 'feature/esp_lcd_example_use_lvgl_lock' into 'master'
feat(esp_lcd): add lock for lvgl in examples

Closes AEG-859

See merge request espressif/esp-idf!25733
2023-09-26 10:23:29 +08:00
laokaiyao
ff7a11e539 feat(ana_cmpr): supported etm in analog comparator example 2023-09-25 19:57:34 +08:00
laokaiyao
28a45e20b8 feat(parlio_tx): supported parlio tx on p4 2023-09-25 10:42:30 +08:00
Armando
900aebd158 feat(dma): added APIs for dma specific malloc 2023-09-22 14:19:41 +08:00
Liu Zhongwei
beef3bd065 feat(esp_lcd): add lock for lvgl in examples 2023-09-22 12:22:17 +08:00
Liu Zhongwei
9df70ceb22 fix(spi_lcd_touch): LCD image source default from binary 2023-09-21 09:19:08 +08:00
morris
8d17265bb7 Merge branch 'feature/support_rmt_esp32p4' into 'master'
RMT driver support on ESP32-P4

Closes IDF-7476 and IDF-7730

See merge request espressif/esp-idf!25680
2023-09-20 23:11:11 +08:00
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
morris
6bb05cccdd feat(rmt): add driver support for esp32p4
including DMA feature
2023-09-19 12:54:14 +08:00
morris
6f6ed69c62 Merge branch 'feat/add_lvgl_filesystem_example' into 'master'
feat(LCD):  Update i80 example of loading image from file system

Closes IDF-8026

See merge request espressif/esp-idf!25661
2023-09-06 22:20:17 +08:00
Chen Jichang
5ea4df682e feat(esp_lcd): updated lvgl example to loading image from file system
which can help to reduce the firmware bin size
2023-09-06 14:53:24 +08:00
Planck (Lu Zeyu)
6f55f76344 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-05 12:11:19 +08:00
morris
ab42d63054 fix(ci): pre-commit failure on readme check 2023-08-28 05:17:56 +00:00
Armando
6f412393b6 change(ci): add todo to p4 build test enable 2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Michael (XIAO Xufeng)
47c153b949 Merge branch 'ci/pre-commit-check-build-test-rule-exist' into 'master'
pre-commit: add check that build-test-rule paths must exist

See merge request espressif/esp-idf!25231
2023-08-17 02:25:45 +08:00
Xiao Xufeng
f51258ec18 ci(pre-commit): add check that build-test-rule paths must exist 2023-08-11 17:04:35 +08:00
Cao Sen Miao
de85f47bc9 feat(i2c): Add I2C driver support for esp32p4 2023-08-11 12:37:11 +08:00
Cao Sen Miao
d9d1c87e56 feat(i2c_eeprom): Add new example for I2C eeprom with new API 2023-08-10 11:55:54 +08:00
Wan Lei
2975cc52b8 Merge branch 'example/mcpwm_svm_example' into 'master'
mcpwm: add foc svpwm example

Closes IDF-3662

See merge request espressif/esp-idf!23645
2023-08-02 12:46:15 +08:00
wanlei
b7a901951e mcpwm: add foc svpwm generation open loop example 2023-08-01 16:18:19 +08:00
Darian Leung
6fc935e584 refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
laokaiyao
e3789d99a0 feat(example): bump up version of es8311 lvgl in the example 2023-07-01 17:55:58 +08:00
Roman Leonov
f9bc38f573 Merge branch 'feature/usb/host/hid_host_example_update' into 'master'
USB Host (HID): HID Host example update

Closes IDF-7636

See merge request espressif/esp-idf!24415
2023-06-30 02:05:47 +08:00
Roman Leonov
5ceac3cd19 feat(usb): update HID Host example 2023-06-29 11:58:46 +02:00
morris
1c0be26531 fix(soc): soc header files can pass CI check 2023-06-26 23:00:45 +08:00
morris
7f8404ed91 doc: state the rgb lcd example may need extra initialitions
Closes https://github.com/espressif/esp-idf/issues/11736
2023-06-25 11:16:39 +08:00
wuzhenghui
6fe405bffc ci: fix failed ci test jobs 2023-06-21 15:24:50 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
zhaokeke
338f0d95c4 usb: Add NCM device example
This example requires import esp_tinyusb library
2023-06-05 14:50:12 +02:00
Fu Hanxi
2ad2e3cb04 ci(ccs811): use manifest file instead of patterns in rules.yml 2023-05-26 22:59:57 +08:00
morris
ab6ae9341a example: fix led strip memory overwrite before trans done
Closes https://github.com/espressif/esp-idf/issues/11487
2023-05-24 14:04:11 +08:00
Kevin (Lao Kaiyao)
7a462d8a86 Merge branch 'feature/support_adc_calibration_on_c6' into 'master'
adc_cali: supported adc calibration on esp32c6

Closes IDF-5312 and IDF-6566

See merge request espressif/esp-idf!23499
2023-05-24 11:31:12 +08:00
Tomas Rezucha
f4dfc8ffb8 Merge branch 'feature/usbd_msc_mount_callback' into 'master'
USBD: update example of usb device msc by adding usage of new API.

Closes IDF-7369

See merge request espressif/esp-idf!23761
2023-05-23 22:59:41 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Saurabh Kumar Bansal
6f7a6b1eea usb: update usb device msc example by adding new API tinyusb_msc_register_callback 2023-05-22 12:00:44 +05:30
KonstantinKondrashov
ce602a36f9 ci: Relax a check in pytest_gptimer_example 2023-05-17 23:40:59 +08:00
morris
5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
Alexey Lantushenko
9d1747dd59 1. The example does not work with when board only supports TYPE1 format 2. The example has syntax error converting void* to adc_digi_output_data_t*
Signed-off-by: Armando <douyiwen@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/11347
2023-05-09 12:37:05 +08:00
laokaiyao
bf8419fd6e i2s: public bclk_div and add a default config for PDM TX DAC 2023-05-06 14:19:48 +08:00
Omar Chebib
74d87aef0c Merge branch 'feature/dedicated_gpios_xtensa' into 'master'
Dedicated GPIO: add software UART implementation for Xtensa targets

See merge request espressif/esp-idf!21918
2023-05-04 12:49:27 +08:00
morris
af2085b789 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Marius Vikhammer
9357f0977c Merge branch 'ci/chip_support_network_invalid_kconfigs' into 'master'
ci: remove redundant ci configs for chip support and network components

See merge request espressif/esp-idf!23430
2023-04-26 17:26:05 +08:00
Marius Vikhammer
bca026455c ci: remove redundent ci configs for chip support and network components
CI would build psram config test apps even for target with no psram.
2023-04-26 09:54:29 +08:00
Song Ruo Jing
e2a5c092f7 Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx

See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Armando (Dou Yiwen)
31bf665d88 Merge branch 'bugfix/fix_adc_continuouus_example_pytest_potential_failure' into 'master'
adc: fix adc_continuous example pytest potential failure

See merge request espressif/esp-idf!23424
2023-04-25 18:54:46 +08:00
Saurabh Kumar Bansal
2fb3681ad2 Merge branch 'feature/usb_composite_device_support' into 'master'
usbd: add usb composite device example

Closes IDFGH-9035

See merge request espressif/esp-idf!23135
2023-04-25 16:34:45 +08:00
Song Ruo Jing
a4e8960ab4 esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h 2023-04-25 14:12:06 +08:00
Armando
6bf35715e4 fix adc_continuous example pytest potential failure 2023-04-25 12:28:27 +08:00
laokaiyao
1f84f6c6ed esp32h4: remove esp32h4 target from ci 2023-04-20 15:19:47 +08:00
laokaiyao
b7053b46ef esp32h4: remove esp32h4 target from peripherals 2023-04-20 15:19:45 +08:00
Saurabh Kumar Bansal
7cc59918bc usbd: add usb composite device example 2023-04-19 14:02:33 +05:30
morris
b19a3e3e56 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Omar Chebib
801f934ac9 Dedicated GPIO: add software UART implementation for Xtensa targets
The software UART example is now compatible with Xtensa targets that have dedicated GPIOs. In other words, this example is now compatible with ESP32-S2 and ESP32-S3.
2023-04-14 15:31:34 +08:00
Fu Hanxi
1be18d4bc5 ci: migrate peripherals ttfw test scripts 2023-04-10 08:46:42 +08:00
Xiao Xufeng
b19b4c8e47 sdio_example: fix meaningless print in host, make shared reg access more readable in slave 2023-04-10 08:46:32 +08:00
Saurabh Kumar Bansal
8cf6325491 Merge branch 'feature/usb_msc_device_driver' into 'master'
usb: modify example according to newly implemented USB MSC Device class driver

Closes IDF-1600

See merge request espressif/esp-idf!22727
2023-04-06 14:30:39 +08:00
morris
b5ccdc911d Merge branch 'feature/i80_lcd_allow_skip_command_phase' into 'master'
i80_lcd: allow skip command phase

Closes IDFGH-9426

See merge request espressif/esp-idf!23042
2023-04-06 12:57:33 +08:00
Fu Hanxi
b932b8eb94 Merge branch 'ci/test_idf-build-apps_0.5.0' into 'master'
ci: Update to `idf-build-apps` 0.5.0

See merge request espressif/esp-idf!22896
2023-04-06 12:23:52 +08:00
Fu Hanxi
21c2cd8616 ci: skip build default app if config rules matched, add missing files 2023-04-06 09:18:58 +08:00
Saurabh Kumar Bansal
55914d0c12 usb: modify example according to newly implemented usbd msc driver 2023-04-04 17:48:20 +00:00
morris
e73d8166aa i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-04-04 08:31:41 +00:00
Tomas Rezucha
2c6d0bae90 usb: Update host CDC examples 2023-04-04 07:47:55 +00:00
laokaiyao
88fe9949ff i2s_es8311: ignore compiling warning temporary 2023-04-04 12:58:05 +08:00
Marius Vikhammer
8cc7b4ffda docs: remove link to NS4150 datasheet 2023-03-29 13:34:39 +08:00
Marius Vikhammer
9297bc2dae Merge branch 'docs/ledc_datasheet' into 'master'
docs: update readme links to ledstrip datasheet

See merge request espressif/esp-idf!22949
2023-03-29 11:21:58 +08:00
Marius Vikhammer
0b316a6731 docs: update readme links to ledstrip datasheet 2023-03-28 15:37:04 +08:00
Marius Vikhammer
2002878eb9 Merge branch 'bugfix/increase_nmea_example_default_stack' into 'master'
uart: increase default stack size for nmea example

Closes IDFGH-9707

See merge request espressif/esp-idf!22911
2023-03-24 12:55:41 +08:00
Marius Vikhammer
c7aab676d4 uart: increase default stack size for nmea example
With the old value of 2048 bytes we are right on the stack border when running on S3.

Closes https://github.com/espressif/esp-idf/issues/11044
2023-03-24 10:49:47 +08:00
Wan Lei
896f046ac2 Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
spi_slave: support spi slave hd append mode on chips other than s2

Closes IDF-2943

See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
morris
2f49cccf9e Merge branch 'contrib/github_pr_10947' into 'master'
Update partitions_example.csv (GitHub PR)

Closes IDFGH-9599

See merge request espressif/esp-idf!22803
2023-03-21 20:25:15 +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
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
laokaiyao
24361f232d ana_cmpr: add an example and test cases 2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8 ana_cmpr: designed driver layer 2023-03-17 11:38:32 +08:00
Song Ruo Jing
79f34fe524 ledc: Support gamma curve fade feature on esp32c6 and esp32h2 2023-03-10 12:42:46 +08:00
franz-ms-muc
510592d86c
Update partitions_example.csv
512K is too small, need to be 528K. see https://github.com/espressif/esp-idf/issues/9084
2023-03-08 18:36:15 +01:00
BOT
d3fa898f80 Update gpio_example_main.c
Add comments to clarify how the bits of GPIO_OUTPUT_PIN_SEL and GPIO_INPUT_PIN_SEL are defined after the OR bit operator

Merges https://github.com/espressif/esp-idf/pull/10733
2023-03-07 11:48:36 +08:00
Cao Sen Miao
3526ff3c6a temperature_sensor: Add temperature monitor interrupt example 2023-03-03 10:40:47 +08:00
morris
d15534c4e2 parlio: add simple rgb led matrix example 2023-03-01 00:43:14 +00:00
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
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
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
Kevin (Lao Kaiyao)
6184af208c Merge branch 'contrib/github_pr_10123' into 'master'
Fix small typos in signal_generator/README.md (GitHub PR)

Closes IDFGH-8678

See merge request espressif/esp-idf!20955
2022-11-07 18:28:37 +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
Steve Lacy
de1b4e0a1b
Fix small typos in signal_generator/README.md
Fix small spelling errors
2022-11-06 21:57:35 -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
laokaiyao
9b8a78153f i2s: refactor soc caps 2022-11-04 12:31:12 +08:00
laokaiyao
2cccf3a804 dac: update API and file format aligning to the rule 2022-11-03 13:04:50 +08:00
Tomas Rezucha
d861fdc947 Merge branch 'feature/move_tinyusb_to_pacman' into 'master'
tinyusb: Use TinyUSB from component registry

See merge request espressif/esp-idf!20677
2022-11-02 17:42:53 +08:00
morris
84be4db4e5 Merge branch 'contrib/github_pr_10087' into 'master'
fixed url to console component (GitHub PR)

Closes IDFGH-8642

See merge request espressif/esp-idf!20896
2022-11-02 16:02:29 +08:00
Tomas Rezucha
94a00bda0f tinyusb: Use TinyUSB from component registry 2022-11-02 08:24:43 +01:00
morris
8d637ec985 doc: redirect console page
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 14:21:57 +08:00