Ivan Grokhotkov
f3cef33791
tools/gdb_panic_server: wrap b"" with bytes() for py2.7 compatibility
...
Fixes the exception while decoding the stack dump:
File "tools/gdb_panic_server.py", line 270, in _respond_mem
result += "{:02x}".format(stack_data[addr - stack_addr_min])
ValueError: Unknown format code 'x' for object of type 'str'
2021-01-28 11:20:32 +01:00
Ivan Grokhotkov
e70d534566
tools/idf.py: promote esp32c3 from preview to supported target
2021-01-28 11:12:56 +01:00
Ivan Grokhotkov
9a20283485
Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
...
ci: bugfix: scan_test missing build apps without tests
See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Ivan Grokhotkov
0134fb5cf9
Merge branch 'feature/skip_known_failure_cases' into 'master'
...
CI: Ignore Known Failure Cases Result
Closes IDFCI-135 and IDF-1992
See merge request espressif/esp-idf!10866
2021-01-28 17:47:57 +08:00
Mahavir Jain
719aeacb4e
Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
...
Enable app_update tests for ESP32-C3
Closes IDF-2495
See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00
Fu Hanxi
85d4bca81a
feat(tiny_test_fw): unify all junit report test case name
...
new format: <target>.<config>.<case_name>, the default value of
"config" is "default"
2021-01-28 12:25:14 +08:00
Fu Hanxi
7518393ee8
feat(ci): update known_failure_cases_repo before running tests
2021-01-28 12:25:14 +08:00
Fu Hanxi
d63069068f
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-01-28 12:25:14 +08:00
Martin Vychodil
69096ddce5
Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
...
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)
Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Mahavir Jain
85f120654a
unit-test-app: add config for app_update tests for ESP32-C3
2021-01-27 12:50:39 +05:30
Angus Gratton
526f9507de
Merge branch 'bugfix/linux_host_build_clang' into 'master'
...
build system: don't add GCC-specific options when building with clang
See merge request espressif/esp-idf!12066
2021-01-27 15:17:19 +08:00
Fu Hanxi
eef620a028
fix: drop s3, c3 support for pppos test apps
...
no SOC_UART_SUPPORT_REF_TICK for these targets
2021-01-27 12:35:49 +08:00
Fu Hanxi
119b61451f
fix(test_apps): add supported targets for memprot, panic, monitor_ide
2021-01-27 12:35:49 +08:00
Fu Hanxi
be3d74efb2
fix(ci): scan_test missing build apps without tests
2021-01-27 12:35:49 +08:00
Juraj Michálek
eeec8952de
bugfix: revert command for invoking iscc
2021-01-26 14:21:44 +01:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Cao Sen Miao
f3e79ca166
spi_flash(c3): add boya chip support for suspend feature
2021-01-25 11:14:06 +08:00
Ivan Grokhotkov
ed7fbfefac
build system: don't add GCC-specific options when building with clang
2021-01-24 12:48:29 +01:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
Ivan Grokhotkov
88252c98b8
Merge branch 'feature/refactor_espcoredump' into 'master'
...
Feature: Refactor espcoredump
See merge request espressif/esp-idf!11525
2021-01-21 20:35:31 +08:00
Ivan Grokhotkov
61c5604d83
Merge branch 'feature/pwsh_4win_installer' into 'master'
...
win_installer: Powershell support
Closes IDF-930
See merge request espressif/esp-idf!6882
2021-01-21 18:19:01 +08:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
Fu Hanxi
be71f5050d
core dump: modify the test according to the refactor
2021-01-21 15:14:59 +08:00
He Yin Ling
3a732f1e52
Merge branch 'ci/build_ssc_on_esp32c3' into 'master'
...
CI: add build ESP32C3 SSC jobs
See merge request espressif/esp-idf!12000
2021-01-21 13:34:16 +08:00
He Yin Ling
b036f6c06d
CI: add build ESP32C3 SSC jobs
2021-01-21 03:00:44 +00:00
Aditya Patwardhan
cc3843263a
esp-tls: Added unit tests
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
b77c85c1e1
ttfw/IDFDUT: i) Added option to erase_flash in the IDFDUT class
...
ii) Renamed the method dump_flush to dump_flash
2021-01-20 11:12:14 +00:00
Ivan Grokhotkov
654d4b8d72
Merge branch 'bugfix/ttfw_fix_detect_dut_failed' into 'master'
...
ttfw: fix get dut failed when dut port is set as env variable
See merge request espressif/esp-idf!11994
2021-01-20 07:43:01 +08:00
Ivan Grokhotkov
b69f94fb3a
Merge branch 'feature/move_ringbuf_funcs_into_flash' into 'master'
...
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
Closes IDF-2247
See merge request espressif/esp-idf!10731
2021-01-20 07:32:39 +08:00
Alex Lisitsyn
8bde6b8fca
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
2021-01-20 07:32:31 +08:00
Ivan Grokhotkov
19d2e4cca1
Merge branch 'bugfix/idf_tools_py_splittype_deprecation' into 'master'
...
idf_tools.py: avoid splittype call deprecated in python3.8
Closes IDFGH-4364
See merge request espressif/esp-idf!11956
2021-01-20 07:24:36 +08:00
Juraj Michálek
6d7edcb130
tools: fix: ubounded variable in win installer build script
2021-01-19 13:34:32 +01:00
morris
9fb95b6fa5
ci: don't allow failure for submodule sync
2021-01-19 17:25:48 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
Renz Bagaporo
8d52b0b5e1
ci: exempt upstream libmbedtls mapping for sha256
2021-01-19 11:17:18 +08:00
Renz Bagaporo
ef6c8e351b
ldgen: fix sections info parsing
...
Fixes an issure where the first part of an object file name is not
included, due to matching the rule for a section entry previously.
Reduce depedency on matching literal strings in sections which might
change depending on toolchain (ex. matching 'elf32-xtensa-le')
Make sure parsing rule succeeds for the entirety of the sections info
string by adding 'parseAll=True'.
Add test for sections info parsing.
2021-01-19 11:17:18 +08:00
Renz Bagaporo
32206d3a7d
ci: enabled ldgen mapping check in ci
2021-01-19 11:17:18 +08:00
Renz Bagaporo
d8d24051a4
ldgen: allow checking mappings
2021-01-19 11:17:18 +08:00
Juraj Michálek
f814a4dc02
fix: tools detection of wheels dir
2021-01-18 17:26:20 +01:00
Juraj Michálek
ae703b2bff
tools: ninja: update to 1.10.2
2021-01-18 12:04:54 +01:00
Andrei Gramakov
d23989aee2
win_installer: add PowerShell shortcut
...
add idf_cmd_init.ps1
update git vesion
2021-01-18 11:12:25 +01:00
Ivan Grokhotkov
76acc8ddde
Merge branch 'feature/win_inst_embedded_python' into 'master'
...
tools: support for embedded Python
Closes IDF-322
See merge request espressif/esp-idf!11682
2021-01-18 16:54:47 +08:00
Juraj Michálek
1427b3a6d8
tools: support for embedded python
2021-01-18 08:10:56 +01:00
Angus Gratton
5938b9a892
Merge branch 'feature/support_esp32c3_master_cmake_reset_reason' into 'master'
...
esp32c3: Add UTs for reset_reason
Closes IDF-2091
See merge request espressif/esp-idf!11546
2021-01-18 07:12:21 +08:00
Konstantin Kondrashov
d23c7690f2
esp32c3: Add UTs for reset_reason
2021-01-18 07:12:21 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Anton Maklakov
6d239d703e
Merge branch 'bugfix/ci_test_app_ide_integration' into 'master'
...
CI: Fix port for test app of IDF Monitor IDE integration
Closes IDFCI-388
See merge request espressif/esp-idf!12004
2021-01-15 16:33:13 +08:00
Roland Dobai
c6962df016
CI: Fix port for test app of IDF Monitor IDE integration
2021-01-14 16:17:14 +01:00
Jakob Hasse
b51889dccb
system: stack watchpoint support on C3
...
Closes IDF-2307
2021-01-14 17:46:44 +08:00
He Yin Ling
5befaac4be
ttfw: fix get dut failed when dut port is set as env variable
2021-01-14 17:22:11 +08:00
Ivan Grokhotkov
9827adaa09
panic: fix illegal instruction test to be compatible with RISC-V
2021-01-14 16:35:11 +08:00
Ivan Grokhotkov
8dcdca8d76
Merge branch 'feature/add-ability-to-disable-address-decoding' into 'master'
...
Add ability to disable address decoding using environment variable
Closes IDFGH-180
See merge request espressif/esp-idf!11795
2021-01-14 16:12:35 +08:00
Fu Hanxi
4867b38c74
ci: sonarqube: use exit-code instead of extra job
2021-01-14 11:44:39 +08:00
morris
753a929525
global: fix sign-compare warnings
2021-01-12 14:05:08 +08:00
Angus Gratton
6d3e06a9a3
ttfw: Move TestCaseFailed exception and handle differently to other exceptions
...
But also ensure the string form of this exception is never empty, if it ends up
somewhere else.
2021-01-12 11:42:03 +11:00
Angus Gratton
441d1306be
ci ttfw: Consistently handle unexpected exceptions in test cases
2021-01-12 11:42:03 +11:00
Sergei Silnov
c305ceb55f
idf_tools.py: avoid splittype call deprecated in python3.8
...
Closes https://github.com/espressif/esp-idf/issues/6200
2021-01-11 17:45:29 +01:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
f34925537e
Merge branch 'feature/idf_tools_darwin_arm64' into 'master'
...
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
See merge request espressif/esp-idf!11911
2021-01-08 22:16:06 +08:00
Martin Gaňo
8c0a3aa006
Add ability to disable address decoding using evironment variable
...
Closes https://github.com/espressif/esp-idf/issues/1679
2021-01-08 15:13:50 +01:00
Ivan Grokhotkov
bac77b4bf7
Merge branch 'feature/idf-list-ports' into 'master'
...
idf.py: Use function for port detection from esptool.py in idf.py and idf_monitor.py
Closes IDFGH-3104
See merge request espressif/esp-idf!11359
2021-01-08 21:36:08 +08:00
Ivan Grokhotkov
5739127412
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
...
Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.
Suggested in https://github.com/espressif/esp-idf/issues/6113 .
2021-01-07 21:21:18 +01:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
4e82540730
ttfw: save console log to file
2021-01-07 17:10:40 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
David Cermak
6676a1b4ba
ci/mqtt: Made MQTT test app tls insecure capable
...
This is needed for testing different connection modes in the mqtt
library, specifically:
* test case CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT: default server - expect to connect normally
2021-01-05 21:23:25 +01:00
David Cermak
5472deec6e
ci: Add MQTT publish test to standard test apps
2021-01-05 12:04:36 +00:00
David Cermak
9740db5004
ci: Extend the MQTT weekend test to check mqtt-enqueue api
2021-01-05 12:04:36 +00:00
Angus Gratton
60ec13b122
Merge branch 'feature/make_uf2' into 'master'
...
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
See merge request espressif/esp-idf!11587
2021-01-05 07:17:27 +08:00
martin.gano
f83039a0cb
Imporove port detection in idf.py
...
Closes https://github.com/espressif/esp-idf/issues/5125
2020-12-31 14:25:52 +01:00
Marius Vikhammer
5f130ff909
CI: enable C3 template app
2020-12-31 15:20:05 +11:00
Angus Gratton
76ed28172c
unity: Add option to ignore performance test failures
...
Set by default on FPGA, where performance may be significantly different to a
real chip.
2020-12-31 10:29:31 +11:00
Marius Vikhammer
3458469204
newlib: Update esp32c3 ROM support, use single init function
2020-12-31 09:27:37 +11:00
Angus Gratton
ec75f923ef
Merge branch 'ci/raise_esptool_errors' into 'master'
...
ci: Don't swallow exception details from flashing process
See merge request espressif/esp-idf!11803
2020-12-30 11:22:57 +08:00
Angus Gratton
641b92da75
Merge branch 'feature/add_c3_target_master' into 'master'
...
tools: merge C3 changes into master
Closes IDF-2364 and IDF-2564
See merge request espressif/esp-idf!11800
2020-12-30 10:39:14 +08:00
Ivan Grokhotkov
7ab57605cb
test: panic: make stack overflow test more robust
...
The previous approach was to allocate an array on the stack, and
have the array extend past the stack size. This worked by would
result in SP being moved near the end of the stack. If an interrupt
triggered at that time, interrupt prologue would try to save the
context to the stack, tripping the stack overflow watchpoint.
Replacing this with the approach which doesn't move the SP and simply
writes to decreasing addresses from SP, until stack overflow check
triggers.
2020-12-30 01:10:09 +01:00
Marius Vikhammer
7fe16bae25
tools: merge C3 changes into master
2020-12-30 07:04:12 +08:00
Ivan Grokhotkov
de798541dc
tools: use riscv32-esp-elf toolchain for ESP32-S2 RISC-V ULP
...
riscv32-esp-elf toolchain (used for ESP32-C3) can also be used for
ESP32-S2 RISC-V ULP coprocessor.
This removes the riscv-none-embed-gcc toolchain which was originally
used for the ULP, and updates the docs and CMake files to use
riscv32-esp-elf.
Some flags are cleaned up and workarounds removed from CMake toolchain
file.
2020-12-29 19:19:18 +00:00
Roland Dobai
548ea1bdd5
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
...
@mmoskal This commit adds basic support for UF2 into ESP-IDF.
2020-12-29 18:14:47 +01:00
Ivan Grokhotkov
7f3b16a99d
freertos: always enable static allocation
...
to use it for newlib locks
2020-12-29 16:18:04 +01:00
Anton Maklakov
286f06b274
Merge branch 'bugfix/ci_flasher_args_json_dict_items' into 'master'
...
ci: fix flasher_args.json parser (iterate over dictionary)
Closes IDFCI-347
See merge request espressif/esp-idf!11787
2020-12-29 21:15:12 +08:00
Angus Gratton
88d0d1fa02
ci: Don't swallow exception details from flashing process
...
If flashing fails, throw an exception that includes some information about the failure.
2020-12-29 15:41:22 +11:00
Angus Gratton
629b4270b4
Merge branch 'feature/c3_mbedtls_merge' into 'master'
...
mbedtls: merge changes from C3 to master
Closes IDF-2544 and IDF-2114
See merge request espressif/esp-idf!11718
2020-12-29 12:37:08 +08:00
Omar Chebib
fcbc706a66
ci: fix flasher_args.json parser (iterate over dictionary)
...
Closes IDFCI-347
2020-12-29 12:27:51 +08:00
Angus Gratton
6e006f0443
Merge branch 'bugfix/example_001a_missing_log' into 'master'
...
CI: bugfix: example_001A missing junit report
See merge request espressif/esp-idf!11706
2020-12-29 11:57:46 +08:00
Marius Vikhammer
1b6891c5d8
mbedtls: merge changes from C3
2020-12-29 10:56:13 +08:00
Ivan Grokhotkov
0b31f6a5fc
Merge branch 'feature/ci_flasher_args_json_encrypted_flag' into 'master'
...
ci: use "encrypted" information in flasher_args.json
Closes IDF-2231
See merge request espressif/esp-idf!11551
2020-12-28 06:37:05 +08:00
Angus Gratton
c3ba995f2c
Merge branch 'ci/ccomp_performance_tests' into 'master'
...
unit_test: Refactor all performance tests that rely on cache compensated timer
See merge request espressif/esp-idf!11709
2020-12-24 13:44:52 +08:00
Angus Gratton
7a40b1695c
Merge branch 'feature/esp32c3_small_changes' into 'master'
...
esp32c3: Merge small target support changes
Closes IDF-2361
See merge request espressif/esp-idf!11714
2020-12-24 12:36:12 +08:00
Angus Gratton
309d76e986
Merge branch 'feature/support_esp32c3_master_cmake_efuse_to_mater' into 'master'
...
efuse: Merge C3 efuse changes to master
Closes IDF-2548
See merge request espressif/esp-idf!11719
2020-12-24 11:43:00 +08:00
Angus Gratton
912cee03a4
cmake: Add esp32c3 toolchain file
2020-12-24 14:18:02 +11:00
Angus Gratton
47d28fdebc
ci: Update rsource_test for esp32c3
2020-12-24 14:18:01 +11:00
jiangguangming
867255bbab
efuse: Add support ESP32-C3
...
Updated:
- CSV eFuse table
- Kconfig
- efuse_table_gen.py
- UTs
- espefuse.py
efuse/c3: Fix the burn order of BLOCKs (MAX->0)
efuse/c3: Support efuse API with keys, protection, purpose bits
tool/ci: Adds test_efuse_table_on_host for esp32s3 and esp32c3
2020-12-23 18:39:18 +08:00
Omar Chebib
05f97542b8
ci: use "encrypted" information in flasher_args.json
...
Take into account the new field "encrypted" that is part of the
partition entries in flasher_args.json file
Closes IDF-2231
2020-12-23 18:16:17 +08:00
Angus Gratton
705d797b41
Merge branch 'feature/esp32c3_drivers' into 'master'
...
driver: Add esp32c3
Closes IDF-2363
See merge request espressif/esp-idf!11650
2020-12-23 08:43:31 +08:00
Angus Gratton
bcf34cce09
Merge branch 'feature/esp32c3_idf_monitor_backtrace' into 'master'
...
tools: decode esp32c3 stack dumps in idf_monitor.py
See merge request espressif/esp-idf!11713
2020-12-23 07:51:26 +08:00
Angus Gratton
27a9cf861e
driver: Add esp32c3 drivers (except ADC/DAC) and update tests
...
Some ESP32-C3 drivers are still pending.
Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Ivan Grokhotkov
8f3a3181e6
tools: decode esp32c3 stack dumps in idf_monitor.py
...
This follows a similar approach as UART core dump handling in
idf_monitor. Panic handler message is detected in the output,
collected into a file, and the file is passed to the decoding script.
In this case, the decoding script acts as a tiny GDB server, so we
can ask GDB to perform the backtrace.
2020-12-22 20:02:48 +11:00
Angus Gratton
772bb2a380
test_utils: Remove debug code, disable ccomp internal tests for C3
2020-12-22 19:57:27 +11:00
Marius Vikhammer
0a95151a75
unit_test: Refactor all performance tests that rely on cache compensated timer
...
There is no ccomp timer on C3, which means our performance tests will start
failing again due to variance caused by cache misses.
This MR adds TEST_PERFORMANCE_CCOMP_ macro that will only fail
performance test if CCOMP timer is supported on the target
2020-12-22 18:56:24 +11:00
Fu Hanxi
046b054a96
CI: bugfix: example_001a missing junit report
2020-12-22 15:04:20 +08:00
Mahavir Jain
8d7c9d9883
test_apps: add build test case for RTC GPIO descriptor configuration
2020-12-21 13:57:07 +05:30
Ivan Grokhotkov
84dea34550
Merge branch 'bugfix/fix_some_ut_test_result_not_uploaded_to_jira' into 'master'
...
test: fix some unit test results not uploaded to Jira:
Closes IDFCI-130
See merge request espressif/esp-idf!10678
2020-12-17 23:53:43 +08:00
Angus Gratton
289a643896
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion' into 'master'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage
Closes IDF-2509
See merge request espressif/esp-idf!11637
2020-12-17 12:19:36 +08:00
Ivan Grokhotkov
792dc6ebb8
Merge branch 'feature/linux_target' into 'master'
...
build system: Add Linux target
Closes IDF-2145
See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
He Yin Ling
a4fab9c67f
test: fix some unit test results not uploaded to Jira:
...
`UnitTestParser.py` will strip unit case config name when generate test
ID. But in `unit_test.py` we didn't do this. It makes the test ID in 2
stages are different. Now we will add this step to `unit_test.py`.
2020-12-15 21:36:27 +00:00
Ivan Grokhotkov
19498791a5
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2020-12-15 20:53:19 +01:00
Ivan Grokhotkov
d4a6c911e4
Merge branch 'bugfix/menuconfig_module' into 'master'
...
tools: Invoke menuconfig as named module
Closes IDFGH-4417
See merge request espressif/esp-idf!11588
2020-12-16 00:33:35 +08:00
Ivan Grokhotkov
e400a1f5b0
Merge branch 'feature/panic_test_multi_target_support' into 'master'
...
CI: Add multi-target support for panic test
See merge request espressif/esp-idf!11451
2020-12-16 00:01:11 +08:00
Fu Hanxi
0f96b70294
ci: add esp32s2 support for panic test
2020-12-15 17:57:21 +08:00
Ivan Grokhotkov
e32885d699
tools/test_apps: run tests which don't need JTAG on Example_GENERIC
2020-12-15 17:56:53 +08:00
Fu Hanxi
eda42035d2
scan test: bugfix: now can build multi target for one app
2020-12-15 17:56:53 +08:00
Fu Hanxi
3a88626ec3
search case: print target as well
2020-12-15 17:56:53 +08:00
Fu Hanxi
2547670477
Add esp32s2 support for panic test, run as default
2020-12-15 17:56:53 +08:00
Fu Hanxi
a5bcaea9cc
use "additional_duts" to overwrite dut class for different targets
2020-12-15 17:55:54 +08:00
Anton Maklakov
cfcc18719d
ci: Ignore Python 2 deprecation warning
2020-12-15 12:24:50 +07:00
Fu Hanxi
fcabbe5f33
Add Linux support for find_apps and build_apps
2020-12-14 18:57:54 +08:00
Jakob Hasse
c233ce0449
spi_flash: mocking should be possible now
...
The following three headers will be mockes:
* esp_flash.h
* esp_spi_flash.h
* esp_partition.h
* counter functions live in own header
* add spi_flash sim dir for esp_err.h to Unity
* modified gen_esp_err_to_name.py to ignore
sim/ dir in spi_flash component
Add cmock .yaml config file
Add spi hal header until soc can mock the hal
layer as well.
2020-12-14 18:53:14 +08:00
Jakob Hasse
52093fa4ef
linux: added linux target
...
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
Jakob Hasse
901925ebc5
CMake: Fix issue in newer cmake versions
...
* Fixes following error:
can not determine linker language
for target: __idf_newlib
2020-12-14 18:53:14 +08:00
Ivan Grokhotkov
46cfc436ad
Merge branch 'feature/idf_tools_github_mirror' into 'master'
...
Add GitHub mirror option for IDF tools installs
Closes IDF-2028
See merge request espressif/esp-idf!10616
2020-12-14 15:58:51 +08:00
Ivan Grokhotkov
af43e34839
Merge branch 'bugfix/drop_make_support_when_esp32_not_supported' into 'master'
...
CI: drop make support when esp32 not supported
See merge request espressif/esp-idf!11510
2020-12-14 15:51:44 +08:00
Ivan Grokhotkov
17b9fca02f
Merge branch 'bugfix/win_inst_defender_check' into 'master'
...
Tools: Windows Installer add pre-installation screen with System checks for Python and Windows Defender
Closes IDF-1819
See merge request espressif/esp-idf!11152
2020-12-14 15:43:10 +08:00
Roland Dobai
3587203495
tools: Invoke menuconfig as named module
...
Closes https://github.com/espressif/esp-idf/issues/6248
2020-12-13 08:07:00 +01:00
Krzysztof Budzynski
1f6d2b0257
Merge branch 'feature/doc_kconfig_default_and_range' into 'master'
...
tools: show defaults and ranges in generated kconfig documentation
Closes IDF-1816 and IDF-1679
See merge request espressif/esp-idf!10875
2020-12-11 16:40:11 +08:00
Fu Hanxi
af2220f5f8
find_apps.py: app with no supported targets will be skipped correctly
...
- fix deprecated logging.warn()
2020-12-08 14:54:30 +08:00
Fu Hanxi
636f136296
bugfix: drop make support for tests have no esp32 support
2020-12-08 14:54:30 +08:00
Fu Hanxi
49fd495689
check_examples_cmake_make: now it can run not only under idf path
2020-12-08 14:54:30 +08:00
Angus Gratton
51d03aeced
Merge branch 'bugfix/tools_python_subprocess_capture_output' into 'master'
...
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
See merge request espressif/esp-idf!11493
2020-12-08 06:43:07 +08:00
Juraj Michálek
c247c7fe2f
tools: add system check to verify Python versions and Windows Defender status
2020-12-07 14:44:56 +01:00
Anton Maklakov
7ad35fa5bb
Merge branch 'bugfix/github_sync_artifacts' into 'master'
...
ci: don't fetch artifacts in push_to_github
See merge request espressif/esp-idf!11104
2020-12-07 16:20:01 +08:00
Angus Gratton
94fe736bc5
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
...
In Python 3.5 and 3.6 the equivalent to capture_output=True is to set stdout
and stderr arguments to subprocess.PIPE
2020-12-07 15:01:10 +11:00
Konstantin Kondrashov
4a487af43a
efuse: Add new APIs for keys, purposes, wr/rd protection
...
- the batch mode can be called recursively
2020-12-04 10:42:57 +08:00
Anton Maklakov
3efc9f3a04
tools: windows installer: Modify IDF's archive mirror link
2020-12-03 17:50:42 +11:00
Ivan Grokhotkov
0e6d32cbfd
tools: windows installer: add support for IDF_GITHUB_ASSETS
...
Adds a checkbox to download tools from dl.espressif.com mirror.
2020-12-03 17:50:42 +11:00
Angus Gratton
291af6e766
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2020-12-03 17:50:42 +11:00
Angus Gratton
4a738721f1
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2020-12-03 17:49:37 +11:00
martin.gano
f4ea2dcb74
Tools: add Python 2 deprecation warning
2020-12-02 11:08:48 +01:00
Angus Gratton
0f8afff021
Merge branch 'test/enable_esp32s2_ut_by_default' into 'master'
...
CI: enable esp32s2 ut jobs by default
See merge request espressif/esp-idf!9237
2020-12-02 08:33:18 +08:00
Angus Gratton
38116853f4
Merge branch 'feature/esp32c3_small_changes' into 'master'
...
esp32c3: Merge small target support changes
Closes IDF-2361
See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton
5228d9f9ce
esp32c3: Apply one-liner/small changes for ESP32-C3
2020-12-01 10:58:50 +11:00
Ivan Grokhotkov
11d8df4704
Merge branch 'bugfix/kconfig_ref_sort_content' into 'master'
...
tools: Sort menu content in Kconfig option reference
Closes IDF-1711
See merge request espressif/esp-idf!10926
2020-12-01 07:36:20 +08:00
Anton Maklakov
f9e5c590f7
Merge branch 'ci/add_more_need_relationship' into 'master'
...
CI: Add More "needs" relationship to build stage jobs
See merge request espressif/esp-idf!11182
2020-11-30 23:48:56 +08:00
Roland Dobai
aaa46a93da
tools: Sort menu content in Kconfig option reference
2020-11-30 09:52:20 +00:00
Roland Dobai
c31dab51a0
Show defaults and ranges in generated kconfig documentation
2020-11-30 09:51:50 +00:00
Fu Hanxi
7281a5a0cc
Split component_ut tests based on targets
...
- add more label in CIScanTest.py
- fix the bug that will cause labels not iterate correctly
2020-11-30 14:08:54 +08:00
Angus Gratton
b782ccd1fb
Merge branch 'bugfix/blecent_example_test' into 'master'
...
ci: Fix blecent example test
Closes IDFCI-93
See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
Fu Hanxi
6fd2d27bfd
Make sure "unit_test" will trigger all labels
...
- keep labels name consist with the bot variable
2020-11-30 11:44:37 +08:00
He Yin Ling
6e545215c1
ci: enable ESP32S2 unit test by default
2020-11-30 11:34:51 +08:00