Commit Graph

29942 Commits

Author SHA1 Message Date
Wang Ning
2c1f2ad02b docs/add link to esp32-c6 devkit user guide 2023-05-10 16:58:47 +08:00
Darian Leung
f76194add9 freertos(IDF): Add hidden build option for V10.5.1 kernel
This commit adds a "CONFIG_FREERTOS_USE_KERNEL_10_5_1" hidden option to enable
building of the v10.5.1 kernel for development/testing purposes. Currently
enabling this option will just cause CMake to error out.

Also added a markdown file to record the code changes made to the V10.5.1 source
when porting over SMP behavior.
2023-05-10 16:53:00 +08:00
Darian Leung
74f37f50ec freertos(IDF): Add upstream V10.5.1 files
This commit adds the source files for the FreeRTOS Kernel V10.5.1 in
preparation for upgrading ESP-IDF FreeRTOS Kernel version (files copied from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1)

The following modifications were made to the files when copying

- Added "SPDX-FileCopyrightText" and "SPDX-FileContributor" tags to all files
  to pass ESP-IDF pre-commit checks.
- Left out some files unnecessary to ESP-IDF (e.g., URLs, "History.txt", and
"portable" folder).
2023-05-10 16:52:22 +08:00
Li Shuai
87dd7bb51a Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link' into 'master'
support extra linked list retention for BLE and 15.4

Closes IDF-6528

See merge request espressif/esp-idf!22985
2023-05-10 15:07:03 +08:00
Mahavir Jain
42e362f83d
Add a note about Espressif Security Incident Policy document 2023-05-10 12:10:41 +05:30
caixinying-git
3fbd692de8 docs: add CN translation for api-guides/tools/idf-py.rst 2023-05-10 14:14:12 +08:00
Zhang Xiao Yan
7e5d3fb172 Merge branch 'docs/update_installation_prerequisites_for_ubuntu_debian' into 'master'
docs: update installation prerequisites for Ubuntu and Debian system

See merge request espressif/esp-idf!23618
2023-05-10 14:07:08 +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
morris
c176e05ae2 Merge branch 'docs/update_cn_trans_ulp-risc-v_bootloader' into 'master'
Docs: update CN translation for ulp-risc-v.rst and bootloader.rst

Closes DOC-5159

See merge request espressif/esp-idf!23644
2023-05-10 11:33:27 +08:00
Mo Fei Fei
83d6754f8b Docs: update CN translation for ulp-risc-v.rst and bootloader.rst 2023-05-10 11:33:26 +08:00
Marius Vikhammer
1590fbd31c ci: misc fixes for newlib test app
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-10 11:14:15 +08:00
Jakob Hasse
bc7a7e8451 Merge branch 'bugfix/cmake_cxx_language_standard' into 'master'
cmake: Corrected setting of C++ language standard

See merge request espressif/esp-idf!23520
2023-05-10 10:28:43 +08:00
morris
6ef187d4fb Merge branch 'doc/update_mcpwm_deadtime' into 'master'
MCPWM: don't allow to apply the same delay module to multiple generators

Closes IDFGH-10050

See merge request espressif/esp-idf!23601
2023-05-10 09:55:36 +08:00
Zim Kalinowski
099ffe6243 Merge branch 'feature/c6_ulp_timer' into 'master'
ulp: lp timer support for lp core

Closes IDF-6956, IDF-6830, and IDF-6835

See merge request espressif/esp-idf!23453
2023-05-10 03:06:35 +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
KonstantinKondrashov
e48130246a hal: Explicit setting of efuse time settings
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-10 00:41:35 +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
Frantisek Hrbata
a5d3c2d443 tools: fix hints processing in interactive mode
Currently hints are processed only once the process is finished and
exits with non-error exit code. In interactive mode, e.g. for monitor,
we want to process ouput lines for hints right away.

This adds a simple buffer, which keeps the last line and once EOL is
reached, it is processed for hints.

Since the original hints processing was file based, a new helper
function was added to allow processing hints in string.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-09 14:35:04 +02: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
zlq
ff88f42819 H2:fix tsensor issue @low temp 2023-05-09 19:40:53 +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
zhiweijian
3a4d2c5b21 fix blufi doc error 2023-05-09 19:05:28 +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
laokaiyao
563b223ab7 i2s_std: enable left alignment as default 2023-05-09 17:53:53 +08:00
laokaiyao
bebcaad35f i2s_tdm: add check for slot mask 2023-05-09 17:53:53 +08:00
laokaiyao
82159fa135 i2s_doc: fixed the data of stereo left/right state 2023-05-09 17:53:46 +08:00
laokaiyao
fd8042cf5b i2s_tdm: fixed half sample bit calculation 2023-05-09 17:51:33 +08:00
laokaiyao
382059699e i2s_std: fixed mclk check for 24-bit data 2023-05-09 17:51:33 +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
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
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
Rahul Tank
732c921c65 Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-09 04:57:28 +00: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
Jakob Hasse
0244c24c8d cmake: Corrected setting of C++ language standard
* reverted old faulty mechanism to set different
  standard according to the toolchain
* Using -std=gnu++2b now for both gcc and clang
* Added a build test app to check the C++ standard in IDF
* Updated english docs to reflect the change to C++23
2023-05-09 10:09:19 +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