Commit Graph

29803 Commits

Author SHA1 Message Date
movsb
2ff12460dd fix(c++): invalid conversion from int to enumeration 2023-05-12 15:08:53 +08:00
Zim Kalinowski
54576b7528 Merge branch 'bugfix/freertos_fix_unordered_event_list' into 'master'
freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list

Closes IDF-5785

See merge request espressif/esp-idf!23482
2023-05-10 01:48:47 +08:00
Zim Kalinowski
a495f4729b Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
ci: fix invalid kconfig options in system test apps

See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
Sudeep Mohanty
02d473615d Merge branch 'bugfix/ulp_i2c_timeout_config' into 'master'
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option

Closes IDFGH-9822

See merge request espressif/esp-idf!23470
2023-05-09 21:06:51 +08:00
Wang Meng Yang
e156fcec8a Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
bt: Fixed out of bounds access due to variable length array

Closes IDFGH-9979

See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
Armando (Dou Yiwen)
b1f7fbdbf6 Merge branch 'fix-for-adc-continious-receiver' into 'master'
adc: update continuous read example output type (PR11347)

Closes IDFGH-10071

See merge request espressif/esp-idf!23643
2023-05-09 19:36:22 +08:00
Kondal Kolipaka
24525c32d9 Merge branch 'ide/debugger_doc_update' into 'master'
doc: Add ESP-IDF GDB OpenOCD debugging plugin support

See merge request espressif/esp-idf!19597
2023-05-09 19:31:56 +08:00
Kondal Kolipaka
62ef1a5b86 doc: Add ESP-IDF GDB OpenOCD debugging plugin support 2023-05-09 19:31:56 +08:00
Zim Kalinowski
3010fd3aa9 Merge branch 'doc/jthread_limitation' into 'master'
doc: Note down C++ std::jthread limitation

Closes IDF-6769 and IDFGH-9280

See merge request espressif/esp-idf!23570
2023-05-09 19:29:25 +08:00
Wu Zheng Hui
35bb946653 Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep

Closes IDF-7287

See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
Zim Kalinowski
ead5f19f7c Merge branch 'bugfix/freertos_nested_sched_suspension' into 'master'
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()

Closes IDF-7299

See merge request espressif/esp-idf!23537
2023-05-09 18:07:47 +08:00
Sudeep Mohanty
662e0812f4 ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
The commit 88e4c06028 introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.

The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.

Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 11:17:01 +02:00
Zim Kalinowski
3947688d54 Merge branch 'bugfix/make_clean_files' into 'master'
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES

Closes IDF-2444

See merge request espressif/esp-idf!23628
2023-05-09 16:53:18 +08:00
Sudeep Mohanty
abe5311a22 freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list
vTaskRemoveFromUnorderedEventList() runs under the assumption that the
scheduler is suspended during the call. However, for IDF FreeRTOS, this
is not true. When dual-core system is active, this API call is made in
a critical section but without suspending the scheduler. This commit
updates the vTaskRemoveFromUnorderedEventList() function to now consider
the scheduler state on either cores before adding a task to the ready list.
2023-05-09 10:47:24 +02:00
morris
06b1e10273 Merge branch 'feature/reset_mcpwm_in_restart' into 'master'
mcpwm: reset peripheral in restart, panic and halt

Closes IDFGH-10047

See merge request espressif/esp-idf!23591
2023-05-09 16:44:55 +08:00
Sudeep Mohanty
1acd2b5ce7 freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 10:28:02 +02:00
morris
66c999fcf8 Merge branch 'doc/lcd_add_manufacture_parameters' into 'master'
lcd: add doc about adding manufacture specific initialization code

Closes IDFGH-10039

See merge request espressif/esp-idf!23617
2023-05-09 14:48:37 +08:00
morris
2b707decfc Merge branch 'feature/rgb_lcd_pclk_gpio_optional' into 'master'
rgb_lcd: make pclk gpio setting optional

Closes IDFGH-10021

See merge request espressif/esp-idf!23626
2023-05-09 14:47:37 +08:00
Alexey Lantushenko
9d1747dd59 1. The example does not work with when board only supports TYPE1 format 2. The example has syntax error converting void* to adc_digi_output_data_t*
Signed-off-by: Armando <douyiwen@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/11347
2023-05-09 12:37:05 +08:00
Cai Xin Ying
9fb7542e6c Merge branch 'docs/add_Chinese_translation_for_api-reference/system/esp_timer' into 'master'
docs:provide translation for api-reference/system/esp_timer.rst

Closes DOC-4995

See merge request espressif/esp-idf!23210
2023-05-09 12:02:12 +08:00
Cai Xin Ying
af872cc079 docs:provide translation for api-reference/system/esp_timer.rst 2023-05-09 12:02:12 +08:00
Marius Vikhammer
a300b3eb81 ci: fix invalid kconfig options in system test apps 2023-05-09 11:27:55 +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
Zim Kalinowski
75d00928f5 Merge branch 'feature/migrate-newlib-to-pytest' into 'master'
newlib: move test to pytest

Closes IDF-5595 and IDF-6961

See merge request espressif/esp-idf!20984
2023-05-08 23:40:50 +08:00
Darian
e1dba0fa9e Merge branch 'refactor/freertos_component_structure' into 'master'
FreeRTOS: Refactor copmonent structure

See merge request espressif/esp-idf!23367
2023-05-08 21:18:37 +08:00
Kevin (Lao Kaiyao)
b9da400545 Merge branch 'docs/fix_description_i2s.rst' into 'master'
Docs: fix descriptions in i2s.rst

