Commit Graph

333 Commits

Author SHA1 Message Date
morris
21fa29fedf Merge branch 'docs/notes_in_sync_with_updown_mode' into 'master'
docs(mcpwm): add a note about setting sync phase in up down mode

Closes IDFGH-11670

See merge request espressif/esp-idf!27953
2023-12-21 13:36:55 +08:00
Song Ruo Jing
20f6505aa6 change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54 2023-12-20 11:23:32 +08:00
morris
4318f2dc22 docs(mcpwm): add a note about setting sync phase in up down mode
Closes https://github.com/espressif/esp-idf/issues/12782
2023-12-15 17:39:22 +08:00
Shang Zhou
740981078f docs: Sync up CN and EN versions for files under api-guides and api-references (Nov) 2023-12-11 14:53:05 +08:00
Darian Leung
024eb7218d change(docs): Update multicore tags to SOC_HP_CPU_HAS_MULTIPLE_CORES
Previously, documentation sections that were only meant for multicore ESP
targets would use tags that depend on CONFIG_FREERTOS_UNICORE or
CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE. This is not ideal as project configuration
can be changed by the user.

This commit updates those tags to use SOC_HP_CPU_HAS_MULTIPLE_CORES which is
always defined in multicore targets regardless of project configuration.
2023-12-05 10:56:48 +08:00
Marius Vikhammer
ae4be8eb03 Merge branch 'feature/p4_lp_core' into 'master'
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4

Closes IDF-7534

See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Marius Vikhammer
0c067fcb05 feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4 2023-11-29 10:50:40 +08:00
morris
f2751213fd feat(rmt): move the driver to a new component 2023-11-25 00:29:53 +00:00
laokaiyao
ef7772eee0 refactor(dac): make dac driver as component 2023-11-23 12:04:06 +08:00
morris
add4749d15 feat(rmt): callback function can support partial receive 2023-11-20 18:49:38 +08:00
laokaiyao
74441d14ab refactor(i2s): make i2s driver as component 2023-11-17 21:29:17 +08:00
Mahavir Jain
7505667e7d Merge branch 'bugfix/esp32h2_ecdsa_hardware_k' into 'master'
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose

Closes IDF-8508 and IDF-8506

See merge request espressif/esp-idf!26918
2023-11-17 15:10:12 +08:00
laokaiyao
f35ec64a0b feat(touch): support touch driver on p4 (soc) 2023-11-16 11:13:02 +00:00
morris
b37b9b7d64 Merge branch 'docs/mcpwm_missing_fields_capture_channel_config' into 'master'
docs: fix MCPWM API Documentation Issue

Closes IDFGH-11443

See merge request espressif/esp-idf!27112
2023-11-15 18:26:37 +08:00
Mahavir Jain
7bb29086df
docs: add ECDSA peripheral chapter for H2/P4
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-15 09:42:26 +05:30
Mo Fei Fei
3491fa154a Docs: Update Chinese translation for usb_host.rst 2023-11-15 11:50:12 +08:00
morris
b50d30f860 docs(mcpwm): add missing explanation about keep_io_conf_at_exit
Closes https://github.com/espressif/esp-idf/issues/12579
2023-11-14 14:34:14 +08:00
Marius Vikhammer
730f2af489 docs(esp32h2): updated misc docs with esp32h2 content 2023-11-14 12:09:00 +08:00
morris
eb5183f503 feat(mcpwm): refactor mcpwm driver into a component 2023-11-09 22:05:06 +08:00
C.S.M
647f0d24a7 Merge branch 'feature/suspend_tsus_config' into 'master'
feat(spi_flash): Support configurable tSUS in flash suspend and update the test

See merge request espressif/esp-idf!26567
2023-11-09 10:45:17 +08:00
morris
5cc965e6cb Merge branch 'feature/rmt_receive_in_isr' into 'master'
feat(rmt): support calling rmt_receive in ISR callback

Closes IDF-8488

