Commit Graph

25591 Commits

Author SHA1 Message Date
Mo Fei Fei
cc8d99a150 Merge branch 'docs/fix_s3_efuse_bit_in_configure_other_jtag' into 'master'
Docs: update the JTAG select eFuse description for S3 and C3 in configure-other-jtag.rst

Closes DOC-3552 and DOC-3555

See merge request espressif/esp-idf!19666
2022-08-26 14:52:14 +08:00
Mo Fei Fei
fa49d63633 Docs: update the JTAG select eFuse description for S3 and C3 in configure-other-jtag.rst 2022-08-26 14:52:13 +08:00
Guillaume Souchere
4571e19387 heap: Add test to check that the corruption of free memory is detected
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.

For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-08-26 08:25:39 +02:00
Guillaume Souchere
b9abad7a89 esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().

This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().

This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-08-26 08:25:38 +02:00
Guillaume Souchere
f051da86e2 heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule
Add the definition of tlsf_check_hook() in multi_heap if MULTI_HEAP_POISONING
is set. This definition calls the multi_heap_internal_check_block_poisoning()
to check the memory of a free block for corruption. If the light poisoinng is
set this function returns true. If the comprehensive poisoning is set, this
function will check that all byte of memory in the memory chunk passed as parameter
are set to the right FILL pattern.
2022-08-26 08:20:50 +02:00
Armando
38cc4a2732 adc: use esp_check in adc_legacy.c 2022-08-26 14:08:33 +08:00
Wang Meng Yang
6f677de11c Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_master' into 'master'
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled

Closes BT-1915

See merge request espressif/esp-idf!19671
2022-08-26 13:34:11 +08:00
morris
060f3a3b13 Merge branch 'refactor/gptimer_software_capture' into 'master'
split gptimer software capture in hal driver

See merge request espressif/esp-idf!19749
2022-08-26 13:25:25 +08:00
Cao Sen Miao
0313d2a5b4 esp_flash: Add ext flash on ESP32-C2 2022-08-26 12:53:56 +08:00
Marius Vikhammer
b844df8c85 uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
Marius Vikhammer
e219510c9d Merge branch 'bugfix/freertos_org_inc_path' into 'master'
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path

Closes IDF-4464

See merge request espressif/esp-idf!19757
2022-08-26 11:42:29 +08:00
Omar Chebib
0030e46a96 Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed 2022-08-26 03:36:28 +00:00
Michael (XIAO Xufeng)
8e361d3df0 Merge branch 'bugfix/sdio_slave_gcc11_crash' into 'master'
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11

Closes IDFCI-1296, IDFCI-1297, and IDFCI-1298

See merge request espressif/esp-idf!19680
2022-08-26 00:39:35 +08:00
simon.chupin
e635492c95 tools: fix hints templates 2022-08-25 18:00:23 +02:00
Vilem Zavodny
32f59d365f docs: Added link to list of available LCD controller drivers. 2022-08-25 16:16:24 +02:00
Mahavir Jain
9523c784c1 Merge branch 'feature/mbedtls-3.2.1' into 'master'
[mbedtls] Update to v3.2.1

Closes IDF-5529, IDF-5715, and IDFGH-7188

See merge request espressif/esp-idf!19072
2022-08-25 21:59:10 +08:00
Roland Dobai
352cb3fb5e Merge branch 'bugfix/idf_tools_test_timeout' into 'master'
ci: increase timeout for python packages install test

Closes IDFCI-1436

See merge request espressif/esp-idf!19775
2022-08-25 21:01:59 +08:00
Roland Dobai
ff38cb8e0d Tools: Disable idf.py hints for IDF Monitor
The feature will be re-enabled later after a proper fix for the
following Github issue.

Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 14:53:41 +02:00
Armando
dc5cab7730 esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature

This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.

This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-25 20:35:20 +08:00
Mahavir Jain
b87bf29537 Merge branch 'ci/migrate_http_server_unit_test_app' into 'master'
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app

Closes IDF-5577

See merge request espressif/esp-idf!19674
2022-08-25 19:19:11 +08:00
Alexey Gerenkov
e5085db5f0 sysview: Adds FreeRTOS SMP port 2022-08-25 13:08:19 +03:00
morris
995b89fbb6 gptimer: add API to get captured count value 2022-08-25 17:55:19 +08:00
morris
e06c230a1d esp_rom: remove unavailable tjpgd library for esp32c2 2022-08-25 17:49:38 +08:00
Omar Chebib
6f3c6dcd86 Merge branch 'bugfix/i2c_port_unsigned' into 'master'
I2C: i2c_port_t type is now an enumeration

Closes IDFGH-7433