Closes DOC-4788

See merge request espressif/esp-idf!23631
2023-05-08 19:11:13 +08:00
Mo Fei Fei
87d5573094 Docs: fix descriptions in i2s.rst 2023-05-08 19:11:13 +08:00
Darian Leung
66499f17a5 freertos: Refactor component structure
This commit refactors the "freertos" component's structure as follows:

- "FreeRTOSConfig.h" related files moved to "./config" directory
- Refactored CMakeLists.txt file in preparation for v10.5.1 upgrade
    - Grouped list appends based on component organization
    - Removed some unecessarily public "include_dirs"
- Removed FreeRTOS-openocd.c
    - uxTopUsedPriority has been added back to tasks.c since v10.4.2
    - Thus the workaround in FreeRTOS-openocd.c is no longer needed and can
      be removed.
2023-05-08 18:40:03 +08:00
Zim Kalinowski
a825dde9c0 newlib: move test to pytest 2023-05-08 12:31:48 +02:00
Wang Zi Yan
421bf2f798 Merge branch 'docs/update_cn_trans_for_build-system' into 'master'
docs: Update CN for api-guides/build-system.rst

Closes DOC-5078

See merge request espressif/esp-idf!23580
2023-05-08 17:47:51 +08:00
Shang Zhou
343e8de21b Merge branch 'docs/provide_CN_trans_for_22939' into 'master'
docs: update CN translation for mdns.rst

Closes DOC-5076

See merge request espressif/esp-idf!23593
2023-05-08 17:02:32 +08:00
Shang Zhou
a2b3176b58 docs: update CN translation for mdns.rst 2023-05-08 17:02:32 +08:00
Mahavir Jain
17451f1fb3 Merge branch 'fix/sha512_block_mode' into 'master'
mbedtls: fix sha-512 block mode build error

See merge request espressif/esp-idf!23569
2023-05-08 16:09:50 +08:00
Marius Vikhammer
d17248ecdf build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Wang Zi Yan
254415a21d docs: Update CN for api-guides/build-system.rst 2023-05-08 07:22:30 +00:00
morris
5ba53c9294 rgb_lcd: make pclk gpio setting optional
PCLK may not be necessary in VGA use case.
Closes https://github.com/espressif/esp-idf/issues/11298
2023-05-08 14:55:26 +08:00
Wang Meng Yang
9652d8ed6f Merge branch 'bugfix/fix_idfgh_9931' into 'master'
Fixed remote mic error during encryption procedure

See merge request espressif/esp-idf!23609
2023-05-08 14:44:40 +08:00
Mo Fei Fei
7c65d06809 Merge branch 'docs/add_cn_trans_i2s.rst' into 'master'
docs: add cn trans i2s.rst

Closes DOC-4788

See merge request espressif/esp-idf!23357
2023-05-08 14:25:19 +08:00
Mo Fei Fei
850ef76981 docs: add cn trans i2s.rst 2023-05-08 14:25:19 +08:00
harshal.patil
9a87b26294 mbedtls: fix sha-512 block mode build error 2023-05-08 10:27:34 +05:30
Kevin (Lao Kaiyao)
e9e5f1b90f Merge branch 'feature/add_default_config_for_i2s_pdm_dac_mode' into 'master'
i2s: public bclk_div and add a default config for PDM TX DAC

Closes IDF-7289

See merge request espressif/esp-idf!23466
2023-05-08 12:36:05 +08:00
Armando (Dou Yiwen)
38e84bdd4f Merge branch 'refactor/mspi_timing_tuning_compatible_on_all_chips' into 'master'
mspi: timing tuning driver framework

Closes IDF-7004

See merge request espressif/esp-idf!22786
2023-05-08 10:27:29 +08:00
Armando (Dou Yiwen)
4fd45f2483 Merge branch 'bugfix/fix_adc_filter_acquire_logic' into 'master'
adc: fix adc filter acquire logic

Closes IDF-7311

See merge request espressif/esp-idf!23566
2023-05-08 10:10:35 +08:00
Michael (XIAO Xufeng)
4e24516ee2 Merge branch 'feat/i2s_ng_stailq' into 'master'
driver: use STAILQ_NEXT instead empty to improve readability

See merge request espressif/esp-idf!23528
2023-05-06 22:30:23 +08:00
Cai Xin Ying
266aede1d7 Merge branch 'docs/add_Chinese_translation_for_api-reference/network/esp_netif' into 'master'
Docs/add Chinese translation for api-reference/network/esp_netif.rst

Closes DOC-5024

See merge request espressif/esp-idf!23252
2023-05-06 19:45:36 +08:00
Cai Xin Ying
cf3e19019e Docs/add Chinese translation for api-reference/network/esp_netif.rst 2023-05-06 19:45:35 +08:00
morris
083d9e7c0f mcpwm: reset peripheral in restart, panic and halt
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.

closes https://github.com/espressif/esp-idf/issues/11324
2023-05-06 15:58:58 +08:00
laokaiyao
bf8419fd6e i2s: public bclk_div and add a default config for PDM TX DAC 2023-05-06 14:19:48 +08:00
Marius Vikhammer
97aab3bedc Merge branch 'bugfix/gdma_log_nano' into 'master'
gdma: fixed crash from logging when using newlib nano

Closes IDFGH-8134

See merge request espressif/esp-idf!23579
2023-05-06 13:46:50 +08:00
Marius Vikhammer
e806d9c9cb gdma: fixed crash from logging when using newlib nano
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.

Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 10:51:03 +08:00