Commit Graph

672 Commits

Author SHA1 Message Date
Chen Jichang
d7d87813ad fix(PCNT): Add zero input gpio enable flag
The default zero input gpio num is 0. Users need to set it additionally
when not use zero input signal. It may become a breaking change.
Add an enable flag to avoid it.
2023-08-23 12:08:15 +08:00
Chen Jichang
713324ff9d feat(MCPWM): Support set interrupt priority 2023-08-23 10:44:34 +08:00
caixinying-git
b875580e52 docs: provide CN translation for api-reference/peripherals/etm.rst 2023-08-22 11:27:35 +08:00
laokaiyao
a66898ad42 docs(dac): added the explanation to Vref 2023-08-18 15:13:34 +08:00
Chen Ji Chang
b39fd79cb8 Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
feat(MCPWM): Add mcpwm carrier clk source

Closes IDF-8029

See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
Chen Jichang
97d5db32ae feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-15 13:04:11 +08:00
Chen Jichang
eede3796c7 feat(pcnt): support set interrupt priority 2023-08-14 17:52:38 +08:00
morris
26f438cf89 Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add support for ESP32P4

Closes IDF-6509

See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
morris
84f9e5e8e5 Merge branch 'feature/esp32p4_pcnt_support' into 'master'
feat(pcnt): add support for ESP32P4

Closes IDF-7475

See merge request espressif/esp-idf!25149
2023-08-10 18:52:23 +08:00
Song Ruo Jing
be9afeac86 feat(gpio): add support for ESP32P4 2023-08-10 17:58:49 +08:00
Zhang Xiao Yan
948a8aa66c Merge branch 'docs/update_term_1/4-line_in_sdmmc_host' into 'master'
update the term 1/4-line to 1-line or 4-line

See merge request espressif/esp-idf!25220
2023-08-09 14:57:42 +08:00
Zhang Xiao Yan
078d9a9a0b Merge branch 'docs/add_how_to_add_component_command_to_usb_device' into 'master'
docs: add a command about how to add the tinyusb component as a dependency

See merge request espressif/esp-idf!25260
2023-08-09 14:56:31 +08:00
Chen Jichang
3fed3cf50e feat(pcnt): add support for ESP32P4 2023-08-09 14:41:22 +08:00
Linda
54a99df775 docs: add a command about how to add the tinyusb component as a dependency 2023-08-08 16:21:33 +08:00
morris
a662ec0a8d fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
Linda
6ea12fec18 update the term 1/4-line to 1-line or 4-line 2023-08-04 18:12:20 +08:00
morris
c32cabc7f8 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
morris
4478c13ea4 Merge branch 'docs_add_Chinese_translation_for_api-reference_peripherals/sdm.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/sdm.rst

Closes DOC-5813

See merge request espressif/esp-idf!24986
2023-07-31 11:39:50 +08:00
caixinying-git
0ae5e9afcd docs: provide CN translation for api-reference/peripherals/sdm.rst 2023-07-28 11:26:15 +08:00
daiziyan
1037135761 docs: provided translation for storage.rst and system.rst and updated a typo for memory-types.rst 2023-07-27 16:24:29 +08:00
morris
ed36b91517 Merge branch 'feature/mcpwm_trigger_driver' into 'master'
feature(MCPWM): Add MCPWM trigger driver

Closes IDF-3613

See merge request espressif/esp-idf!24829
2023-07-25 18:50:57 +08:00
Chen Jichang
5ab755915b feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-07-25 14:44:41 +08:00
morris
b589355a10 feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 11:32:35 +08:00
Wan Lei
3af7e00b90 Merge branch 'fix/update_doc_for_spi_slave_hd_protocol' into 'master'
fix(all): update documentaion for spi slave hd protocols