See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Marius Vikhammer
c36cd5238c bootloader: allow skip image validation on C2
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +08:00
Ivan Grokhotkov
5c8db0ea7f
ci: increase timeout for python packages install test
On the build runners, the installation frequently takes around 150
seconds, which is above the current timeout. This change increases
the timeout.

Closes IDFCI-1436
2022-08-25 10:45:03 +02:00
Wan Lei
c5b094a96f Merge branch 'test/fix_sio_mode_multi_test_faile' into 'master'
spi_master: in unit test modify communication bringup flow to fix spi sio mode test failure

See merge request espressif/esp-idf!19712
2022-08-25 16:33:10 +08:00
Alexey Gerenkov
030f3b7534 sysview: Fixes IDLE tasks detection via name comparison 2022-08-25 11:23:21 +03:00
chenjianxing
ff217b566c esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2022-08-25 14:32:51 +08:00
Darian
4a266d165b Merge branch 'feature/freertos_10.4.3_sync_task_list_functions' into 'master'
freertos: (Sync v10.4.3) Update task list functions

See merge request espressif/esp-idf!19323
2022-08-25 14:28:16 +08:00
Nachiket Kukade
c53318f7af esp_wifi: Update wifi libs
Fix scan causing bss overwrite in connect process
2022-08-25 11:52:36 +05:30
Michael (XIAO Xufeng)
bc0ccd9b6d Merge branch 'bugfix/rtc_periph_ulp_touch' into 'master'
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)

Closes IDF-4528

See merge request espressif/esp-idf!19209
2022-08-25 12:27:29 +08:00
Michael (XIAO Xufeng)
aff90b9853 sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) 2022-08-25 12:27:28 +08:00
Rahul Tank
fbf0dff71a Merge branch 'bugfix/fix_memory_corruption_in_recon_code' into 'master'
Nimble: Fixed memory corruption introduced in reconnection attempt code

See merge request espressif/esp-idf!19364
2022-08-25 12:00:04 +08:00
Harshit Malpani
cae004a815 ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app 2022-08-25 03:43:46 +00:00
xiongweichao
697755dfe5 Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-08-25 11:36:28 +08:00
Song Ruo Jing
1d95823b83 Merge branch 'feature/add_esp32c6_register_headers' into 'master'
ESP32C6: Add soc register header files

See merge request espressif/esp-idf!19642
2022-08-25 11:27:21 +08:00
Wang Zi Yan
409e4241ed Merge branch 'docs/update_wifi_application_examples' into 'master'
docs: update wifi application examples

Closes DOC-3513

See merge request espressif/esp-idf!19673
2022-08-25 11:09:16 +08:00
morris
935a63efca Merge branch 'example/update_format_string_in_touch_related_examples' into 'master'
example: update format string in touch related examples

See merge request espressif/esp-idf!19743
2022-08-25 11:02:54 +08:00
morris
853a27b491 Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'master'
esp_adc: migrate adc wifi test to test app

Closes IDFCI-1405 and IDFCI-578

See merge request espressif/esp-idf!19736
2022-08-25 10:57:07 +08:00
Wang Meng Yang
7fc37a137d Merge branch 'bugfix/bt_spp_init_init_uart_crash' into 'master'
bt:Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash

Closes BT-2693

See merge request espressif/esp-idf!19722
2022-08-25 10:36:07 +08:00
Alexey Lapshin
6455c27a9c ci: fix test_idf_tools dependencies 2022-08-24 23:00:30 +04:00
Alexey Lapshin
244a1b5e6a tools: fix test_abort backtrace 2022-08-24 23:00:30 +04:00
Alexey Lapshin
3556536748 tools: update gdb version to '11.2_20220823'
Closes https://github.com/espressif/esp-idf/issues/6124
2022-08-24 23:00:30 +04:00
Jiang Jiang Jian
02be0a8e23 Merge branch 'bugfix/fix_pairwise_cipher_tkip_pmf_compability_issue' into 'master'
esp_wifi: fix pairwise cipher tkip pmf compability issue

Closes ESPCS-850

See merge request espressif/esp-idf!19616
2022-08-25 02:24:24 +08:00
Zhang Tan
d21904fba9 docs: fix typo in get-started chapter 2022-08-24 23:48:54 +08:00
Jakob Hasse
1ab3e64cee doc (nvs): added note about maximum possible namespaces 2022-08-24 15:42:27 +02:00
Jan Procházka
ebef6bc97e added missing call to set hold register bit
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-24 13:49:05 +02:00
Marius Vikhammer
38d30548d4 freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
FreeRTOS include path was changed, but ORIG_INCLUDE_PATH wasn't updated to reflect this.
2022-08-24 18:43:28 +08:00
muhaidong
3887cac78e esp_wifi: fix pairwise cipher tkip pmf compability issue. 2022-08-24 18:09:37 +08:00