Armando
6933ba39bc
fix(system): fixed ram loadable app on p4
2024-09-09 10:31:48 +08:00
Alexey Lapshin
2dc4ca4fa6
fix(ci): ignore .section field for check_public_headers.py
2024-09-08 13:53:52 +07:00
Alexey Lapshin
29b028076a
feat(cxx): change test value of __cplusplus to 202302L
2024-09-08 13:53:52 +07:00
Alexey Lapshin
47212eaa3a
feat(tools): update toolchain version to esp-14.2.0_20240903
...
Closes https://github.com/espressif/esp-idf/issues/13979
Closes https://github.com/espressif/esp-idf/issues/14273
Closes https://github.com/espressif/esp-idf/issues/14267
2024-09-08 13:52:22 +07:00
Frantisek Hrbata
65d18fce4c
fix(activate): use exe instead of comm for parent shell detection
...
Currently, we are using psutil.Process().name(), which includes the
command as entered on the command line. This becomes an issue if the
export script is initiated within another script.
run.sh
#!/usr/bin/bash
. ./export.sh
In this case the activate script will see `run.sh` instead of bash.
/proc/<pid>/com vs /proc/<pid>/exe
Use exe(), which contains the full executable path to fix this.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-06 15:58:24 +02:00
Marek Fiala
f90b847cb1
Merge branch 'fix/correct_shell_detection' into 'master'
...
fix(tools): Corrected detect_shell
See merge request espressif/esp-idf!33365
2024-09-06 19:22:15 +08:00
Alexey Lapshin
c605620073
Merge branch 'fix/keep-got-sections-for-riscv' into 'master'
...
feat(esp_system): drop .got* sections and add hint
See merge request espressif/esp-idf!32969
2024-09-06 19:21:06 +08:00
Marek Fiala
24ae042bba
fix(tools): Corrected detect_shell
...
When comparing process name with python,
lowercase the process name in condition.
2024-09-06 11:11:50 +02:00
Roland Dobai
e7c0d69215
Merge branch 'feature/python_activation' into 'master'
...
feat: add python script to activate ESP-IDF environment
Closes IDF-4803
See merge request espressif/esp-idf!31334
2024-09-06 14:37:53 +08:00
Roland Dobai
17fed13a27
Merge branch 'distutils' into 'master'
...
fix(tools): remove distutils to support python 3.12
Closes IDFGH-13510
See merge request espressif/esp-idf!33260
2024-09-06 14:23:04 +08:00
Alexey Lapshin
73987108cd
feat(esp_system): drop .got* sections and add hint
...
Closes https://github.com/espressif/esp-idf/issues/14296
2024-09-05 15:47:01 +07:00
Marek Fiala
7b417fc3f2
feat(tools): Add backup option to use legacy export script
...
This feature serves as an immediate fix in case
the new export approach causes issues.
The user can simply set the environment variable `ESP_IDF_LEGACY_EXPORT`,
and the old export script will be used.
2024-09-05 10:13:05 +02:00
Marek Fiala
88527faff8
feat(tools): Added Windows shells support + refactoring
2024-09-05 10:13:04 +02:00
Frantisek Hrbata
1c22f6c4e8
feat: add python script to activate ESP-IDF environment
...
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-05 10:13:03 +02:00
Omar Chebib
d025ff4073
test(panic): enable tests for esp32c61
2024-09-05 14:50:58 +08:00
Guilhem Saurel
727c6a82ea
fix(tools): python3.12 support
...
remove distutils use
2024-09-04 18:00:56 +02:00
Erhan Kurubas
1e3c3b8738
Merge branch 'feature/esp32c5_coredump' into 'master'
...
ESP32-C5 enable core dump tests
Closes IDF-8661
See merge request espressif/esp-idf!30151
2024-09-04 20:08:48 +08:00
Marek Fiala
ccf5989505
feat(tools): Exclude modified folders by rebuild
2024-09-04 12:48:15 +02:00
Marek Fiala
f0ca91b103
feat(tools): Update tools: cmake, ninja, ccache
...
cmake v3.24.0 -> v3.30.2
ninja v1.11.1 -> v1.12.1
ccache v4.8 -> v4.10.2
Closes https://github.com/espressif/esp-idf/pull/14376
2024-09-04 12:48:14 +02:00
Wan Lei
3606d9ebf7
Merge branch 'fix/soc_and_iomux_macro_refactor' into 'master'
...
fix(driver_spi): move spi related macros out from soc.h and iomux_reg.h
See merge request espressif/esp-idf!32953
2024-09-04 10:35:11 +08:00
Aleksei Apaseev
5a88c4d1ab
ci: add condition to print retry job message in dynamic pipeline report if any job has failed
...
- Updated `generate_jobs_report` function to check if any job in the list has `is_failed = True`.
- Improved code readability and maintainability by reducing complexity in the `post_report` method.
2024-09-03 14:51:13 +08:00
wanckl
19c6e77a31
fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h
2024-09-03 13:55:00 +08:00
Wan Lei
ae5c7d46d1
Merge branch 'ci/enable_c61_target_test' into 'master'
...
ci(esp32c61): enable c61 generic target test
Closes IDF-9285 and IDF-9288
See merge request espressif/esp-idf!33088
2024-09-03 11:53:02 +08:00
Song Ruo Jing
b6916ca304
Merge branch 'bugfix/custom_console_uart_pins_c5_c61' into 'master'
...
fix(uart): make custom console uart TX/RX pins same to the default console uart pins
See merge request espressif/esp-idf!33110
2024-09-02 21:26:56 +08:00
Peter Marcisovsky
81ad0eb544
Merge branch 'ci/add_advanced_usb_cdc_ci' into 'master'
...
Refactor(console): merge console advanced and advanced_usb_cdc examples
Closes IDF-9676 and DOC-8784
See merge request espressif/esp-idf!29626
2024-09-02 21:15:19 +08:00
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00
Song Ruo Jing
8e53e91ec9
fix(uart): make custom console uart pins same to the default console uart pins
2024-09-02 15:24:29 +08:00
Peter Marcisovsky
82a4c12817
refactor(console/advanced): Merge console advanced and advanced_usb_cdc examples
...
- removed examples/system/console/advanced_usb_cdc
- refactor resulting console/advanced example
- enabled advanced console for all peripherals (UART, USB_OTG, USB_JTAG)
- added pytest to check UART console output
- update docs
2024-09-02 09:14:42 +02:00
Mahavir Jain
02da65314b
Merge branch 'feat/adding_test_case_anti_rollback_and_flash_encryption' into 'master'
...
feat(ota): Added test for checking flash encryption and anti-rollback enabled
Closes IDF-9200
See merge request espressif/esp-idf!32951
2024-09-02 14:04:45 +08:00
Xu Xiao
a3274e502e
Merge branch 'chip/esp32c61_mp_support_wifi' into 'master'
...
esp32c61 mp support wifi
See merge request espressif/esp-idf!32960
2024-09-02 12:06:53 +08:00
Marius Vikhammer
7cf872e610
Merge branch 'bugfix/eh_frame_backtrace' into 'master'
...
fix(system): fixed eh-frame backtrace issue from WDT
See merge request espressif/esp-idf!33112
2024-09-02 11:48:58 +08:00
Omar Chebib
c68c404cdc
Merge branch 'fix/xtensa_nmi' into 'master'
...
fix(esp_hw_support): make the NMI interrupts available for the main application
Closes IDF-1891 and IDFGH-12631
See merge request espressif/esp-idf!32767
2024-09-02 11:18:32 +08:00
xuxiao
8780375859
feat(wifi): add wifi support for esp32c61
2024-08-30 20:43:06 +08:00
Erhan Kurubas
23bc6eac43
test(coredump): enable esp32c5 coredump tests
2024-08-30 13:17:44 +03:00
Erhan Kurubas
d91ac9a261
Merge branch 'fix/coredump_tests' into 'master'
...
test(coredump): fix failed core dump tests
Closes IDFCI-2202 and IDFCI-2349
See merge request espressif/esp-idf!32796
2024-08-30 17:08:05 +08:00
hrushikesh.bhosale
99f0e1b526
feat(ota): Added test for checking flash encryption and anti-rollback enabled
...
Added test to check if flash encryption and anti-rollback enbaled
together. Added marked pytest.mark.flash_encryption to advanced OTA
test.
2024-08-30 14:11:33 +05:30
Kevin (Lao Kaiyao)
1d0d121861
Merge branch 'bugfix/i2s_dma_buf_saturation_on_p4' into 'master'
...
fix(i2s): fixed alignment of max DMA buffer length on P4
Closes IDFGH-13559
See merge request espressif/esp-idf!33134
2024-08-30 15:42:16 +08:00
Sudeep Mohanty
dfe20e46a1
Merge branch 'task/add_ldgen_exception_for_freertos' into 'master'
...
fix(freertos): Added freertos and ringbuf fragments to the exception list of ldgen mapping checks
Closes IDF-10489
See merge request espressif/esp-idf!32702
2024-08-30 14:43:44 +08:00
Li Shuai
1fa27cbb0d
Merge branch 'feature/esp32c5mp_light_sleep_support_stage_2' into 'master'
...
feat(esp_hw_support): esp32c5mp sleep support (system part)
Closes IDF-8643, PM-195, PM-169, IDF-8641, IDF-8640, IDF-8639, IDF-8638, CV-259, IDF-10308, IDF-10317, IDF-10310, PM-202, IDF-10918, PM-207, PM-208, PM-210, and PM-214
See merge request espressif/esp-idf!31645
2024-08-29 19:32:05 +08:00
laokaiyao
462698f2de
change(i2s): add warning for inaccurate sample rate
2024-08-29 19:03:19 +08:00
Lou Tianhao
4393343ac9
fix(ci): some actions taken to pass ci
2024-08-29 14:15:41 +08:00
Armando (Dou Yiwen)
7a5c05e7c0
Merge branch 'feat/sdspi_c5' into 'master'
...
sdspi: support on c5
Closes IDF-8704
See merge request espressif/esp-idf!32635
2024-08-29 14:03:44 +08:00
Omar Chebib
928859307f
fix(esp_hw_support): make the NMI interrupts available for the main application
...
Closes https://github.com/espressif/esp-idf/issues/13629
NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2024-08-29 13:55:47 +08:00
Mahavir Jain
966f2c6a5b
Merge branch 'docs/secure_boot_rsa_pss' into 'master'
...
docs(secure_boot_v2): OpenSSL command for generating and verifying signatures
Closes ESPTOOL-787
See merge request espressif/esp-idf!31204
2024-08-29 11:40:49 +08:00
Armando
2133ca9522
test(sd): added .cpp build test
2024-08-29 09:06:02 +08:00
Erhan Kurubas
99b89b726d
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240821' into 'master'
...
feat(tools): update openocd version to v0.12.0-esp32-20240821
See merge request espressif/esp-idf!33094
2024-08-28 16:52:47 +08:00
Erhan Kurubas
3ef9750005
test(coredump): fix failed core dump tests
2024-08-28 11:12:39 +03:00
Marius Vikhammer
7f5496de53
test(system): add more eh-frame tests
2024-08-28 10:01:18 +08:00
harshal.patil
e5f22521da
docs(secure_boot_v2): Mention idf.py and openssl commands to generate and verify signatures
...
- Adds support for verify_signature command in idf.py
Closes https://github.com/espressif/esptool/issues/942
2024-08-27 15:44:05 +05:30
Omar Chebib
6f968394bd
Merge branch 'bugfix/ldgen_file_single_entry' into 'master'
...
fix(ldgen): fix linker script generation from a single-entry fragment file
See merge request espressif/esp-idf!33033
2024-08-27 10:10:30 +08:00
Alexey Gerenkov
f429790e34
feat(tools): update openocd version to v0.12.0-esp32-20240821
2024-08-26 17:36:53 +00:00
Marius Vikhammer
a04bedc4ce
Merge branch 'bugfix/assert_ndebug' into 'master'
...
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
Closes IDFGH-479 and IDFGH-8692
See merge request espressif/esp-idf!32887
2024-08-26 15:42:31 +08:00
Omar Chebib
a8bb279dff
fix(ldgen): fix linker script generation from a single-entry fragment file
2024-08-23 17:25:19 +08:00
Radim Karniš
4ccdc51b07
ci(espefuse_test): Comply with esptool v4.8
2024-08-22 16:12:16 +02:00
Ivan Grokhotkov
5e9ac5bdf7
test(build_system): print failed command and output when test fails
2024-08-22 13:59:43 +02:00
C.S.M
2cbf859f6f
fix(intr_dump): Fix the interrupt dump expected output
2024-08-22 11:26:30 +08:00
Marek Fiala
364f777f96
feat(tools): Allow test_spaces_bundle4 to fail on Win
2024-08-21 14:37:06 +02:00
Marek Fiala
e95aff7ca9
feat(tools): sanitize all fixtures using test names
...
The parametrization include `[` and `]` in names. This is not
possible to use within path. Expand the sanitization into all
fixtures using request.node.name.
2024-08-21 14:37:06 +02:00
Marek Fiala
ccbb415be8
feat(tools): add pytest mark idf_copy_with_space
2024-08-21 14:37:05 +02:00
Marek Fiala
f0e8966ca5
feat(tools): Use custom directory in failing pytest
2024-08-21 14:37:05 +02:00
Ivan Grokhotkov
0773caf283
Merge branch 'feature/idf_py_efuse_qemu' into 'master'
...
feat(idf.py): support efuse-related commands in QEMU
Closes QEMU-193
See merge request espressif/esp-idf!29809
2024-08-21 16:13:54 +08:00
Mahavir Jain
71b56bd3f3
Merge branch 'feature/introduce_security_component' into 'master'
...
Introduce a new security component
Closes IDF-9359
See merge request espressif/esp-idf!31969
2024-08-20 22:18:07 +08:00
Alexey Lapshin
64f9917dde
fix(build): fix orphan sections warning kconfig variable
2024-08-20 20:07:32 +08:00
radek.tandler
b937cb7549
fix(storage/nvs): Fixed hadling of inconsistent values in NVS entry header
...
feat(storage/nvs): Added test cases for damaged entries with correct CRC
2024-08-20 10:57:24 +02:00
Jakob Hasse
d2cfb78d31
Merge branch 'refactor/spi_ram_stack_with_heap_caps_config' into 'master'
...
refactor(esp_psram): allow PSRAM as stack when PSRAM is only available via esp_heap_caps
Closes IDFGH-11604
See merge request espressif/esp-idf!32832
2024-08-20 16:48:44 +08:00
Ren Pei Ying
6ab490194c
Merge branch 'docs/optimize_translation_for_api_reference_system_inc_files' into 'master'
...
docs: Optimize translation for api-reference/system/inc files
Closes DOC-8087
See merge request espressif/esp-idf!32033
2024-08-20 16:47:30 +08:00
Mahavir Jain
cdee290a5d
Merge branch 'ci/enable_memprot_tests_for_esp32c5' into 'master'
...
docker / docker (push) Waiting to run
Enable memory protection tests for ESP32-C5
Closes IDF-10099
See merge request espressif/esp-idf!32766
2024-08-20 13:35:29 +08:00
Mahavir Jain
1e8391f5fe
fix(esp_security): keep esp_security as private dependency for esp_hw_support
...
- Only esp_hw_support -> esp_security as new private dependency
- In next major IDF release, the public interface can be moved
esp_security component
2024-08-20 12:35:22 +08:00
Marius Vikhammer
ff8265b6b3
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
...
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.
This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.
With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.
Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
renpeiying
20379aeffb
docs: Optimize translation for api-reference/system/inc files
2024-08-19 13:09:34 +08:00
Ivan Grokhotkov
5ef75d5073
Merge branch 'bugfix/reproducible_builds_improvements' into 'master'
...
build system: reproducible build improvements
Closes IDFGH-12690
See merge request espressif/esp-idf!32734
2024-08-16 19:02:40 +08:00
Michael (XIAO Xufeng)
742a4838d6
Merge branch 'fix/mmu_multicore_app_bl' into 'master'
...
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader
Closes IDFGH-10359
See merge request espressif/esp-idf!32745
2024-08-16 11:49:32 +08:00
Ivan Grokhotkov
7b228ce8ab
feat(idf.py): allow running idf.py efuse-* commands with QEMU
2024-08-15 16:57:08 +02:00
Ivan Grokhotkov
cbc52e7d30
test(build_system): check reproducible builds with spaces in paths
2024-08-15 16:41:32 +02:00
Ivan Grokhotkov
bef4cb05ff
fix(build_system): fix toolchain sysroot directory affecting builds
...
Closes https://github.com/espressif/esp-idf/issues/13680
2024-08-15 16:41:31 +02:00
Jakob Hasse
0d32deb4c4
refactor(test_apps): increased timeout of panic tests
2024-08-15 16:16:54 +02:00
Aleksei Apaseev
c30d22630f
ci: update the logic to use the gitlab API to fetch failed jobs
2024-08-15 16:04:35 +08:00
Aleksei Apaseev
a0c3fb4d4a
ci: add name for child pipelines
2024-08-15 16:04:35 +08:00
Aleksei Apaseev
4e44310ff1
ci: update authorization from Bearer token to CI_JOB_TOKEN while making requests to CI_DASHBOARD_API service
2024-08-15 16:04:35 +08:00
Aleksei Apaseev
f154151e14
ci: retry jobs for parent and child pipelines
2024-08-15 16:04:35 +08:00
Xiao Xufeng
00c144aa99
ci(mmu): add unicore test
2024-08-15 12:00:08 +08:00
Kevin (Lao Kaiyao)
eff2e4eddd
Merge branch 'feature/support_i2c_on_c61' into 'master'
...
feat(i2c): support i2c on esp32-c61
Closes IDF-9296 and IDF-9297
See merge request espressif/esp-idf!32596
2024-08-15 09:07:01 +08:00
Mahavir Jain
f1492a97a2
Merge branch 'bugfix/s3_memprot_exec_test' into 'master'
...
Fix(Security): Fixed ESP32S3 Memprot RTCFAST code-execution tests
Closes IDF-10719
See merge request espressif/esp-idf!32649
2024-08-14 14:56:40 +08:00
laokaiyao
1397e5421e
feat(i2c): support i2c on esp32-c61
2024-08-14 11:25:31 +08:00
C.S.M
fbab3bc874
Merge branch 'feat/temperature_sensor_bringup' into 'master'
...
feature(temperature_sensor): Add temperature sensor support on esp32c5
Closes IDF-8727
See merge request espressif/esp-idf!32665
2024-08-14 10:53:26 +08:00
Sudeep Mohanty
2f145230b9
test(freertos): Added build test for function in flash with -Os optimation
...
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-13 20:54:14 +02:00
Sudeep Mohanty
891c4d5264
fix(freertos): Added freertos fragments to the exception list of ldgen mapping checks
...
This commit adds freertos and esp_ringbuf linker fragment sections
to the exception list of the ldgen mappings checker script.
2024-08-13 20:54:14 +02:00
Jakob Hasse
d7ca8b94c8
Merge branch 'contrib/github_pr_14339' into 'master'
...
docker / docker (push) Has been cancelled
Fix(pthread): Added linux port with empty functions to make pthread cxx example build. (GitHub PR)
Closes IDFGH-13424 and IDFGH-13433
See merge request espressif/esp-idf!32785
2024-08-14 00:05:12 +08:00
Nilesh Kale
6028332164
Merge branch 'feature/enable_secure_boot_in_esp32c61' into 'master'
...
feat: enable secure boot feature for esp32c61
Closes IDF-9233
See merge request espressif/esp-idf!31420
2024-08-13 19:23:53 +08:00
Cristian Funes
d3ab90ba24
fix(pthread): Fix cxx pthread example build for linux platform
...
Closes https://github.com/espressif/esp-idf/pull/14339
2024-08-13 10:48:17 +02:00
Ivan Grokhotkov
6db8c98e90
Merge branch 'bugfix/missing_component_check' into 'master'
...
fix(cmake): report correct error on unknown component name
See merge request espressif/esp-idf!32062
2024-08-13 16:06:50 +08:00
C.S.M
5d4275fb75
feature(temperature_sensor): Add temperature sensor support on esp32c5
2024-08-13 11:55:39 +08:00
Marius Vikhammer
6cbee5c7f6
Merge branch 'contrib/github_pr_13578' into 'master'
...
Make FreeRTOS configUSE_TIMERS optional in KConfig (GitHub PR)
Closes IDFGH-12576
See merge request espressif/esp-idf!32576
2024-08-13 10:06:51 +08:00
Ivan Grokhotkov
c521fcb6fd
fix(cmake): report correct error on unknown component name
...
Previously the error message was
CMake Error at /home/user/esp-idf/tools/cmake/build.cmake:296 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
/home/user/esp-idf/tools/cmake/build.cmake:341 (__build_resolve_and_add_req)
/home/user/esp-idf/tools/cmake/build.cmake:638 (__build_expand_requirements)
/home/user/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:6 (project)
Now it will be:
CMake Error at /home/user/esp-idf/tools/cmake/build.cmake:298 (message):
Failed to resolve component 'whatever' required by component 'main'.
Call Stack (most recent call first):
/home/user/esp-idf/tools/cmake/build.cmake:345 (__build_resolve_and_add_req)
/home/user/esp-idf/tools/cmake/build.cmake:642 (__build_expand_requirements)
/home/user/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:6 (project)
Also improved the hint to show the component name in quotes.
2024-08-12 17:54:44 +02:00
Ivan Grokhotkov
1c343d8923
change(build_system): refactor reproducible build handling
...
- remove generate_debug_prefix_map.py, move its logic into CMake
- move all reproducible builds logic into a new file, prefix_map.cmake
2024-08-12 13:26:33 +02:00
harshal.patil
14cbd837b3
ci(memprot): enable memory protection tests for ESP32-C5
2024-08-12 11:08:33 +05:30
Aleksei Apaseev
9862ae280f
Merge branch 'ci/add-retry-job-func-to-report' into 'master'
...
ci: add retry job functionality to dynamic pipeline report
Closes IDFCI-2211
See merge request espressif/esp-idf!32147
2024-08-12 09:46:02 +08:00
Ivan Grokhotkov
fc4c445643
test(build_system): move reproducible build test to pytest
2024-08-11 20:24:03 +02:00
Ivan Grokhotkov
d6edcba3b6
test(build_system): extract file helpers, add 'bin_files_differ'
...
- Move file-related functions bin_file_contains and file_contains
from idf_utils.py and existing functions from editing.py into a new
file file_utils.py
- Add a function 'bin_files_differ' to compare binary files
2024-08-11 20:23:27 +02:00
Erhan Kurubas
9b38f87781
Revert "Merge branch 'add_openocd_stub_bins' into 'master'"
...
This reverts merge request !31504
2024-08-09 22:49:43 +02:00