See merge request espressif/esp-idf!24630
2023-07-07 12:15:56 +08:00
wanlei
45d4d919f4 fix(all): update documentaion for spi slave hd protocols 2023-07-06 19:17:38 +08:00
caixinying-git
386d408868 docs: Provide CN translation for api-reference/protocols/esp_tls.rst and update both EN and CN texts for api-reference/error-codes.rst 2023-07-06 18:50:44 +08:00
Wang Fang
6ae9acb345 docs: fixed formatting issues in spi_flash_concurrency document 2023-07-06 11:15:31 +08:00
Chen Jichang
3f0b46da54 docs(rmt): add a note about binding channels to the same GPIO
Added a note about RX Channel and TX Channel initialization order when
bound RX and TX to the same gpio.

Closes https://github.com/espressif/esp-idf/issues/11768
2023-07-03 17:11:22 +08:00
caixinying-git
a6c7b52dd6 docs: provide CN translation for api-reference/peripherals/rmt.rst 2023-06-30 18:40:24 +08:00
Armando
961c57a0da docs(spi_flash): Add auto-suspend description in idf_vs_rom doc 2023-06-27 11:01:06 +08:00
morris
35d0835508 rgb_lcd: restart when dma eof interrupt is delayed 2023-06-19 13:22:46 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
Wang Fang
9549dfc399 Merge branch 'docs/update_documentation_for_spi_driver' into 'master'
docs: update the description for general purpose spi

Closes DOC-5186

See merge request espressif/esp-idf!23920
2023-06-12 10:54:25 +08:00
morris
630b1b079e drivers: fix issue reported by coverity 2023-06-06 14:16:09 +08:00
Wang Fang
ed63cbe9cd docs: update the description for general purpose spi 2023-06-02 10:45:44 +08:00
Armando (Dou Yiwen)
103332274e Merge branch 'feature/adc_continuous_new_data_replace_old_data' into 'master'
adc: added a flag to replace internal pool data with newest data, when pool is full

Closes IDF-7395

See merge request espressif/esp-idf!23744
2023-06-01 14:26:39 +08:00
Marius Vikhammer
bb5ea35f01 Merge branch 'docs/c6_misc_updates' into 'master'
docs: updated misc C6 programming guide docs with minor changes.

See merge request espressif/esp-idf!23962
2023-05-31 14:45:13 +08:00
Marius Vikhammer
3da38a603a docs: updated misc C6 programming guide docs with minor changes. 2023-05-31 11:17:24 +08:00
Armando
c68e4bbb6f adc: added a flag to replace internal pool data with newest data, when pool is full 2023-05-31 10:55:01 +08:00
morris
1703a0a5e9 doc: explain why RMT encoder may result in more data transmitting
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
wanlei
e42501d20f adc: add programing guide for digi monitor 2023-05-24 18:09:06 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Cao Sen Miao
15153b5598 spi_flash: Update documents for flash-suspend 2023-05-11 20:12:22 +08:00
Kevin (Lao Kaiyao)
9ee4c48f54 Merge branch 'bugfix/fix_several_bugs_in_i2s' into 'master'
i2s: fix several bugs in std and tdm mode

Closes IDF-7288

See merge request espressif/esp-idf!23465
2023-05-10 11:39:51 +08:00
laokaiyao
82159fa135 i2s_doc: fixed the data of stereo left/right state 2023-05-09 17:53:46 +08:00
morris
72d0f5b35b mcpwm: can't apply the same delay module to multiple generators
This is a hardware limitation, one delay module can only be used by one generator at one time.

Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
morris
38fcfbedba lcd: add doc about adding manufacture specific initialization code
Closes https://github.com/espressif/esp-idf/issues/11316
2023-05-09 11:03:56 +08:00
Mo Fei Fei
87d5573094 Docs: fix descriptions in i2s.rst 2023-05-08 19:11:13 +08:00
Mo Fei Fei
850ef76981 docs: add cn trans i2s.rst 2023-05-08 14:25:19 +08:00
Wang Fang
0bfffa0160 Merge branch 'docs/add_more_information_about_c3_gpio0_gpio5' into 'master'
Add more information about which GPIOs of ESP32-C3/ESP32-C2/ESP32-H2 can wake up the chip from Deep-sleep mode

