Martin Vychodil
1abd4eac2c
Merge branch 'test/fatfs_component_test_apps' into 'master'
...
fatfs: migrate unit tests to component test app, re-enable test for C2
Closes IDF-5588 and IDF-5136
See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Roland Dobai
a6792c2673
Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
...
Tools: use tools.json to double-check toolchain version when building
See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
...
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Ivan Grokhotkov
104f2da4c6
Merge branch 'feature/pytest_build_system' into 'master'
...
build system: add initial version of pytest-based build system tests
See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
David Čermák
bea755605e
Merge branch 'ci/fix_mqtt5_broker_not_available' into 'master'
...
ci: Fix mqtt broker is not available
Closes IDFCI-1476
See merge request espressif/esp-idf!20434
2022-09-30 19:42:52 +08:00
yuanjianmin
a839121285
ci: Fix mqtt broker is not available
2022-09-30 10:07:19 +08:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
morris
88c0053172
Merge branch 'feature/esp32c6_bringup' into 'master'
...
ESP32C6: Introduce new chip target esp32c6
Closes IDF-5247
See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd
Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
...
console: move unit tests to pytest
Closes IDF-5568
See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Zim Kalinowski
c37ccfb84e
console: migrate console tests to pytest
2022-09-26 12:02:38 +02:00
Roland Dobai
02605f1a31
Merge branch 'fix/idf_tools_download_issues' into 'master'
...
Tools: Improve download error messages coming from idf_tools.py
Closes IDFGH-8120
See merge request espressif/esp-idf!20325
2022-09-26 16:55:48 +08:00
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Roland Dobai
e2c66520db
Tools: Improve download error messages coming from idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/9618
2022-09-23 14:00:31 +02:00
Guillaume Souchere
bf18a05a5f
unit-tests: Move the leak related tests from the heap component to test_utils
2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d
heap: migrate unit tests to pytest
2022-09-23 09:49:07 +02:00
Roland Dobai
a1eee69e8f
Merge branch 'fix/openocd-prints-old-logs' into 'master'
...
tools: fix openocd old logs print
See merge request espressif/esp-idf!20176
2022-09-22 15:21:07 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
4539020dac
tools: fix openocd old logs print
2022-09-21 22:41:16 +04:00
Alexey Lapshin
c17a7f446c
tools: move cmake executable check into function uses it
...
Before this change idf.py could exit with reason cmake does not exist in PATH
even cmake will not be executed by idf.py (e.g., 'idf.py gdb').
2022-09-21 22:39:03 +04:00
Alexey Lapshin
0fd4b09a46
tools: add test for ROM symbols in GDB
2022-09-21 22:39:03 +04:00
Alexey Lapshin
b9ed89228d
test_apps: fix monitor_ide_integration test
2022-09-21 22:39:03 +04:00
Alexey Lapshin
29655fe22a
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Alexey Lapshin
fd2846c95e
tools: add esp-rom-elfs version '20220823'
2022-09-21 22:39:03 +04:00
Rocha Euripedes
819dae8008
Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
...
Mqtt: Cmakelists.txt file simplification.
See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08:00
Gao Xu
1005c3b9d5
Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
...
system: add an example showing moving Flash content to PSRAM feature
Closes IDF-5156
See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
Marius Vikhammer
0b0a541c7d
Merge branch 'feature/pthread_pytest' into 'master'
...
pthread: migrate unit tests to pytest test app
Closes IDF-5600
See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
adcf07b3b8
cmake: strip -D prefix from COMPILE_DEFINITIONS property values
2022-09-20 11:35:46 +02:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
...
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
...
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.
(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
49dedb77ac
cmake: use add_compile_definitions supported since 3.12
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Roland Dobai
c658d09a98
Merge branch 'bugfix/writable_idf_tools_path' into 'master'
...
Tools: Support ESP-IDF installed in system-wide shared directory for all users
Closes IDFGH-7790 and IDFGH-7791
See merge request espressif/esp-idf!19479
2022-09-19 22:14:33 +08:00
Roland Dobai
d9d646f20e
Merge branch 'bugfix/idf_py_size_default_format' into 'master'
...
tools: default to text output format in 'idf.py size'
Closes IDF-5952
See merge request espressif/esp-idf!20088
2022-09-19 17:46:34 +08:00
Marius Vikhammer
46c092c04a
pthread: migrate unit tests to pytest test app
2022-09-19 17:43:33 +08:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Euripedes Rocha
dd441ef713
Makes COMPONENT_LIB available for mock components
...
- COMPONENT_LIB wasn't available for parent scope
2022-09-19 09:11:15 +00:00
gaoxu
47c02efa72
system: add an example and pytest to showing moving Flash content to PSRAM feature.
2022-09-19 12:25:30 +08:00
harshal.patil
68a7da3f0b
test_utils: reset critical lwip leap level
...
Test cases calling test_case_uses_tcpip() set critical lwip leak level to 4095, but do not reset it to default.
Hence, 4095 used to get added while calculating the critical threshold for the testcases following them.
2022-09-17 14:31:36 +05:30
harshal.patil
317eeddce4
fix: memory leaks check added
2022-09-17 14:31:36 +05:30
harshal.patil
146f101289
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
2022-09-17 14:31:36 +05:30
Darian
03b25c6a0d
Merge branch 'bugfix/riscv_interrupt_function_naming' into 'master'
...
riscv: Fix interrupt function naming and redundancy
See merge request espressif/esp-idf!19251
2022-09-17 00:33:33 +08:00