See merge request espressif/esp-idf!26874
2023-11-08 14:25:52 +08:00
Cao Sen Miao
a4e6a71dd5 docs(i2c): Add new programming guide for new I2C driver 2023-11-07 18:41:26 +08:00
Armando
d3be2541de 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-06 18:55:49 +08:00
Cao Sen Miao
dcff5220a7 feat(spi_flash): Support configurable tSUS in flash suspend 2023-11-06 18:04:43 +08:00
morris
14b7db5dd0 feat(rmt): support calling rmt_receive in ISR callback 2023-11-03 15:42:56 +08:00
Gao Xu
dce1e8d96a Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
adc_cali: supported adc calibration v1 on ESP32H2

Closes IDF-6216

See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
Shang Zhou
0e69fcb8ac Merge branch 'docs/add_cn_trans_for_ds' into 'master'
docs: Provide CN translation for api-reference/peripherals/ds.rst

Closes DOC-5859

See merge request espressif/esp-idf!26657
2023-11-02 17:42:17 +08:00
gaoxu
843e07b2d5 docs(adc): added adc calibration doc on h2 2023-11-02 11:33:06 +08:00
Wan Lei
10401d95d0 Merge branch 'feature/esp32p4_hp_spi_slave_support' into 'master'
Feature/esp32p4 hp spi slave support

Closes IDF-7503

See merge request espressif/esp-idf!25700
2023-10-31 23:31:24 +08:00
wanlei
7cd75c1075 feat(spi_slave): add p4 hp spi slave driver support 2023-10-30 12:51:56 +08:00
morris
15cefab479 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-10-26 12:11:07 +08:00
Shang Zhou
57f5343462 docs: Provide CN translation for api-reference/peripherals/ds.rst 2023-10-25 10:25:36 +08:00
Xiao Xufeng
88954841b1 doc(spi_flash): hide unsupported optional features 2023-10-24 10:38:11 +08:00
morris
0cbcb9f5ea feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-20 16:57:25 +08:00
Armando
70314b56d5 feat(sdmmc): supported sd2.0 on esp32p4 2023-10-18 11:57:55 +00:00
Wan Lei
9f413d5d8d Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
feat(ledc): support ledc on esp32p4

Closes IDF-6510

See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
Adam Múdry
a64f216737 docs: Remove :envvar: form spi_flash documentation 2023-10-17 13:35:42 +02:00
wanlei
57614bbad2 feat(ledc): support ledc on esp32p4 2023-10-17 16:40:04 +08:00
Dai Zi Yan
9adb19fe53 Merge branch 'docs/update_format_issues_wrongly_added_to_the_ingore_file' into 'master'
docs: update document format issues

Closes DOC-6383

See merge request espressif/esp-idf!26096
2023-10-14 03:55:42 +08:00
Cai Xin Ying
01209e459c docs: update document format issues 2023-10-14 03:55:41 +08:00
Song Ruo Jing
321f628ff5 feat(gpio): add a dump API to dump IO configurations
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
Song Ruo Jing
814159448b Merge branch 'feature/ledc_cal_duty_resolution' into 'master'
feat(ledc): add ledc_find_suitable_duty_resolution function

Closes IDFGH-10569

See merge request espressif/esp-idf!25208
2023-10-10 20:34:09 +08:00
Wan Lei
f92b18053a Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
Feature/esp32p4 hp spi master driver support

Closes IDF-7502

See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
IhorNehrutsa
9ced54699e feat(ledc): add ledc_find_suitable_duty_resolution helper function
Helper function to find the maximum possible duty resolution in bits
for ledc_timer_config()

Merges https://github.com/espressif/esp-idf/pull/11810
2023-10-09 12:46:46 +08:00
Ren Pei Ying
8dbff6a5fe docs: Update translations for ESP-IDF unsynchronized files 2023-10-09 10:25:19 +08:00
wanlei
fc20b96a45 feat(spi_master): p4 document update 2023-10-08 14:46:04 +08:00
Song Ruo Jing
821f7b0498 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/12083
2023-10-02 07:32:16 +00:00
Cai Xin Ying
3ffe094c71 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/sdspi_share.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/sdspi_share.rst