Closes DOC-4899

See merge request espressif/esp-idf!23279
2023-05-05 12:56:21 +08:00
Wang Fang
719b75da9b docs: provide more information about ESP32-C3 GPIO0~GPIO5 which can be used to wake up the chip from Deep-sleep mode 2023-05-05 11:04:02 +08:00
Shang Zhou
f53dbc7f7a docs: translate api-reference/peripherals.mcpwm.rst and library-and-framework index from scratch 2023-05-04 15:45:15 +08:00
Marius Vikhammer
98579b5316 docs: update link to rmt onewire example 2023-04-28 13:25:46 +08:00
caixinying-git
05fe748c1e docs: provide Chinese translation for api-reference/peripherals/spi_master 2023-04-27 12:10:54 +08:00
Zim Kalinowski
4a647d08de Merge branch 'feature/c6_ulp_sleep' into 'master'
ulp: added sleep support for lp core

Closes IDF-7012

See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Song Ruo Jing
e2a5c092f7 Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx

See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Saurabh Kumar Bansal
2fb3681ad2 Merge branch 'feature/usb_composite_device_support' into 'master'
usbd: add usb composite device example

Closes IDFGH-9035

See merge request espressif/esp-idf!23135
2023-04-25 16:34:45 +08:00
Song Ruo Jing
a4e8960ab4 esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h 2023-04-25 14:12:06 +08:00
Marius Vikhammer
359b237cc5 ulp: added sleep support for lp core
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7 Merge branch 'refactor/remove_esp32h4_target' into 'master'
esp32h4: removed esp32h4 target (stage 2)

Closes IDF-7237, IDF-7238, and IDF-7239

See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Wan Lei
06a40598bf Merge branch 'feature/spi_hal_move_out_iram' into 'master'
spi: change linker file to move spi hal out from iram

Closes IDF-7163

See merge request espressif/esp-idf!23036
2023-04-24 10:15:10 +08:00
laokaiyao
49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
wanlei
15e8c04f7b spi: change linker file let spi hal able to out from iram 2023-04-21 18:58:36 +08:00
Song Ruo Jing
64aec54308 ledc: Add timer selection check to the driver, and leave space for future clk tree management 2023-04-21 16:40:54 +08:00
laokaiyao
1f84f6c6ed esp32h4: remove esp32h4 target from ci 2023-04-20 15:19:47 +08:00
laokaiyao
b7053b46ef esp32h4: remove esp32h4 target from peripherals 2023-04-20 15:19:45 +08:00
Saurabh Kumar Bansal
7cc59918bc usbd: add usb composite device example 2023-04-19 14:02:33 +05:30
Mo Fei Fei
b18f390ed9 Merge branch 'docs/update_cn_trans_api_guides' into 'master'
Docs: update CN translation for esp_http_client.rst, external-ram.rst, bootloader.rst

Closes DOC-4934

See merge request espressif/esp-idf!23136
2023-04-19 10:37:49 +08:00
Mo Fei Fei
0d2549a4f1 Docs: update CN translation for esp_http_client.rst, external-ram.rst, bootloader.rst 2023-04-19 10:37:49 +08:00
Darian
f93bb3a63c Merge branch 'contrib/github_pr_11113' into 'master'
Fix usb enumeration stage error for some device (GitHub PR)

Closes IDFGH-9778

See merge request espressif/esp-idf!23233
2023-04-19 02:19:26 +08:00
Darian Leung
525de5bd21 usb_host: Update docs and comments regarding first configuration enumeration
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113.
2023-04-17 17:06:54 +08:00
morris
b19a3e3e56 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Cao Sen Miao
db4375e9e6 docs: Add more content about 32bits address flash usage 2023-04-14 11:39:12 +08:00
Wan Lei
b6d57a26ca Merge branch 'feature/spi_flash_enable_counters_on_esp_flash_driver' into 'master'
spi_flash: support  SPI_FLASH_ENABLE_COUNTERS on esp_flash driver and test this feature

