Wykres commitów

25211 Commity (4a5662bc259c0cfb827e5d2cd5c0e1cf23c78413)

Autor SHA1 Wiadomość Data
Zhi Wei Jian 4a5662bc25 Merge branch 'feature/add_qa_test_funcs' into 'master'
Add QA test Functions for esp32

See merge request espressif/esp-idf!19735
2022-08-29 21:04:02 +08:00
Martin Vychodil 38acc3f7bf Merge branch 'feature/vfs_driver_interface' into 'master'
esp/vfs: VFS semihosting interface support

Closes OCD-98

See merge request espressif/esp-idf!16932
2022-08-29 20:52:17 +08:00
Ivan Grokhotkov 02a19c6df5 Merge branch 'feature/build_color_output' into 'master'
build system, tools: enable compiler color diagnostics by default

Closes IDFGH-1965

See merge request espressif/esp-idf!19330
2022-08-29 20:32:42 +08:00
Ivan Grokhotkov 4f0967d44c Merge branch 'feature/update-gdb-to-11.2_20220823' into 'master'
tools: update gdb version to '11.2_20220823'

Closes IDFGH-4276 and IDF-842

See merge request espressif/esp-idf!19723
2022-08-29 19:34:40 +08:00
Ivan Grokhotkov 990681764e
tools: cmake: upgrade from 3.23.1 to 3.24.0 2022-08-29 11:15:25 +02:00
Ivan Grokhotkov 712743d777
idf.py: ensure that build log is always sanitized from color sequences
The actual output from the build tool (CMake/Ninja) may or may not
contain color escape codes, depending on various factors. The output
written to the log file should never include color escape codes,
though. This is because color escape codes in files are usually not
rendered as "color" in editors, and complicate reading. Also escape
codes would break the regular expressions used to display hints for
compilation errors.
2022-08-29 11:15:16 +02:00
Ivan Grokhotkov 12abe1f316
tools: idf.py: enable CLICOLOR_FORCE for interactive builds
If stdout is a TTY (meaning that the output is not redirected), tell
the build tool (GNU Make or Ninja) to enable colorized output.

GNU Make and Ninja also check if their stdout is redirected and
strip color escape sequences in that case. CLICOLOR_FORCE environment
variable overrides this behavior.

With this change, if the compiler was launched with the
-fcolor-diagnostics flag and idf.py output is not redirected, the
final output in the terminal will be colorized.

(-fcolor-diagnostics is handled at CMake level by the previous commit)
2022-08-29 11:15:00 +02:00
morris d36af75642 Merge branch 'feature/add_esp32c6_rom_header_file' into 'master'
esp_rom: add esp32c6 header files

See merge request espressif/esp-idf!19796
2022-08-29 17:14:09 +08:00
Ivan Grokhotkov 41cffbb2f2
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
Related to https://github.com/espressif/esp-idf/issues/4162

Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.

(Colorized build system output, like from GNU Make, is produced even
without this flag.)

Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-08-29 11:05:15 +02:00
Roland Dobai 94a2d9f16a Merge branch 'bugfix/fix_hints_templates' into 'master'
tools: fix hints templates

See merge request espressif/esp-idf!19789
2022-08-29 16:43:14 +08:00
Aditya Patwardhan 187d3c2b40 Merge branch 'feature/use_esp_secure_cert_tool_for_ssl_ds_example' into 'master'
mqtt/ssl_ds example: Remove configure_ds.py script, use

Closes IDFGH-7353

See merge request espressif/esp-idf!19764
2022-08-29 16:37:31 +08:00
Roland Dobai 55b7b42724 Merge branch 'bugfix/fix_CN_letters_in_monitor' into 'master'
tools: fix multi-byte character appearance in idf.py monitor

See merge request espressif/esp-idf!19566
2022-08-29 16:36:01 +08:00
morris b82d6ce928 md5_hash: fix copyright checker 2022-08-29 15:40:37 +08:00
wuzhenghui fbeb6195c2 esp_rom: add esp32c6 header files 2022-08-29 15:40:37 +08:00
Aditya Patwardhan 41707d0f17 mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
the example
2022-08-29 13:06:21 +05:30
Kapil Gupta 06db6c2098 Merge branch 'bugfix/wps_ssid_len_validation' into 'master'
wpa_supplicant: Add WPS ssid length validation

See merge request espressif/esp-idf!19486
2022-08-29 13:55:17 +08:00
Dai Zi Yan ad800461c3 Merge branch 'docs/translate_for_bluetooth' into 'master'
docs: added CN translation for bluetooth-low-enery and bluetooth-classic

Closes DOC-3537