Closes DOC-6084

See merge request espressif/esp-idf!25627
2023-09-27 06:35:54 +08:00
Cai Xin Ying
65b01e5ab1 docs: provide CN translation for api-reference/peripherals/sdspi_share.rst 2023-09-27 06:35:53 +08:00
laokaiyao
ff7a11e539 feat(ana_cmpr): supported etm in analog comparator example 2023-09-25 19:57:34 +08:00
laokaiyao
a989ce4ab1 feat(ana_cmpr): supported analog comparator on esp32p4 2023-09-25 19:57:34 +08:00
Song Ruo Jing
98abcbabea Merge branch 'feature/esp32p4_lp_io_support' into 'master'
feat(lp_io): Add support for ESP32P4

Closes IDF-7815

See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
Cai Xin Ying
253356e023 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/adc_continuous.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/adc_continuous.rst

Closes DOC-5906

See merge request espressif/esp-idf!25261
2023-09-21 14:03:09 +08:00
caixinying-git
f8517949ee docs: provide CN translation for api-reference/peripherals/sdmmc_host.rst 2023-09-21 10:40:14 +08:00
Song Ruo Jing
2d458a3f93 feat(lp_io): Add support for ESP32P4 2023-09-20 19:39:41 +08:00
Cai Xinying
bb6feca7a9 docs: provide CN translation for api-reference/peripherals/adc_continuous.rst 2023-09-20 10:30:15 +08:00
Cai Xin Ying
30f32f6de6 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/usb_host.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/usb_host.rst

Closes DOC-5948

See merge request espressif/esp-idf!25292
2023-09-19 15:34:10 +08:00
morris
fd26abebce Merge branch 'refactor/mcpwm_rcc_atomic' into 'master'
MCPWM: add RCC low level functions

Closes IDF-7731, IDF-7722, IDF-7716, IDF-7738, and IDF-7713

See merge request espressif/esp-idf!25959
2023-09-16 01:04:54 +08:00
caixinying-git
31eda557e6 docs: provide CN translation for api-reference/peripherals/usb_host.rst 2023-09-15 18:06:58 +08:00
caixinying-git
10a625a7cb docs: update format issues left in CN docs 2023-09-15 17:51:12 +08:00
morris
608fca9d31 docs(pcnt,mcpwm): document new features for esp32p4 2023-09-15 11:16:04 +08:00
Cai Xin Ying
ecfee371c3 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/clk_trees.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/clk_tree.rst

Closes DOC-5905

See merge request espressif/esp-idf!25173
2023-09-14 10:51:17 +08:00
Cai Xin Ying
c5dcb2c50b Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/sdio_slave.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/sdio_slave.rst

Closes DOC-5658

See merge request espressif/esp-idf!24606
2023-09-13 16:22:49 +08:00
caixinying-git
c7dfe1bf21 docs: provide CN translation for api-reference/peripherals/clk_tree.rst 2023-09-13 15:43:09 +08:00
Cai Xin Ying
a5771e0652 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/spi_slave_hd.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/spi_slave_hd.rst

Closes DOC-5706

See merge request espressif/esp-idf!24647
2023-09-12 15:52:37 +08:00
Cai Xin Ying
d045b8a0b1 Merge branch 'docs/add_Chinese_translation_for_api-reference_peripherals_sdspi_host.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/sdspi_host.rst

Closes DOC-5726

See merge request espressif/esp-idf!24675
2023-09-12 15:46:59 +08:00
caixinying-git
a093baa214 docs: provide CN translation for api-reference/peripherals/sdio_slave.rst 2023-09-12 15:40:54 +08:00
caixinying-git
d4f0ca1ee9 docs: provide CN translation for api-reference/peripherals/sdspi_host.rst 2023-09-12 11:47:42 +08:00
morris
47e499de52 feat(mcpwm): clean up MCPWM ETM driver 2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311 feat(mcpwm): MCPWM event comparator driver
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
Cai Xin Ying
b6db3dc697 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/adc_oneshot.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/adc_oneshot.rst

