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