Commit Graph

825 Commits

Author SHA1 Message Date
Peter Marcisovsky
e87bb08216 feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-03-01 10:15:02 +01:00
morris
37e0e8ab53 Merge branch 'bugfix/soft_uart_send_dummy_byte_v5.1' into 'release/v5.1'
fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine (backport v5.1)

See merge request espressif/esp-idf!28687
2024-02-28 11:43:38 +08:00
Omar Chebib
6519b60c47 fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine
Let the user application decide for when to send the dummy byte instead of
hardcoding it from the assembly routine.
2024-02-26 11:42:03 +08:00
morris
dcf0d5b67c 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-01-30 17:03:54 +08:00
wanlei
94fb5232ce fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 17:17:36 +08:00
Tomas Rezucha
609628e139 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-28 22:00:54 +01:00
Darian Leung
411405355d 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-28 22:00:30 +01:00
Song Ruo Jing
03299962f6 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-17 12:38:32 +08:00
Armando
6de9757a4b 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:09:21 +08:00
Planck (Lu Zeyu)
9d535c05f7 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 16:59:13 +08:00
morris
fed2e21594 Merge branch 'feature/usb/host/hid_example_update_v5.1' into 'release/v5.1'
USB Host (HID): HID Host example update (backport v5.1)

See merge request espressif/esp-idf!24532
2023-07-10 13:31:53 +08:00
laokaiyao
e90a2d50c4 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-07-05 12:48:11 +08:00
Roman Leonov
163f0721dd feat(usb): update HID Host example 2023-07-05 00:52:13 +00:00
Jiang Jiang Jian
b0717c6852 Merge branch 'feature/enable_sleep_reject_for_deep_sleep_v5.1' into 'release/v5.1'
sleep: enable sleep reject when entering deepsleep (backport v5.1)

See merge request espressif/esp-idf!24440
2023-07-04 12:16:11 +08:00
laokaiyao
bac32e9c43 feat(example): bump up version of es8311 lvgl in the example 2023-07-03 16:33:42 +08:00
wuzhenghui
981701755d ci: fix failed ci test jobs 2023-06-28 13:55:26 +08:00
morris
1a68d8ddd5 example: fix led strip memory overwrite before trans done
Closes https://github.com/espressif/esp-idf/issues/11487
2023-05-26 13:28:31 +08:00
morris
b7199e88b7 Merge branch 'bugfix/mcpwm_bldc_example_v5.1' into 'release/v5.1'
mcpwm: test generator force level with dead time module (v5.1)

See merge request espressif/esp-idf!23714
2023-05-15 10:00:00 +08:00
morris
6cfc6f53be Merge branch 'bugfix/enable_i_pdm_example_pytest_on_h2_v5.1' into 'release/v5.1'
i2s_pdm: enable example pytest on h2 (v5.1)

See merge request espressif/esp-idf!23642
2023-05-12 16:47:25 +08:00
morris
a7021c3e44 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:10 +08:00
Fu Hanxi
f4c5fdbd1a Merge branch 'ci/migrate_peripherals_examples_v5.1' into 'release/v5.1'
ci: migrate peripherals ttfw test scripts (v5.1)

See merge request espressif/esp-idf!23403
2023-05-10 10:25:40 +08:00
laokaiyao
27f044bd7f i2s_pdm: enable example pytest on h2 (v5.1) 2023-05-09 17:30:40 +08:00
morris
2004bf4e11 Merge branch 'bugfix/rmt_one-wire_v5.1' into 'release/v5.1'
rmt_onewire: refactor example with component registry (v5.1)

See merge request espressif/esp-idf!23509
2023-05-04 13:32:18 +08:00
Fu Hanxi
1c1c6d59b3 ci: migrate peripherals ttfw test scripts 2023-05-04 11:21:29 +08:00
Xiao Xufeng
f2d144166a sdio_example: fix meaningless print in host, make shared reg access more readable in slave 2023-05-04 11:21:10 +08:00
morris
14dac35540 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-28 13:38:33 +08:00
Song Ruo Jing
202b18b5fa esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h 2023-04-27 11:11:18 +00:00
Marius Vikhammer
deedc51cf1 Merge branch 'ci/chip_support_network_invalid_kconfig_v5.1' into 'release/v5.1'
ci: remove redundent ci configs for chip support and network components (v5.1)

See merge request espressif/esp-idf!23471
2023-04-27 11:10:54 +08:00
laokaiyao
87328d594f esp32h4: checked all the corner stuffs of the removal 2023-04-26 18:53:12 +08:00
laokaiyao
954a6a2cff esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
laokaiyao
8f24b34f21 esp32h4: remove esp32h4 target from ci 2023-04-26 18:53:12 +08:00
laokaiyao
804a9ea1f6 esp32h4: remove esp32h4 target from peripherals 2023-04-26 18:53:10 +08:00
Marius Vikhammer
4c3c6b7f99 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 17:29:51 +08:00
Armando
e23ce8209d fix adc_continuous example pytest potential failure 2023-04-25 12:26:34 +08:00
morris
b5572b1db0 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 21:28:45 +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