Closes DOC-5957

See merge request espressif/esp-idf!25518
2023-09-11 14:15:33 +08:00
Ren Pei Ying
c56ca136f6 Merge branch 'docs/Update_translation_for_synchronization' into 'master'
docs: Update translation for ESP-IDF docs for syncronization

Closes DOC-6155

See merge request espressif/esp-idf!25769
2023-09-11 12:16:35 +08:00
caixinying-git
0572cd8f8b docs: provide CN translation for api-reference/peripherals/spi_slave_hd.rst 2023-09-11 10:34:47 +08:00
caixinying-git
ff6b85bdb1 docs: provide CN translation for api-reference/peripherals/adc_oneshot.rst 2023-09-11 10:10:12 +08:00
morris
3e5906aa1b Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
feat(mcpwm): Set group clock prescale dynamically

See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
renpeiying
9b447664db docs: Update translation for ESP-IDF docs for syncronization 2023-09-08 15:43:29 +08:00
Chen Jichang
fc80d3e568 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-08 11:57:29 +08:00
Cai Xin Ying
bf062367de docs: provide CN translation for api-reference/peripherals/hmac.rst and... 2023-09-08 10:04:59 +08:00
caixinying-git
f8e9210e7d docs: provide CN translation for api-reference/peripherals/temp_sensor.rst 2023-09-06 18:48:44 +08:00
caixinying-git
20951be687 docs: provide CN translation for api-reference/peripherals/adc_calibration.rst 2023-09-05 11:12:34 +08:00
Planck (Lu Zeyu)
80fa5da9e8 feat(rmt): specify interrupt priority 2023-09-01 11:30:41 +08:00
caixinying-git
917a2c9eb5 docs: provide CN translation for api-reference/peripherals/touch_element.rst 2023-08-31 12:01:24 +08:00
caixinying-git
0b0c828d5f docs: update format issues for EN and CN files under api-reference/peripherals 2023-08-30 10:08:01 +08:00
Krzysztof Budzynski
1d030b7601 Merge branch 'bugfix/description_for_AR2023-003' into 'master'
[docs] Update API Reference of SPI Flash for AR2023-003

See merge request espressif/esp-idf!25458
2023-08-28 12:17:04 +08:00
Krzysztof
290ca75ae0 [docs] Update API Reference of SPI Flash for AR2023-003 2023-08-27 18:31:31 +08:00
Cai Xin Ying
5538b12d31 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/etm.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/etm.rst

Closes DOC-5812

See merge request espressif/esp-idf!24938
2023-08-25 09:59:15 +08:00
Wang Fang
db86b59330 Merge branch 'docs/update_cn_trans_for_22755' into 'master'
docs: Update CN translation for auto_suspend.inc (!22755)

Closes DOC-5790

See merge request espressif/esp-idf!25236
2023-08-24 11:00:46 +08:00
Shang Zhou
af6f8c4c8c docs: Update CN translation for auto_suspend.inc (!22755) 2023-08-24 11:00:45 +08:00
Chen Ji Chang
9db2ffd4fb Merge branch 'fix/pcnt_zero_input_init' into 'master'
feat(PCNT): Add new api of clear signal

See merge request espressif/esp-idf!25372
2023-08-23 20:15:59 +08:00
Wang Fang
9d8b121ef2 Merge branch 'docs/fix_formatting_issues_in_spi_flash_concurrency_doc' into 'master'
docs: fix formatting issues in spi_flash_concurrency document

See merge request espressif/esp-idf!24619
2023-08-23 17:08:39 +08:00
morris
329bc7e5e9 Merge branch 'feature/mcpwm_interrupt_priority' into 'master'
feat(MCPWM): Support set interrupt priority

Closes IDF-7952

See merge request espressif/esp-idf!25364
2023-08-23 13:43:24 +08:00
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
Song Ruo Jing
be9afeac86 feat(gpio): add support for ESP32P4 2023-08-10 17:58:49 +08:00