Closes IDF-5623

See merge request espressif/esp-idf!19554
2023-04-06 15:48:42 +08:00
gaoxu
542a61b6cb support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx 2023-04-06 11:40:40 +08:00
Saurabh Kumar Bansal
55914d0c12 usb: modify example according to newly implemented usbd msc driver 2023-04-04 17:48:20 +00:00
Tomas Rezucha
2c6d0bae90 usb: Update host CDC examples 2023-04-04 07:47:55 +00:00
morris
76ac9b0ecf Merge branch 'bugfix/rmt_calarify_mem_block_symbols' into 'master'
Bugfix/rmt calarify mem block symbols

See merge request espressif/esp-idf!22966
2023-03-30 15:50:10 +08:00
morris
5d1a272b1c rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-30 11:09:13 +08:00
Marius Vikhammer
a964b85d45 docs: use soc_caps directly in text where possible 2023-03-28 17:23:43 +08:00
Jiang Guang Ming
a06afc8d91 doc: remove esp32h2 or esp32c6: - Flash MMAP driver isn't ready in Chip-ROM 2023-03-27 00:30:21 -07:00
Mahavir Jain
86b6f87d68 Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
Fix flash mmap data integrity issue for RAM loadable ELF case

See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
Mahavir Jain
bad4cd7072
spi_flash: RAM loadable ELF should have dangerous writes option allowed
For RAM loadable ELF case, there is no application or the bootloader on
the flash. And hence the check for getting current running OTA partition
or looking up partition table fails during dangerous writes option.

We are disabling the dangerous writes option for RAM loadable ELF case
and allowing writes to entire flash memory.
2023-03-20 11:10:29 +05:30
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
Song Ruo Jing
3ec287eaa5 Merge branch 'feature/ledc_gamma_curve_support' into 'master'
ledc: Support gamma curve fade feature

Closes IDF-5811 and IDF-6236

See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
morris
2d52334e5d gptimer: fix race condition between start and stop
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-10 23:27:29 +08:00
Song Ruo Jing
79f34fe524 ledc: Support gamma curve fade feature on esp32c6 and esp32h2 2023-03-10 12:42:46 +08:00
Armando
75629ee6a8 spi_flash: added programming guide for ESP-IDF vs ESP-ROM flash driver 2023-03-09 14:55:13 +08:00
Zim Kalinowski
05037957c7 Merge branch 'docs/broken_links_2' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Marius Vikhammer
24e0d91cd0 docs: fix broken links 2023-03-06 17:29:10 +08:00
C.S.M
679dae70cd Merge branch 'feature/temperature_intr' into 'master'
temperature sensor: Add high/low value threshold interrupt support

Closes IDF-5786

See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Cao Sen Miao
840ff4f865 temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6 2023-03-03 10:38:40 +08:00
Wang Zi Yan
2e4455a7e4 docs: finalize CN for index/spi_slave/system_time 2023-03-02 07:04:49 +00:00
Wang Zi Yan
c490c3a183 docs: update CN for index/spi_slave/system_time 2023-03-02 07:04:49 +00:00
Song Ruo Jing
0558d40c81 Merge branch 'contrib/github_pr_10856' into 'master'
Correct typo in referenced function name (GitHub PR)

Closes IDFGH-9496

See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
Bradley McFadden
6a21403cba uart: Correct typo in referenced function name
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.

Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-01 12:19:07 +08:00
morris
a7f5ff32ff doc: initial parallel IO programming guide
Also correct the GPIO information on esp32h2.
2023-03-01 00:43:14 +00:00
Wan Lei
cf146d4b31 Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
spi_master: fix whole master driver iram safe enviroenment

Closes IDF-6848

See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
wanlei
f11c44e55b spi_master: fix master driver iram safe enviroenment 2023-02-24 10:46:06 +08:00