See merge request espressif/esp-idf!19752
2022-08-29 13:46:19 +08:00
Aditya Patwardhan 8387725c4f mqtt/ssl_ds example: Update the code to use `esp_secure_cert` component 2022-08-29 10:53:17 +05:30
Aditya Patwardhan d64bda5946 mqtt/ssl_ds example: Remove configure_ds.py script, use
esp-secure-cert-tool instread
2022-08-29 10:53:17 +05:30
Jiang Jiang Jian 33b51563dc Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning' into 'master'
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption

Closes IDFGH-5643

See merge request espressif/esp-idf!19485
2022-08-29 12:21:43 +08:00
daiziyan 27ea222bb5 docs: added CN translation for bluetooth-low-enery and bluetooth-classic 2022-08-29 12:06:31 +08:00
Simon 949ddc3501 Merge branch 'test/add_c2_extflash_test' into 'master'
esp_flash: Add EXT flash test on ESP32-C2

See merge request espressif/esp-idf!19700
2022-08-29 11:42:58 +08:00
Michael (XIAO Xufeng) 4fb1ccdd4e Merge branch 'feature/c2_efuse_with_26mhz' into 'master'
efuse(es32c2): Supports 26MHz XTAL

Closes IDF-5427

See merge request espressif/esp-idf!18851
2022-08-29 01:43:57 +08:00
Ivan Grokhotkov 7ab8500aaa Merge branch 'doc/lcd_list' into 'master'
docs: Added link to list of available LCD controller drivers.

See merge request espressif/esp-idf!19769
2022-08-28 22:11:37 +08:00
Ondrej Kosta 742205a1e7 Merge branch 'feature/examples_eth_init' into 'master'
Ethernet examples: new common init

Closes IDF-5521

See merge request espressif/esp-idf!19210
2022-08-27 22:16:36 +08:00
Roland Dobai bcec9c80f8 Merge branch 'tools/idf_size_add_csv_support' into 'master'
tools: Add CSV support to idf_size.py

Closes IDF-4734

See merge request espressif/esp-idf!19054
2022-08-27 02:03:04 +08:00
Armando (Dou Yiwen) 49dc1a32c5 Merge branch 'bugfix/remove_esp_adc_wno_flag' into 'master'
esp_adc: remove wno flag

Closes IDF-5765

See merge request espressif/esp-idf!19791
2022-08-26 22:32:24 +08:00
Armando (Dou Yiwen) ac63c0afd7 Merge branch 'feature/basic_mmu_framework' into 'master'
mmu: basic mmu driver framework

Closes IDFGH-6659 and IDF-5825

See merge request espressif/esp-idf!19547
2022-08-26 22:19:10 +08:00
Ondrej Kosta 20e668259e Ethernet examples: added new common init for Ethernet drivers 2022-08-26 15:43:16 +02:00
Djordje Nedic 5ee663d592 tools: Add CSV support to idf_size.py
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.

idf_size.py --json argument is deprecated but left to avoid a breaking change.

For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.

Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
Krzysztof Budzynski 5c1044d84d Merge branch 'feature/docs-add-debugging-freertos-objects' into 'master'
docs: add debugging freertos objects

See merge request espressif/esp-idf!18357
2022-08-26 20:32:30 +08:00
morris ebd3081d97 Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
gpio: Fix missing set hold bit in rtc gpio register

Closes IDFGH-2489

See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Armando ebe5861565 esp_psram: added a test for unaligned access 2022-08-26 17:59:06 +08:00
Armando 2d44dc1eed mmu: driver framework, for vaddr maintenance
This commit gives basic mmu driver framework. Now it is able to maintain
mmu virtual address usage on esp32, esp32s2 and esp32s3. Usage to
external virtual address should rely on mmu functions to know which
address range is available, instead of hardcoded.

This commit also improves psram memory that is added to the heap
allocator. Now it's added to the heap, according to the memory
alignment.

Closes https://github.com/espressif/esp-idf/issues/8295
2022-08-26 17:59:06 +08:00
Omar Chebib 2f8c76abf2 Merge branch 'bugfix/rename_configs_not_set' into 'master'
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed

See merge request espressif/esp-idf!19751
2022-08-26 16:33:27 +08:00
Ondrej Kosta 9c73c00a05 Merge branch 'bugfix/iperf_py_script_upt' into 'master'
ci iperf: fixed condition for waiting to iperf server is up in DUT

Closes IDFCI-1285

See merge request espressif/esp-idf!19575
2022-08-26 16:32:49 +08:00
Armando 50a8d8412e esp_adc: remove wno flag 2022-08-26 15:08:18 +08:00
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 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