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
morris
51527b302a
Merge branch 'contrib/github_pr_10083' into 'master'
...
temperature_sensor: fix typo (github PR)
Closes IDFGH-8638
See merge request espressif/esp-idf!20887
2022-11-01 23:34:26 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Jonas Vanthornhout
d679ab3903
Fixed typo
2022-10-31 17:31:40 +01:00
morris
43d99f8364
twai: migrate example test to pytest
2022-10-31 21:44:08 +08:00
laokaiyao
52e1e95c57
es7210: use managed component
2022-10-28 11:37:37 +08:00
morris
a0e8c4692a
pcnt: rotary encoder wake up system from light sleep example
2022-10-26 15:48:29 +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
wanlei
7a91b77329
examples: support spi master examples on esp32cxx
2022-10-21 10:43:20 +08:00
wanlei
eee7b4cbfc
example: remove build disable rules of spi_xxx example for c2 in build-test-rules.yml
2022-10-21 10:43:20 +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
Martin Vychodil
ba0eb09895
Merge branch 'fix/usb_midi_tinyusb_refactor' into 'master'
...
usb: Refactor USB MIDI example
Closes IDF-5690
See merge request espressif/esp-idf!19399
2022-10-19 16:27:53 +08:00
Adam Múdry
169d746c49
usb: Refactor USB MIDI example
2022-10-18 15:09:09 +02:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +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
Armando
05e232ca98
esp_adc: defined an example macro for attenuation
2022-10-13 21:03:51 +08:00
aleks
7903952281
examples: fix the RS485 line driver in the readme
...
Closes https://github.com/espressif/esp-idf/issues/8132
2022-10-10 09:31:39 +02:00
Michael (XIAO Xufeng)
5d67d1d85b
example: fixed spi_slave_hd and sdio hosts should pull essl package of compatible versions
2022-09-29 02:20:36 +08:00
Michael (XIAO Xufeng)
03d8059fa5
Merge branch 'feat/essl_extra_component' into 'master'
...
essl: move from esp-idf component to extra component
See merge request espressif/esp-idf!20221
2022-09-26 18:29:07 +08:00
Michael (XIAO Xufeng)
f21f0ac3a6
sdio/example: fixed the essl return type issue
2022-09-26 12:26:55 +08:00
Michael (XIAO Xufeng)
02a9de904a
essl: move from esp-idf component to extra component
2022-09-26 12:26:55 +08:00
laokaiyao
179bda52be
i2s_example: fixed i2s_adc_dac output gap
...
Closes: https://github.com/espressif/esp-idf/issues/9389
2022-09-26 11:40:24 +08:00
Omar Chebib
dd7fde8799
Merge branch 'contrib/github_pr_9095' into 'master'
...
Update uart_events_example_main.c (GitHub PR)
Closes IDFGH-7532
See merge request espressif/esp-idf!18391
2022-09-21 19:51:37 +08:00
Vilem Zavodny
d7423ae38e
Fixed first character in LVGL OLED example.
2022-09-20 15:04:26 +02:00
morris
b562754a2f
rmt: support esp32c6
2022-09-17 04:56:49 +00:00
laokaiyao
bae4944b90
i2s: bringup i2s on esp32c6
2022-09-15 20:03:39 +08:00
ajit1433
39e0d72c05
Update uart_events_example_main.c
...
Spelling correction
2022-09-15 07:00:00 +00:00
morris
7760053138
gptimer: incerase example test threshold
2022-09-14 14:40:28 +00:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Simon
c6610ec4c2
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s' into 'master'
...
i2s: fix the duplicated type name in i2s
Closes IDF-5891
See merge request espressif/esp-idf!19960
2022-09-07 10:53:28 +08:00
Martin Válik
f1611841a3
Merge branch 'feature/usb_host_uvc_component' into 'master'
...
USB host UVC example
See merge request espressif/esp-idf!19397
2022-09-06 20:30:11 +08:00
laokaiyao
3bdcf2edf5
i2s: add notes for the read task of i2s basic examples
2022-09-06 10:29:30 +08:00
Tomas Rezucha
fac9579d95
usb_host: Use MSC driver from component registry
2022-09-05 20:14:57 +02:00
Tomas Rezucha
d95ba21328
usb_host: Use CDC driver from component registry
2022-09-05 20:14:56 +02:00
Song Ruo Jing
06b517efcb
ci: Modify build-test-rules.yml enable' to
disable` to exclude preview targets
2022-09-01 12:38:00 +08:00
Martin Valik
3bcd9ceefe
USB: Add usb uvc example
...
Closes https://github.com/espressif/esp-idf/issues/6493
2022-08-29 10:44:39 +02:00
david zuhn
0c84879b74
correct spelling of detect
2022-08-28 22:06:32 -05:00
wangyuanze
763b472958
example: update format string in touch related examples
2022-08-24 12:10:59 +08:00
Wang Yuan Ze
dac24d5ea4
Merge branch 'example/i2s_es7210_tdm_record' into 'master'
...
example: add es7210 4-ch tdm i2s record example
Closes IDF-5774 and IDF-5852
See merge request espressif/esp-idf!19593
2022-08-24 10:56:58 +08:00
wangyuanze
f48b647ad5
example: add es7210 4-ch tdm i2s record example
2022-08-23 17:53:59 +08:00
wangyuanze
be3792ea45
example: extract wav-format related struct
2022-08-23 16:46:31 +08:00
Armando
5e31d4bb2b
esp_adc: add adc ulp mode disable enum
...
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.
After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
morris
5b48a33ad5
Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
...
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples
Closes IDF-5652
See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
Vilem Zavodny
2153a583ee
examples/tjpgd: Use esp_jpeg component in tjpgd example.
2022-08-17 14:42:10 +02:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
morris
104b9c3fb1
Merge branch 'feature/introduce_lcd_color_space_enum' into 'master'
...
lcd: deprecate esp_lcd_color_space_t
See merge request espressif/esp-idf!19576
2022-08-17 14:19:12 +08:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
morris
bc372f8f55
rgb_lcd: deprecate esp_lcd_color_space_t
2022-08-16 14:35:08 +08:00
morris
6261eae50c
bdc_motor: component moved to registry
2022-08-15 14:46:56 +08:00
morris
1d4c08cef4
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
Roland Dobai
8c10a14782
Merge branch 'refactor/remove_dependency_on_future' into 'master'
...
Remove the dependency on the future package
See merge request espressif/esp-idf!18925
2022-08-12 21:38:35 +08:00
Mahavir Jain
7c28b44950
examples/secure_element: add component manifest file for cryptoauthlib
2022-08-12 11:24:03 +05:30
Mahavir Jain
203830e12b
esp-cryptoautlib: remove submodule and use from IDF component manager
2022-08-12 11:24:02 +05:30
Tomas Rezucha
71566c4d7e
Merge branch 'feature/usb_device/pytests' into 'master'
...
tinyusb: Add TinyUSB example tests
See merge request espressif/esp-idf!19194
2022-08-11 17:17:34 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Tomas Rezucha
d777b790d0
tinyusb: Add TinyUSB example tests
2022-08-10 14:51:18 +02:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
laokaiyao
3c4bc80712
i2s: fixed duplicated test case name
2022-08-08 20:35:47 +08:00
wangyuanze
b239b03aa7
touch_element: move unit tests to test_app
2022-08-08 19:12:56 +08:00
morris
d91c8759c0
driver: remove -Wno-format flag
2022-08-08 08:30:09 +00:00
Vilem Zavodny
6e98440ab1
Merge branch 'example/i80_controller_touch' into 'master'
...
Add support touch into LCD example
See merge request espressif/esp-idf!18436
2022-08-04 13:50:08 +08:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Vilem Zavodny
036705fe8f
examples/lcd: Add touch support into i80 lcd example.
2022-08-02 08:11:13 +02:00
morris
7d5eb1fc01
Merge branch 'example/lcd_spi_1' into 'master'
...
Change LCD example gc9a01 to universal SPI LCD example with SPI touch
Closes IDF-5399
See merge request espressif/esp-idf!19221
2022-08-02 08:03:15 +08:00
morris
30639b1093
example: update example_lvgl_demo_ui prototype
2022-08-01 23:02:44 +08:00
Vilem Zavodny
df3e506703
example: LCD and touch panel share the same SPI bus
2022-08-01 23:02:44 +08:00
wangyuanze
59ef1e1928
touch_sensor: add pytest for all examples
2022-08-01 13:16:04 +08:00
wangyuanze
526f8f048b
touch_sensor: enlarge task stack in examples
2022-08-01 13:16:04 +08:00
wangyuanze
0e3bd7592f
touch_sensor: update readme for all examples
2022-08-01 13:16:04 +08:00
wangyuanze
4a617e459a
touch_sensor: make touch_element compile on esp32s3
...
Closes: https://github.com/espressif/esp-idf/issues/9292
2022-08-01 13:16:03 +08:00
Michael (XIAO Xufeng)
198fd08fb3
Merge branch 'contrib/github_pr_7872' into 'master'
...
QA: Check driver installation status (GitHub PR)
Closes IDFGH-6196
See merge request espressif/esp-idf!16630
2022-08-01 09:59:26 +08:00
Tomas Rezucha
5bd6696557
Merge branch 'feature/usb_device/hid' into 'master'
...
usb: Add HID device example
Closes IDFGH-7637, IDFGH-5054, IDF-581, and IDFGH-6013
See merge request espressif/esp-idf!19177
2022-07-27 21:18:50 +08:00
morris
169a43b8eb
example: update MCPWM sync example with new driver API
2022-07-27 15:22:24 +08:00
morris
1557a533fe
example: update servo example with new driver API
2022-07-27 15:22:24 +08:00
morris
6751b229f1
example: update capture example with new driver API
2022-07-27 15:22:24 +08:00
morris
b77446b5c8
example: update bldc example with new driver API
2022-07-27 15:22:24 +08:00
morris
938b3d717f
example: update bdc speed control example with new driver API
2022-07-27 15:22:24 +08:00
Tomas Rezucha
45e8115dc6
usb: Add HID device example
...
Closes https://github.com/espressif/esp-idf/issues/6839
Closes https://github.com/espressif/esp-idf/issues/7700
2022-07-27 05:31:09 +00:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
morris
9a921ada7f
rmt: const callback event data
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
92ea22fe81
i2s: support esp32h2
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
wangyuanze
20afcc96a8
example: add onewire_ds18b20 example
2022-07-20 14:12:43 +00:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
9e532696f4
pcnt: add const qualifier to event data
2022-07-20 14:59:50 +08:00
jiangguangming
e0d9220a6e
example: peripherals/usb: fix typo naming of local variables
2022-07-20 09:36:24 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Hassan DRAGA
5d27d66ddd
QA: Check driver installation status
...
When you have a large project, uart_driver_install() may fail. For QA we should always check the status of the driver first.
2022-07-18 09:25:22 +00:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
Wang Yuan Ze
b666bdb01e
Merge branch 'example/fix_ir_nec_transceiver_issue' into 'master'
...
example: Fix rmt callback memory issue in ir_nec_transceiver
See merge request espressif/esp-idf!19040
2022-07-15 11:39:36 +08:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
wangyuanze
61f19094b0
example: fix rmt callback memory issue in ir_nec_transceiver
2022-07-14 18:59:38 +08:00
morris
28c512b34c
rgb_lcd: update example to support double buffer and bounce buffer
2022-07-14 14:05:47 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
morris
35f755438b
Merge branch 'contrib/github_pr_9311' into 'master'
...
Expand lcd/i80_controller example to support ILI9341 display (GitHub PR)
Closes IDFGH-7775
See merge request espressif/esp-idf!18937
2022-07-08 15:40:33 +08:00
Phillip Burgess
148ce09d97
Define EXAMPLE_LCD_H_RES & V_RES globally, not based on driver
2022-07-07 19:56:30 -07:00
Phillip Burgess
8cd0284284
Remove set_gap() calls from NT35510 and ILI9341
2022-07-07 19:53:34 -07:00
Phillip Burgess
0901277fd8
Expand lcd/i80_controller example to support ILI9341 display
2022-07-07 15:10:02 -07:00
Adam Múdry
0e98905e51
Merge branch 'feature/usb_midi_example' into 'master'
...
usb: Added MIDI example + fixed TinyUSB MIDI config
Closes IDFGH-6921
See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Adam Múdry
2dfaec3106
usb: Added MIDI example + fixed TinyUSB MIDI config
...
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
laokaiyao
d5e55e0563
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
morris
b0fa5c7c2d
Merge branch 'contrib/github_pr_9213' into 'master'
...
Fix out of range in mcpwm example (GitHub PR)
Closes IDFGH-7666
See merge request espressif/esp-idf!18678
2022-06-27 11:02:54 +08:00
Pieter Vandaele
856ab38681
Fix out of range in mcpwm example
...
hall_sensor_value 7 must not be allowed (s_hall_actions array has length 7, index 0 to 6)
2022-06-23 10:57:54 +02:00
Cao Sen Miao
3a820462ac
temperature_sensor: Add temperature sensor support for ESP32-C2
2022-06-23 15:36:43 +08:00
laokaiyao
28b8fc6a7e
i2s: update documents for driver-NG
2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7
i2s: update examples and unit-tests
2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Tomas Rezucha
6ba7b10302
Merge branch 'fix/usb/buffer_sizes' into 'master'
...
usb: TinyUSB buffer sizes
Closes IDFGH-7469
See merge request espressif/esp-idf!18359
2022-06-14 17:23:52 +08:00
morris
8dd26e9e9f
spi_lcd: make tjpgd example runnable on C2
2022-06-14 02:20:47 +00:00
morris
acae3e86dd
Merge branch 'contrib/github_pr_9119' into 'master'
...
Fix the PARALLEL_LINES size of the tjpgd example to ensure that esp32c2 can also be used normally (GitHub PR)
Closes IDFGH-7559 and IDFGH-7549
See merge request espressif/esp-idf!18448
2022-06-10 12:34:55 +08:00
morris
5daa73d236
Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
...
mcpwm: don't support disable carrier one-shot pulse
Closes IDFGH-7406
See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Tomas Rezucha
5d202aa401
usb: Clean-up TinyUSB unnecessary code
2022-06-09 10:56:39 +02:00
dreamcmi
2024ae9434
Fix the PARALLEL_LINES size of the tjpgd example to ensure that esp32c2 can also be used normally
2022-06-08 08:45:32 +08:00
morris
3247335770
mcpwm: don't support disable carrier first pulse
...
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.
Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
morris
17a688749a
timer: disable nano printf for gptimer examples
...
because we need to use %llu to print the timer count value, but nano
printf doesn't known that format
2022-06-02 11:08:59 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Tomas Rezucha
0a511e576e
Merge branch 'feature/remove_extra_components' into 'master'
...
examples: Use components from idf-extra-components repository
See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Tomas Rezucha
4dde197cca
examples: Use components from idf-extra-components repository
2022-05-12 08:37:44 +00:00
Ondrej Kosta
1a20b10fd3
Examples: common source for GPIO range in Kconfigs defined
2022-05-12 09:33:40 +02:00
Martin Valik
be452efd4a
msc example made hot plugable
...
Closes https://github.com/espressif/esp-idf/issues/8386
2022-05-10 18:48:37 +02:00
morris
df5872b3a4
Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-4155
See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
morris
722fde218d
uart: add default source clock for all targets
2022-05-09 11:26:30 +08:00
morris
f472551910
example: added dshot esc example based on new rmt driver
2022-05-07 10:34:50 +00:00
morris
0e19bc1463
example: update stepper motor example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
b3c1480d9c
example: update musical buzzer example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
d537da5bfb
example: update led strip example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
977a2830dd
example: update ir nec example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
5bfe873725
driver: deprecate legacy rmt driver
...
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
morris
3a5fdfe35a
temp_sensor: added enable/disable functions
...
The previous start/stop functions have been rename to enable/disable.
2022-05-06 18:18:39 +08:00
morris
d67888b92b
pcnt: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
e7295c3577
gptimer: added enable/disable functions
2022-05-06 18:18:39 +08:00
laokaiyao
5b3468ebb3
i2c: support i2c on esp32h2
2022-04-23 07:38:25 +00:00
Tomas Rezucha
7fc0c14f4d
usb_host: Add Virtual COM Port CDC example
...
This example implements usual UART/USB convertor driver.
Closes https://github.com/espressif/esp-idf/issues/8645
2022-04-22 09:50:46 +02:00
Tomas Rezucha
880b5a4bef
usb_host: Unify CDC event callbacks
...
And return error code from C++ close method.
2022-04-22 09:50:46 +02:00
Tomas Rezucha
0428efa4ad
usb_host: Propagate new device connection to user
...
Closes https://github.com/espressif/esp-idf/issues/8762
2022-04-22 09:50:39 +02:00
Tomas Rezucha
0ab17ec695
usb_host: Enable custom CDC commands
...
This new API allows further extension for vendor specific commands
2022-04-22 09:50:38 +02:00
morris
de433105a2
lcd: don't turn on disp in init
...
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Armando (Dou Yiwen)
ee034d5b6a
Merge branch 'feature/support_spi_on_h2' into 'master'
...
spi: support spi on h2
Closes IDF-3796 and IDF-4226
See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
Vilem Zavodny
29792561ca
examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example
...
Closes https://github.com/espressif/esp-idf/issues/8652
2022-03-29 08:43:16 +02:00
Armando
fe9c6cde4f
spi: support spi on h2
2022-03-29 11:54:08 +08:00
morris
fe13b2ed50
lcd: add rgb isr iram safe callback test
2022-03-24 21:23:01 +08:00
Tomas Rezucha
7c2cf30109
usb_host: Update MSC test for fatfs 0.14b
2022-03-21 18:34:25 +01:00
Tomas Rezucha
3abeee00d0
usb_host: Pin test task to core 0
...
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
9049230e4a
usb_host: Rename symbols that conflict with TinyUSB
2022-03-21 18:34:25 +01:00
Tomas Rezucha
e3ba980d11
usb_host: Use USB_Host library calls for desc printing
2022-03-21 18:34:25 +01:00
Tomas Rezucha
3074981dcb
usb_host: Update MSC tests for running in CI
2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787
ci: Add USB Host CDC and MSC pytests to pipeline
2022-03-21 18:34:24 +01:00
Tomas Rezucha
7d950a63cc
usb_host: Add Mock device to CDC tests
2022-03-21 18:34:24 +01:00
Tomas Rezucha
913d53384f
usb_host: Update CDC tests for latest USB Host
2022-03-21 18:34:24 +01:00
Tomas Rezucha
f5f865df07
Merge branch 'fix/usb_host/cdc_build' into 'master'
...
usb_host: Don't build CDC host driver for unsupported targets
See merge request espressif/esp-idf!17517
2022-03-18 16:37:38 +08:00
Anton Maklakov
6d13c8b3a6
Merge branch 'bugfix/managed-components-version-refs' into 'master'
...
managed components: fix version references to allow implicit updates
See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Tomas Rezucha
c8fc4d226a
usb_host: Don't build CDC host driver for unsupported targets
2022-03-17 13:10:29 +01:00
morris
f06a13ad82
lcd: workaround auto next frame hardware bug
...
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Anton Maklakov
4c865baae4
managed components: fix version references to allow implicit updates according to semver
...
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
morris
4aa81975d1
Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
...
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Closes IDFGH-6893
See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
laokaiyao
9ebfd7832d
i2c: update legacy name ESP8684 to ESP32C2
2022-03-07 14:59:56 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
morris
d234f2f769
example: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
04b3f8b210
pcnt: deprecated as legacy driver
2022-03-03 22:38:32 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Aditya Patwardhan
1dc63850e3
mbedtls-3.X: Update the esp-cryptoauthlib submodule
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe
Initial Changes for updating mbedtls to v3.0
2022-03-03 01:37:09 +05:30
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00
Adam Múdry
bb8587a139
fatfs: Update to version 0.14b
...
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
morris
dbfde65515
lcd: refactor ut into test app
2022-02-14 18:43:50 +08:00
morris
f8dc675318
lcd: support model NT35510 in example
2022-02-14 18:42:14 +08:00
morris
e5afb4f933
lvgl: upgrade to 8.2.0 in examples
2022-02-14 18:42:14 +08:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
morris
9f893130ad
Merge branch 'feature/lcd_i2c_oled_example' into 'master'
...
lcd: add i2c oled example
See merge request espressif/esp-idf!16506
2022-01-28 04:07:34 +00:00
Martin Valik
68ff1b8c07
Bugfix: omit MSC reset during initialization
2022-01-27 10:03:40 +01:00
Song Ruo Jing
3821a09f83
Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
...
ledc: Bugfixes for issues related to fade protection on ESP32
Closes IDFGH-4918 and IDFGH-5565
See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
songruojing
68e12f7092
ledc: Add ledc_fade_stop API to support stopping the fade operation.
...
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
Fu Hanxi
90f8d27985
ci: use pytest-embedded 0.5.1
2022-01-24 15:55:00 +08:00
Fu Hanxi
ea4673a3a2
ci(pytest): support special markers "supported_targets", "preview_targets", "all_targets"
2022-01-24 15:55:00 +08:00
morris
24e6fdf3c6
lcd: add i2c oled example with lvgl port
2022-01-21 11:21:38 +08:00
morris
821634b24e
lcd: add rgb panel example
2022-01-20 22:09:23 +08:00