morris
691780ffa6
Merge branch 'feature/mcpwm_timer_sync' into 'master'
...
mcpwm: add driver option to sync with internal signals
Closes IDFGH-3469
See merge request espressif/esp-idf!9259
2021-09-09 19:05:10 +00:00
SalimTerryLi
932d4d13f0
MCPWM/sync: expose API for configuring timer sync
...
removed example: mcpwm_basic_config
Closes https://github.com/espressif/esp-idf/issues/5429
Co-authored-by: wubowen <wubowen@espressif.com>
2021-09-09 17:33:37 +08:00
SalimTerryLi
e3ac4d806e
example/spi_master: bring back lcd example and clean up
...
partially revert ac069bfca1
2021-09-09 10:51:12 +08:00
Michael (XIAO Xufeng)
db33e957b8
Merge branch 'bugfix/gpio_example_config_struct_zero_init' into 'master'
...
example: fixed the issue that config struct is not properly initialized
See merge request espressif/esp-idf!15007
2021-09-02 12:59:55 +00:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
...
remove external tjpgd library inside example
enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
Michael (XIAO Xufeng)
b910724ea9
example: fixed the issue that config struct is not properly initialized
2021-08-30 22:59:36 +08:00
Michael (XIAO Xufeng)
375145ecdb
Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
...
mcpwm: bldc hall example
Closes IDF-3648
See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
SalimTerryLi
6c272d6515
bugfix: hc-sr04 example: init queue before setup ISR
...
Closes https://github.com/espressif/esp-idf/issues/7419
2021-08-25 16:35:08 +08:00
morris
0dbe872542
mcpwm: bldc hall example
2021-08-24 15:38:46 +08:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
f0fab687ad
pid_ctrl: abstract into example common component
2021-08-10 15:32:06 +08:00
laokaiyao
b6c5a6ee8b
mcpwm: DC motor PID control example
2021-08-10 15:31:45 +08:00
morris
768af636a6
mcpwm: updated brushed dc example
2021-08-10 10:42:12 +08:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Omar Chebib
779e7400b0
uart: uart_set_pin function will now use IOMUX whenever possible
...
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
laokaiyao
f7f8c9c11f
driver/i2s: support i2s on c3 and s3
...
1. Support i2s on esp32c3 and esp32s3
2. Refactor i2s_config_t to avoid breaking change
2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4
driver: support I2S on ESP32-S3 & ESP32-C3
...
1. refactor I2S driver.
2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Michael (XIAO Xufeng)
f26006a3bc
Merge branch 'feature/ledc_fade_callback' into 'master'
...
ledc: Add a callback for LEDC fade end
Closes IDF-2475 and IDF-3222
See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00
Armando (Dou Yiwen)
f5266c1066
Merge branch 'feature/support_spi_example_on_s3' into 'master'
...
spi: support spi example on s3
See merge request espressif/esp-idf!14517
2021-07-30 03:51:26 +00:00
Armando
6aef940cde
spi: support spi example on s3
2021-07-30 10:14:16 +08:00
Marius Vikhammer
172ce2881e
docs: update readme link to not use parentheses
...
CI script for checking links failed to parse link to due to parentheses.
Bypass issue by encoding the symbol instead.
2021-07-30 09:19:04 +08:00
morris
f907009056
Merge branch 'refactor/cleanup_mcpwm_examples' into 'master'
...
mcpwm: more clean up (example + LL + doc)
Closes IDF-3295
See merge request espressif/esp-idf!12798
2021-07-29 10:41:07 +00:00
songruojing
9d098cc9bd
ledc: Add a callback for LEDC fade end
...
This commit adds a feature where users can register a callback that is
called when an LEDC fade completes.
2021-07-29 17:56:22 +08:00
Armando (Dou Yiwen)
3c3e802048
Merge branch 'feature/essp_spi_driver' into 'master'
...
spi: essl spi driver and spi_slv_hd append mode example
Closes IDF-1698, IDF-2279, and IDF-2932
See merge request espressif/esp-idf!12104
2021-07-29 09:53:10 +00:00
Michael (XIAO Xufeng)
5569dedd7f
Merge branch 'bugfix/i2c_example_esp32s3' into 'master'
...
i2c: bringup on ESP32-S3
Closes IDF-3232 and IDF-3292
See merge request espressif/esp-idf!13985
2021-07-29 07:01:38 +00:00
Armando
b320945908
spi_slave_hd: add append mode example
2021-07-28 18:36:13 +08:00
Marius Vikhammer
49eb42928a
docs: fix broken link in usb example readme
2021-07-28 12:44:40 +08:00
Michael (XIAO Xufeng)
18bee2380a
Merge branch 'refactor/usb_device_driver' into 'master'
...
tiny_usb: support on esp32-s3
Closes IDF-3234
See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
suda-morris
039cb93787
mcpwm: update bldc example
2021-07-26 22:32:45 +08:00
morris
251afb4a79
mcpwm: update servo control example
2021-07-26 22:32:45 +08:00
Marius Vikhammer
a29a6ceef0
uart: update register headers and examples for S3
2021-07-22 12:05:49 +08:00
morris
81448dcae8
tiny_usb: rename Kconfig name
...
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
Omar Chebib
b8c6c5334f
i2c: modify examples to work out of the box on ESP32S3
...
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +08:00
SalimTerryLi
9302b28b73
bugfix by disabling IRAM attr on ISR
2021-07-20 19:39:27 +08:00
Marius Vikhammer
201d6da0b0
Merge branch 'feature/simple_i2c_ex' into 'master'
...
i2c: add simple example
See merge request espressif/esp-idf!8487
2021-07-19 03:48:10 +00:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Marius Vikhammer
eee4cd18f8
i2c: add a simple i2c sensor communication example
2021-07-13 16:31:38 +08:00
morris
8887897f54
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
...
driver/timer: fixed auto reload problem in default isr callback
Closes IDFGH-5229
See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Angus Gratton
c2c0e4de3b
Merge branch 'feature/s3_wdt_bringup' into 'master'
...
TIMG and WDT bringup for S3
Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274
See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
morris
3037581745
Merge branch 'refactor/simplify_lcd_example' into 'master'
...
lcd: simplify lcd example
Closes IDF-3009 and IDF-354
See merge request espressif/esp-idf!13823
2021-07-08 08:50:34 +00:00
morris
3b821b8ac3
Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
...
bugfix: rotary encoder example isr service install
Closes IDFGH-5105
See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
bizhuangyang
ac069bfca1
lcd: simplify lcd example
...
Move the lcd example files out of the folder spi_master, and refactor
the codes with esp_lcd driver. Add image rotation function to the
example.
2021-07-07 17:14:09 +08:00
morris
5ad0dc5041
Merge branch 'bugfix/MCPWM_input_capture_example' into 'master'
...
MCPWM basic example: fix bugs in MCPWM basic example
Closes IDFGH-5148
See merge request espressif/esp-idf!13329
2021-07-07 02:32:38 +00:00
Marius Vikhammer
71c1da8952
timer group: add timer group and WDT support for ESP32S3
...
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
Michael (XIAO Xufeng)
c6716dcb39
Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
...
USB_serial_jtag controller: Add driver for supporting VFS on esp32c3(blocking implementation)
Closes IDF-3066 and IDF-3019
See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
bizhuangyang
1829783886
bugfix:rotary encoder example isr service install
...
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.
Closes https://github.com/espressif/esp-idf/issues/6889
2021-06-30 18:44:02 +08:00
laokaiyao
1138be502e
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
laokaiyao
6df89fa042
example/mcpwm_basic_config: fix bugs in MCPWM basic example
...
Closes https://github.com/espressif/esp-idf/issues/6926
2021-06-25 12:25:52 +08:00
bizhuangyang
21311ece58
twai:modify default gpios in esp32s3
...
GPIO 20 is used for USB JTAG in esp32s3. So change the default gpios for
twai in twai examples so that twai can be used without disturbing JTAG.
2021-06-21 14:02:14 +08:00
Michael (XIAO Xufeng)
591e4c4b31
sdio_slave: allow getting end of frame information
2021-06-17 09:40:08 +08:00
Ivan Grokhotkov
228fc04646
Merge branch 'example/ledc_pwm_basic' into 'master'
...
Example: Added LEDC basic PWM example
Closes DO-70
See merge request espressif/esp-idf!13114
2021-06-15 11:12:46 +00:00
Omar Chebib
b911951cad
console: fix a bug preventing us from starting a CLI on non-default UART
...
It is now possible to start a REPL CLI on another UART than the default
one.
Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Michael (XIAO Xufeng)
a49f48a72b
Merge branch 'bugfixed/i2ctools_example' into 'master'
...
i2c_tools: support i2ctools example on all chips
See merge request espressif/esp-idf!13246
2021-05-26 08:02:34 +00:00
Aditya Patwardhan
1abdfee3b7
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
Michael (XIAO Xufeng)
5ee7a58a7d
Merge branch 'bugfix/spi_example_gdma' into 'master'
...
spi: update examples to use the new GDMA driver
See merge request espressif/esp-idf!13150
2021-05-17 03:03:24 +00:00
Marius Vikhammer
4de9cbcf0f
spi: update examples to use the new GDMA driver
2021-05-13 14:01:05 +08:00
laokaiyao
48c848a895
driver/ledc: support invert channel output
2021-05-11 11:54:16 +08:00
pedro.minatel
a6798eac98
Added LEDC basic PWM example
...
Changes on the ledc_init function
Review on the README, docs and example functions
Added how to set freq and duty on README
Fix on the ledc.rst docs in the App Example
Added new example reference in the Chinese docs
2021-04-28 11:11:07 +01:00
Michael (XIAO Xufeng)
0adc6fa17d
Merge branch 'example/i2s_sound_record' into 'master'
...
Added I2S example for microphone recording to WAV file and I2S examples folder moved
See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
pedro.minatel
86fa666343
Added I2S example for microphone recording to WAV file and I2S examples folder moved
...
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01:00
Michael (XIAO Xufeng)
5997fcd45d
Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
...
adc: update esp32c3 programming guide
Closes IDF-2333
See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
laokaiyao
5b5dc4c8ca
examples/i2c_tools: fixed the build error of i2ctools example on esp32c3
2021-04-23 10:31:24 +08:00
Armando
6930d6aa1e
spi_slave_hd: add segment mode example
2021-04-22 19:24:59 +08:00
Armando
3177130256
adc: add adc programming guide on c3
2021-04-21 10:40:55 +08:00
Michael (XIAO Xufeng)
cb179fe105
Merge branch 'doc/update_i2c_on_esp32c3' into 'master'
...
i2c: update api reference and example pin definition
Closes IDF-2746 and IDF-2336
See merge request espressif/esp-idf!12407
2021-04-11 17:57:30 +00:00
pedro.minatel
da471dfcd1
Examples README's updated on peripherals, system and wifi
...
Updated main examples README to add missing examples folders and Getting Started links
Updated wifi/fastscan example README
Updated wifi examples README
Updated wifi main examples README
Added instructions and removed obviousness from examples README
Updates on example README in peripherals, system and wifi
Updates on example README in peripherals and added wave form pictures on wave_gen example
Updates and review on example README
Revision on unit style convention
Added the getting started link for each supported version
Readme review and recommended enhancements
Added the default note on the wave form option info
Added the ESP32-C3 support information on the temperature sensor example README
Added Getting Started information for ESP32-S2 and ESP32-C3
Issue fixed on the supported target on README
Resolved merge conflict
2021-04-07 14:24:38 +00:00
Cao Sen Miao
372584d1de
i2c: update api reference and example pin defination
2021-04-06 13:47:02 +08:00
Krzysztof Budzynski
d25d3789e9
Merge branch 'doc/update_dead_url_links_to_iot_solution_repo' into 'master'
...
fix dead links directed to ESP-IoT-Solution repo
Closes DOC-1101 and IDFCI-472
See merge request espressif/esp-idf!12535
2021-03-26 14:23:06 +00:00
Hao Ning
80da446be7
fix dead links directed to iot solution repo
...
resolve confilcts
modify a board name
rebase master
fix ota example link in readme
2021-03-26 15:19:10 +08:00
Armando
37e3b79b89
adc: rename adc examples according to hw feature and usage
2021-03-26 12:04:46 +08:00
Armando
0030179642
adc: rename adc related examples
2021-03-26 12:04:46 +08:00
morris
089801cd7f
timer_group: added example test
2021-03-16 17:56:37 +08:00
morris
fcbde13755
timer_group: using isr callback in example
2021-03-16 17:56:37 +08:00
Kang Zuo Ling
022bf82e01
touch_element: fix event callback parameter type, change it into pointer
2021-03-03 15:53:12 +08:00
Kang Zuoling
cd8e874c8d
touch_element: add touch element lib example
2021-02-28 17:33:50 +08:00
Cao Sen Miao
85855ad8a6
temp_sensor: add calibration for esp32c3
2021-02-23 10:48:17 +08:00
Michael (XIAO Xufeng)
f5f6c59e63
Merge branch 'feature/apply_gdma_new_channel_api_to_adc' into 'master'
...
adc: apply gdma new channel api to adc
Closes IDF-2500
See merge request espressif/esp-idf!12008
2021-02-19 13:07:32 +00:00
Angus Gratton
5b5431a5f0
Merge branch 'feature/new_blink_example' into 'master'
...
new blink example
See merge request espressif/esp-idf!12238
2021-02-15 22:47:47 +00:00
pedro.minatel
cccdb3e4aa
Get started example update for addressable LED compatibility.
...
Added the RMT/addr LED blink to the example and more detailed README.md
Moved component/led_strip to common_components
Added missing README file to common_components/led_strip
README file update
Makefile and Kconfig fixed for led_strip component
Fixing end-of-line on main/blink.c
Component updated to handle multiple instances
Added note on the RMT channel number (ESP32 and ESP32-S2)
Removed components folder from rmt/led_strip example and README updated
Changed the led_strip_denit function and added ESP32-C3 RMT info on channel configuration
Updates on README, Kconfig default settings and configure_led() function added
2021-02-15 12:34:55 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Armando
5427c18781
adc: apply gdma api to adc on esp32c3
2021-02-08 11:41:21 +08:00
Michael (XIAO Xufeng)
9ff04b2e79
Merge branch 'feature/musical_buzzer' into 'master'
...
RMT example: musical buzzer
See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Armando
02600309c8
adc: fix some regression issues
2021-01-25 04:51:40 +00:00
Armando
2b737c1927
adc: fix adc invalid data issue by update adc_reset
2021-01-25 04:51:40 +00:00
Armando
4793bb3267
adc: update adc_dma example README.md
2021-01-25 04:51:40 +00:00
Marius Vikhammer
3fd37d0b59
adc: change the way data is formattted in adc_dma_demo
...
The way the adc_dma_demo data was formatted caused it go get parsed as markdown syntax.
Changed it be more "human" readable as well as put all ADC examples in a common folder
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
2021-01-25 04:51:40 +00:00
Armando
b38f4646de
adc_digi: add dma drivers
2021-01-25 04:51:40 +00:00
morris
1969313b6f
rmt: add musical buzzer example
2021-01-14 21:32:49 +08:00
Marius Vikhammer
0713e93b8f
TWAI: bringup for S3 and C3
2021-01-14 20:30:31 +08:00
Andrei Gramakov
1d1896d409
tinyusb: Add fix for tinyusb reading
...
Closes IDF-2029
2021-01-08 14:21:26 +00:00
morris
138c1e278f
ir_protocol: fix ir example timeout issue
...
More detail see https://esp32.com/viewtopic.php?f=25&t=18204
2020-12-14 12:03:53 +08:00
Darian Leung
9b34f1c49c
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:17:44 +08:00
Angus Gratton
5228d9f9ce
esp32c3: Apply one-liner/small changes for ESP32-C3
2020-12-01 10:58:50 +11:00