Jiang Jiang Jian
3c081abb32
Merge branch 'feature/hwcrypto_perf_ut_v4.0' into 'release/v4.0'
...
mbedtls: enable HW SHA by default, add SHA performance test (backport v4.0)
See merge request espressif/esp-idf!6668
2019-12-16 14:24:25 +08:00
Jiang Jiang Jian
482d2f06c3
Merge branch 'ci/artifact_expiry_v4.0' into 'release/v4.0'
...
ci: Keep build artifacts for 4 days (v4.0)
See merge request espressif/esp-idf!6994
2019-12-16 14:23:44 +08:00
Ivan Grokhotkov
4ffa3dbffb
Merge branch 'bugfix/libc_link_issues_v4.0' into 'release/v4.0'
...
newlib: fix linking issues (fcntl, system, raise) (backport v4.0)
See merge request espressif/esp-idf!7000
2019-12-16 14:16:56 +08:00
Ivan Grokhotkov
bf0863a50a
mbedtls: Enable SHA hardware acceleration by default
2019-12-15 20:46:20 +00:00
Ivan Grokhotkov
20d435c561
mbedtls: add SHA performance test
...
Results with this revision:
SHA256 rate 2.599MB/sec Debug 240MHz SW
SHA256 rate 1.147MB/sec Release 80MHz SW
SHA256 rate 3.469MB/sec Release 240MHz SW
SHA256 rate 2.687MB/sec Release 240MHz SW + PSRAM workaround
SHA256 rate 9.433MB/sec Debug 240MHz HW rev1
SHA256 rate 3.727MB/sec Release 80MHz HW rev1
SHA256 rate 10.961MB/sec Release 240MHz HW rev1
SHA256 rate 9.966MB/sec Release 240MHz HW rev1 + PRAM workaround
SHA256 rate 10.974MB/sec Debug 240MHz HW rev3
SHA256 rate 4.362MB/sec Release 80MHz HW rev3
SHA256 rate 13.207MB/sec Release 240MHz HW rev3
Debug = Og, assertions enabled
Release = O2, assertions disabled
2019-12-15 20:46:20 +00:00
baohongde
a82215d161
components/bt: Fix AVRC metadata length error
2019-12-14 05:48:26 +00:00
KonstantinKondrashov
dcbcb5fe58
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:46:27 +08:00
Ivan Grokhotkov
23e6b47a28
esp-tls: check return value of fcntl
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
85656ca77d
newlib: define fcntl as strong symbol
...
Closes https://github.com/espressif/esp-idf/issues/3694
Closes https://github.com/espressif/esp-idf/issues/4407
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
6f0f5d79f9
newlib: add definitions of system, raise
...
Closes IDF-1220
Closes IDFGH-1811
Closes https://github.com/espressif/esp-idf/pull/4020
2019-12-13 14:12:36 +00:00
Jakob Hasse
314a0443ad
nvs: Added nvs tests, minor corrections
...
* closes IDF-1135:
same namespace was used in different tests which
could lead to conflicts when re-running tests
* removes duplicated functions declarations
* correct argument order for test case macros
2019-12-13 17:06:27 +08:00
Angus Gratton
3ba9eae86c
Merge branch 'feature/ci_optimize_artifact_download_v4.0' into 'release/v4.0'
...
CI: optimize example build and artifact download (backport v4.0)
See merge request espressif/esp-idf!6940
2019-12-13 11:36:04 +08:00
Angus Gratton
a8e01de0e4
ci: Keep build artifacts for 4 days
2019-12-12 06:30:13 +00:00
Angus Gratton
0104a24a36
Merge branch 'bugfix/server_down_message_v4.0' into 'release/v4.0'
...
tools: Produce user friendly error during install when the server is down (v4.0)
See merge request espressif/esp-idf!6958
2019-12-12 08:12:36 +08:00
Angus Gratton
643757bfad
Merge branch 'bugfix/doc_package_versions_v4.0' into 'release/v4.0'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v4.0)
See merge request espressif/esp-idf!6974
2019-12-12 06:31:07 +08:00
Angus Gratton
30ac846112
Merge branch 'bugfix/cmake_secure_boot_v4.0' into 'release/v4.0'
...
secure boot: CMake bug fixes (v4.0)
See merge request espressif/esp-idf!6630
2019-12-12 06:30:37 +08:00
KonstantinKondrashov
8e54ee3f16
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-11 19:28:20 +08:00
Jiang Jiang Jian
ba11fed9c1
Merge branch 'bugfix/mesh_stop_recv_crash_4.0' into 'release/v4.0'
...
Bugfix/mesh stop recv crash 4.0
See merge request espressif/esp-idf!6948
2019-12-11 19:25:36 +08:00
Jiang Jiang Jian
bf01dd61f7
Merge branch 'doc/update_several_ble_mesh_docs_v4.0' into 'release/v4.0'
...
doc: update ble mesh docs based on the feature and example update (v4.0)
See merge request espressif/esp-idf!6966
2019-12-11 19:00:20 +08:00
chenyudong
ee6ba0eb47
mesh: fix mesh stop recv crash
2019-12-11 05:54:39 +00:00
He Yin Ling
45a50ed701
test: fix incorrect error type in xunit result
2019-12-11 15:57:49 +11:00
He Yin Ling
fd481d9cdd
ci: fix fetch submodule error on python3
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
ec8e057e4c
ci: remove dependencies from link_check job
2019-12-11 15:57:49 +11:00
Angus Gratton
510ec904c9
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-12-11 15:57:49 +11:00
He Yin Ling
fbdedee4cb
ci: reduce number of unit test cases
2019-12-11 15:57:49 +11:00
Anton Maklakov
f8e1ee35e2
soc: fix unit tests not included in the build
...
Regression from 9eccd7c082
2019-12-11 15:57:49 +11:00
He Yin Ling
06aa755265
ci: unit test use binary to built by cmake
2019-12-11 15:57:49 +11:00
He Yin Ling
48786c1da0
CI: remove not exist file from executable-list.txt
2019-12-11 15:57:49 +11:00
He Yin Ling
e9be102224
CI: build system do not check submodule for CI
2019-12-11 15:57:49 +11:00
He Yin Ling
3691ebc273
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2019-12-11 15:57:49 +11:00
He Yin Ling
31b9329d36
CI: raise import error instead of exit for ble tools
2019-12-11 15:57:49 +11:00
He Yin Ling
d00acce7b2
CI: support only download artifacts by request:
...
use CI dependencies could waste a lot bandwidth for target test jobs, as
example binary artifacts are very large. Now we will parse required
artifacts first, then use API to download required files in artifacts.
2019-12-11 15:57:49 +11:00
He Yin Ling
6e05a79536
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-11 15:57:49 +11:00
He Yin Ling
978bf09f83
CI: add utility gitlab_api
2019-12-11 15:57:49 +11:00
He Yin Ling
7a5d17e1b7
tiny-test-fw: move to tools/esp_python_packages:
...
make `tiny_test_fw` as a package and move to root path of idf python
packages
2019-12-11 15:57:49 +11:00
He Yin Ling
d3e0301aee
tiny-test-fw: only load module from the same file one time:
...
we should only load one module once.
if we load one module twice, python will regard the same object loaded in the first time and second time as different objects.
it will lead to strange errors like `isinstance(object, type_of_this_object)` return False
2019-12-11 15:57:49 +11:00
He Yin Ling
69c0e6243e
unit-test-app: fix test script error when handling multiple unit test configs in one config file:
...
If we have multiple configs, we need to flash DUT with different binaries. But if we don't close DUT before apply new config, the old DUT will be reused, so new config name will not be applied.
2019-12-11 15:57:49 +11:00
He Yin Ling
cffe7bf3a1
ci: use more flexible assign for unit test cases
2019-12-11 15:57:49 +11:00
He Yin Ling
1041bc800c
unit-test-app: print config name in test script
2019-12-11 15:57:49 +11:00
He Yin Ling
dd74a331c7
tiny-test-fw: print useful debug info when assign test:
...
* total requirements (number of required jobs vs tags)
* unused CI jobs
* missing jobs (number of missing jobs vs tags)
2019-12-11 15:57:49 +11:00
He Yin Ling
6ee7492512
ci: optimize unit test assignment:
...
Currently we use config and test function as filter when assign cases to one CI job. It's not necessary as the runner can run test with different configs / test functions. Now we will try to assign as many cases to a job as possible, to reduce the amount of jobs required.
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
9bf656e12e
examples: fix sdkconfig warnings
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
6ae4c29191
examples: update wifi/iperf to use the new builder
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
3fcecdd12e
ci: don't add build_examples_make as a target_test dependency
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
f3c8907cef
ci: reimplement build_examples_cmake using {find,build}_apps.py
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
7db756fbd9
tiny-test-fw: add build config and target options
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
1d72766f1a
tools: add build warnings checking script
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
5d03ae7428
tools: add {find,build}_apps.py, scripts to build multiple apps
...
This commit adds a pair of scripts, find_apps.py and build_apps.py.
These scripts are intended to be used in various CI jobs, building
multiple applications with different configurations and targets.
The first script, find_apps.py, is used to prepare the list of builds:
1. It finds apps for the given build system.
2. For each app, it finds configurations (sdkconfig files) which need
to be built.
3. It filters out the apps and configurations which are not compatible
with the given target.
4. It outputs the list of builds into stdout or a file. Currently the
format is a list of lines, each line a JSON string. In the future,
the tool can be updated to output YAML files.
The lists of builds can be concatenated and processed with standard
command line tools, like sed.
The second script, build_apps.py, executes the builds from the list.
It can execute a subset of builds based on --parallel-count and
--parallel-index arguments.
These two scripts are intended to replace build_examples_make,
build_examples_cmake, and the custom unit-test-app logic (in the
Makefile and idf_ext.py).
Closes IDF-641
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
bfbc10e2d8
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
2019-12-11 15:57:49 +11:00
Angus Gratton
1fd0e6f482
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:39:09 +11:00