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
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