Commit Graph

668 Commits

Author SHA1 Message Date
morris
7c88240e38 feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-02-23 10:29:31 +08:00
morris
2e482b8c80 Merge branch 'bugfix/fix_adc_continuous_pytest_error' into 'release/v5.0'
ADC: fix adc continuous pytest error that only get first digit

See merge request espressif/esp-idf!28031
2023-12-22 19:20:00 +08:00
morris
b823435d78 Merge branch 'fix/usb_host_soc_caps_backport_v5.0' into 'release/v5.0'
USB host soc caps (backport v5.0)

See merge request espressif/esp-idf!27400
2023-12-22 17:15:50 +08:00
gaoxu
a87bc7f31c fix(adc): fix adc continuous pytest get result error 2023-12-21 16:58:29 +08:00
wanlei
4e8de2c105 fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 17:18:00 +08:00
Tomas Rezucha
9cdd6ac5f1 fix(usb/host): Do not abort on string descriptor overflow
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-11-24 16:25:54 +01:00
Darian Leung
ec2ba71f97 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-24 16:21:07 +01:00
morris
28224b3af5 Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)

See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
Song Ruo Jing
c0a1d27858 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/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-22 03:12:38 +00:00
Armando
f8500f77b1 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-07 14:12:50 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
morris
62b7ed25f3 Merge branch 'feature/usb/update_cdc_examples_backport_v5.0' into 'release/v5.0'
usb: Update host CDC examples (backport v5.0)

See merge request espressif/esp-idf!23073
2023-07-28 10:33:59 +08:00
franz-ms-muc
7c5b06e237 Update partitions_example.csv
512K is too small, need to be 528K. see https://github.com/espressif/esp-idf/issues/9084
2023-05-29 14:20:29 +08:00
morris
9d1caf81d3 example: fix led strip memory overwrite before trans done
Closes https://github.com/espressif/esp-idf/issues/11487
2023-05-26 13:28:40 +08:00
morris
6439e0bd85 Merge branch 'feature/i80_lcd_allow_skip_command_phase_v5.0' into 'release/v5.0'
i80_lcd: allow skip command phase (v5.0)

See merge request espressif/esp-idf!23091
2023-05-15 10:41:35 +08:00
morris
641221a10a Merge branch 'bugfix/rmt_one-wire_v5.0' into 'release/v5.0'
rmt_onewire: refactor example with component registry (v5.0)

See merge request espressif/esp-idf!23510
2023-05-15 10:00:15 +08:00
morris
cea9f80870 Merge branch 'bugfix/mcpwm_bldc_example_v5.0' into 'release/v5.0'
mcpwm: test generator force level with dead time module (v5.0)

See merge request espressif/esp-idf!23715
2023-05-14 14:13:02 +08:00
morris
24a2a98707 Merge branch 'bugfix/rmt_encode_state_init_v5.0' into 'release/v5.0'
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t (v5.0)

See merge request espressif/esp-idf!23240
2023-05-12 15:53:22 +08:00
morris
a69a6775c9 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-12 14:40:19 +08:00
Marius Vikhammer
86aead4f80 Merge branch 'docs/readme_i2s_datasheet_v5.0' into 'release/v5.0'
docs: remove link to NS4150 datasheet (v5.0)

See merge request espressif/esp-idf!23107
2023-05-11 14:44:54 +08:00
morris
9d26757763 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-05-11 02:28:54 +00:00
morris
0542983ed8 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-05-11 02:28:31 +00:00
morris
54733abf56 i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-05-11 02:27:49 +00:00
Fu Hanxi
307c454757 ci: add missing sdkconfig files 2023-04-11 10:53:06 +08:00
Marius Vikhammer
0ec457bcbb docs: remove link to NS4150 datasheet 2023-04-07 12:00:14 +08:00
Tomas Rezucha
842e8a9889 usb: Update host CDC examples 2023-04-05 07:54:29 +02:00
Marius Vikhammer
9eea794f8e docs: update readme links to ledstrip datasheet 2023-03-29 10:16:26 +08:00
Marius Vikhammer
b97d2ed15a 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 12:21:22 +08:00
laokaiyao
b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
chli
c3db512280 ledc: move callback to IRAM, it's called from an ISR 2023-03-03 17:21:56 +08:00
Chen Yudong
a62e103109 CI: add example adc tests 2023-03-01 22:40:34 +08:00
Jiang Jiang Jian
d759ee5aea Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
touch: update examples and tests (v5.0)

See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Armando
d101d9c100 esp_adc: update license 2023-02-20 10:34:34 +08:00
Armando
f3ee3b68bf esp_adc: defined an example macro for attenuation 2023-02-20 10:34:34 +08:00
morris
3f68b61f3e Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
mcpwm: support non-vararg version of generator functions (v5.0)

See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
Vilem Zavodny
d3b1ae10d8 Merge branch 'fix/lcd_spi_example_colors_v5.0' into 'release/v5.0'
examples/spi_lcd_touch: Fixed colors on ILI9341 (backport v5.0)

See merge request espressif/esp-idf!22049
2023-02-17 21:21:55 +08:00
Darian
6a86124ff5 Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
USB Host: Backport multiple feature and refactors to v5.0

See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
wangyuanze
9892fb760b touch: move unit tests to test_app 2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c touch: update touch-related code to compile without -Wno-format flag 2023-02-08 12:23:40 +08:00
Tomas Rezucha
80626f17c0 usb: Update TinyUSB version 2023-01-20 09:17:04 +01:00
Vilem Zavodny
4d9d8c5eca examples/spi_lcd_touch: Fixed colors on ILI9341.
(cherry picked from commit 0ea1317983)
2023-01-13 13:42:30 +01:00
Tomas Rezucha
b4f281f523 tinyusb: Add TinyUSB example tests 2023-01-09 17:55:02 +08:00
morris
ae7c8de4a7 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
Armando
bb074904b4 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 12:07:38 +08:00
Armando
1c373cf293 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 12:07:38 +08:00
morris
698fd7abb3 lcd: support multi framebuffers for RGB LCD driver 2022-12-07 17:55:19 +08:00
morris
302ecb0764 Merge branch 'doc/pcnt_overflow_compensate_v5.0' into 'release/v5.0'
pcnt: support accumulate the count value in the high/low limit event (v5.0)

See merge request espressif/esp-idf!21170
2022-12-02 22:42:50 +08:00
laokaiyao
592a51ae96 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
morris
0dbbf7bac5 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
morris
a8ef7570ca Merge branch 'examples/remove_c2_build_disable_yml_v5.0' into 'release/v5.0'
example: remove build disable rules of spi_xxx example for c2 in build-test-rules.yml (v5.0)

See merge request espressif/esp-idf!20594
2022-11-03 10:07:57 +08:00