Rosa Elena Veiga Otero
15011e0d16
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-29 10:23:24 +01:00
Shivani Tipnis
9dcb48b86b
ci: Fix target variable default value
...
(cherry picked from commit 3748e06108bd3067b36c3b605feb6aaf438d98eb)
2020-01-21 17:55:23 +05:30
Roland Dobai
3909208852
tools: Update kconfiglib to 13.7.1
...
This fixes the crash on MacOs under Python 3 and improves the menuconfig
colors on some terminals.
2020-01-14 09:30:05 +01:00
Angus Gratton
6662b60bc1
test: Move freertos & mbedtls tests to psram_2 config
...
Before:
psram before 2490560 (2490368 is the size allowed by partition)
psram after 2413136
psram_2 before 1218464
psram_2 after 1326320
2020-01-14 12:14:43 +10:00
Ivan Grokhotkov
404d2ae908
test: increase number of unit test jobs
2020-01-13 16:13:44 +08:00
Angus Gratton
0929c91d1a
Merge branch 'bugfix/idf_monitor_windows_console' into 'master'
...
idf_monitor: Ignore OS-level errors writing to Windows Console
Closes IDF-810
See merge request espressif/esp-idf!5607
2020-01-13 12:13:42 +08:00
Ivan Grokhotkov
216dac8721
Merge branch 'test/add_esp32s2beta_ssc_build_job' into 'master'
...
test: add build ssc job for esp32s2beta
See merge request espressif/esp-idf!7068
2020-01-13 10:19:48 +08:00
Anton Maklakov
ac0c7cce9c
ci: fix tags for internal deploy jobs
2020-01-10 17:36:52 +07:00
He Yin Ling
bb442bd015
test: add build ssc job for esp32s2beta
2020-01-10 14:14:51 +08:00
Ivan Grokhotkov
1fd7f21d8c
Merge branch 'bugfix/IDFGH-2036_2' into 'master'
...
Tools Setup: fixed WD task checkbox disabling
Closes IDFGH-2036
See merge request espressif/esp-idf!7204
2020-01-09 22:39:48 +08:00
Angus Gratton
b63d28730c
ci: Use real esp32s2beta target for all tests
2020-01-08 18:23:29 +11:00
Angus Gratton
65dad0d46f
build system: Remove some dependencies from esp32 & esp32s2beta
...
Possible now that wifi related source files are all in esp_wifi
2020-01-08 18:13:12 +11:00
Angus Gratton
f616d2f2de
esp_wifi: Move wifi OS adapter structures into esp_wifi component
2020-01-08 18:13:12 +11:00
Angus Gratton
8421114264
Merge branch 'feat/ut_disabled_for_targets' into 'master'
...
ut: use DISABLED_FOR_TARGETS macro in unit tests
See merge request espressif/esp-idf!7117
2020-01-08 09:22:29 +08:00
Martin Vychodil
bc43d48ec9
* use 'Windows Defender' substring to identify proper checkbox
...
https://github.com/espressif/esp-idf/issues/4225
2020-01-06 15:09:56 +01:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Angus Gratton
4b03fa3053
Merge branch 'feature/idf_size_py_json_dump' into 'master'
...
idf_size.py: can write data to json file now
Closes IDF-1246
See merge request espressif/esp-idf!7046
2020-01-03 11:19:56 +08:00
Mahavir Jain
97c8b90083
Merge branch 'bugfix/advanced_https_ota_example' into 'master'
...
Bugfix for failing OTA example
Closes IDF-1080 and IDFGH-2249
See merge request espressif/esp-idf!6979
2020-01-02 17:29:35 +08:00
Jakob Hasse
53aadafac8
idf_size.py: can alternatively write data to file
...
* Also Changed json separators - no spaces at eol
2020-01-02 09:33:51 +08:00
morris
8f98c3746a
ci: increase parallel count for esp32s2 unitest
2020-01-01 13:58:50 +08:00
morris
13b98e17a6
ci: enable python2 lint
2020-01-01 13:04:50 +08:00
morris
e51bd6deaf
gh-action:fix python lint
2020-01-01 12:56:33 +08:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
cf2f732b2c
Merge branch 'bugfix/heap_tests_esp32s2beta' into 'master'
...
bugfix/heap test failure fixing for esp32s2 beta
Closes IDF-1021
See merge request espressif/esp-idf!6659
2019-12-31 15:03:01 +08:00
Angus Gratton
91f953eba2
Merge branch 'bugfix/fix_python3_errors_for_ttfw' into 'master'
...
test: fix python3 errors for ttfw
See merge request espressif/esp-idf!7139
2019-12-31 14:45:15 +08:00
He Yin Ling
269af21ce6
test: fix multiple devices cases fail on python3
2019-12-30 20:21:00 +08:00
He Yin Ling
07f186a6a5
CI: reduce number of unit test jobs
2019-12-30 20:21:00 +08:00
He Yin Ling
f63e91b950
test: let unit test jobs use python3
2019-12-30 20:20:14 +08:00
He Yin Ling
8df08de486
ttfw: fix incorrect relative import for python3
2019-12-30 20:20:14 +08:00
Anthony Casagrande
874cfda54c
idf_size.py: Major performance improvements
...
Merges https://github.com/espressif/esp-idf/pull/4518
2019-12-30 17:14:49 +11:00
Angus Gratton
5139934767
bootloader_common: Fix esp_partition_get_sha256(), add unit tests
...
Regression in 438d513a95
Reported here: https://esp32.com/viewtopic.php?f=13&t=13250&p=52460
2019-12-30 13:47:47 +11:00
Alexey Gerenkov
eb2aa6fd67
apptrace: Adds HeapTraceEvent.callers property used by OpenOCD tests
2019-12-27 00:13:45 +03:00
michael
2dd12ae5f8
spi: fix speed test issues on esp32s2beta
...
Also support performance value for different targets.
2019-12-23 10:23:01 +08:00
Felipe Neves
cf95ea40d4
heap/test_leak: changed requested memory on leak checks to match the threshold
2019-12-20 13:35:56 -03:00
Ivan Grokhotkov
c0d12988d3
Merge branch 'feature/component_manager' into 'master'
...
Component manager for IDF (preview)
See merge request espressif/esp-idf!6929
2019-12-20 21:06:12 +08:00
Sergei Silnov
dfafa98253
Use component manager if available as python package
2019-12-19 16:48:36 +01:00
Angus Gratton
981d8c6c30
Merge branch 'feature/idfpy_list_targets' into 'master'
...
idf.py: add --list-targets option to list support targets
See merge request espressif/esp-idf!7049
2019-12-19 08:35:59 +08:00
Angus Gratton
2e43d107b4
idf_monitor: Ignore OS-level errors writing to Windows Console
...
Windows Console write or flush may fail (throwing WindowsError, a subclass of OSError) if the data
written can't be displayed. This may be the case if the serial port is producing garbage bytes.
Ignore the error, in the hope that the serial port may "come good" and write non-garbage later.
2019-12-18 23:35:35 +00:00
Sergei Silnov
97f7b918c1
idf.py: add --list-targets option to list support targets
2019-12-18 16:50:49 +01:00
Mahavir Jain
e8db1c4da0
Merge branch 'feature/enable_i2s_tests_on_esp32s2beta' into 'master'
...
Enable i2s and freertos test/s on esp32s2beta
See merge request espressif/esp-idf!6790
2019-12-18 17:51:54 +08:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
David Cermak
cec408c760
ci: ttfw update to support qemu dut_class
...
Updated missing example tests per latest ttfw refactoring,
updated pythons requirements.txt for ttfw_idf
2019-12-17 14:06:40 +01:00
Ivan Grokhotkov
85c97967d5
tiny-test-fw: add QEMU DUT
2019-12-17 14:06:40 +01:00
Mahavir Jain
2e73c2818b
freertos: re-enable mutext test for esp32s2beta
2019-12-16 11:55:32 +05:30
Angus Gratton
f7b51c164d
Merge branch 'bufgix/esp_timer_set_alarm' into 'master'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time
Closes WIFI-1511
See merge request espressif/esp-idf!6960
2019-12-16 13:39:44 +08:00
Angus Gratton
8b219c0884
Merge branch 'bugfix/menuconfig_py3' into 'master'
...
tools: Fix menuconfig for Python 3
See merge request espressif/esp-idf!6991
2019-12-16 12:59:34 +08:00
Angus Gratton
9dbb7526c5
Merge branch 'bugfix/ulp_supported_version' into 'master'
...
ulp: remove 20190801 version, update supported version for Make
See merge request espressif/esp-idf!7014
2019-12-16 10:47:44 +08:00
Angus Gratton
433d046a2a
Merge branch 'feature/tools_installer_v2.2' into 'master'
...
tools: bump windows tools installer version to v2.2
Closes IDFGH-2036 and IDFGH-2202
See merge request espressif/esp-idf!6999
2019-12-16 07:20:43 +08:00
Ivan Grokhotkov
917889dfdf
ulp: remove 20190801 version, update supported version for Make
2019-12-15 21:39:42 +01:00
Ivan Grokhotkov
d021e71419
tools: bump windows tools installer version to v2.2
...
Includes the fix for Windows Defender exceptions installation.
Closes https://github.com/espressif/esp-idf/issues/4225
Closes https://github.com/espressif/esp-idf/issues/4354
Closes IDFGH-2036
Closes IDFGH-2202
2019-12-13 15:03:09 +01:00
Martin Vychodil
66aac70286
tools: WD exclusions support - internal improvements
...
* use {group} symbolic path instead of {autostartmenu) due to backward compatibility
* don't check Defender module existence in PS scripts (done by the installer)
2019-12-13 15:03:08 +01:00
Dmitry Yakovlev
8fe3ecd000
Added description for difference between ESP32 ULP and ESP32-S2 ULP
...
Jumpr instruction updated.
2019-12-13 18:38:57 +08:00
Angus Gratton
ecf85555b6
Merge branch 'bugfix/small_unit_test_fixes' into 'master'
...
test: Small unit test fixes
See merge request espressif/esp-idf!6981
2019-12-13 14:00:05 +08:00
KonstantinKondrashov
c6b681827d
target-test.yml: Increase parallel count +1 for ESP32_IDF, UT_T1_1
2019-12-13 13:51:47 +08:00
Angus Gratton
4f1d49d8c2
Merge branch 'feature/esp32s2beta_hw_crypto_support' into 'master'
...
hw crypto: activated hardware acceleration for esp32s2beta
Closes IDF-757
See merge request espressif/esp-idf!6615
2019-12-13 13:40:33 +08:00
Angus Gratton
40b657d4fe
Merge branch 'feature/prebuilt_binary_example' into 'master'
...
cmake: import prebuilt library
See merge request espressif/esp-idf!6838
2019-12-13 13:36:47 +08:00
Marius Vikhammer
c63684cf6c
hw crypto: activated hardware acceleration for esp32s2beta
...
Activated AES, RSA and SHA hardware acceleration for esp32s2 and enabled related unit tests.
Updated with changes made for ESP32 from 0a04034
, 961f59f
and caea288
.
Added performance targets for esp32s2beta
Closes IDF-757
2019-12-12 12:37:29 +08:00
Angus Gratton
ba07a7dd6c
unit-test: Update README for current usage of unit-test.py
...
Example command lines shown here were tested and Notes added
for anything which didn't work as expected.
2019-12-12 11:05:22 +11:00
Angus Gratton
9b8fffef53
unit_test.py: Add some additional console logging for context
2019-12-12 11:05:05 +11:00
Angus Gratton
18853ae509
ttfw: Fix the build directory detection when using the default build/ dir for binaries
2019-12-12 11:05:05 +11:00
Angus Gratton
b20eaf3306
ttfw: Fix exception message when an error occurs finding files to flash
2019-12-12 11:05:05 +11:00
Angus Gratton
9fa87f04da
unit_test.py: Allow identifying a unit test which has : in the name
2019-12-12 11:05:05 +11:00
Angus Gratton
0978fc1b84
unit_test: Log each test case to console as we run it
...
Include a dump of the test tags
2019-12-12 11:05:05 +11:00
Angus Gratton
d35debcd99
unit_test: Print the timeout value when an 'expect' times out
2019-12-12 11:05:04 +11:00
Angus Gratton
b18e7b94a2
ci: Keep build artifacts for 4 days
2019-12-12 09:39:27 +11:00
Angus Gratton
3b52eddf6b
Merge branch 'bugfix/optimize_some_build_system_tests' into 'master'
...
cmake: some optimizations to build system tests
See merge request espressif/esp-idf!6972
2019-12-12 06:34:54 +08:00
Roland Dobai
7ab43bffde
tools: Fix menuconfig for Python 3
2019-12-11 14:29:07 +01:00
Renz Christian Bagaporo
17876d3d73
cmake: some optimizations to build system tests
2019-12-11 16:43:47 +08:00
chenyudong
a6de0e8846
ci: fix job "check_wifi_lib_md5"
2019-12-11 13:10:23 +08:00
Angus Gratton
f78b2158b1
Merge branch 'bugfix/menuconfig_argv_encoding' into 'master'
...
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
See merge request espressif/esp-idf!6910
2019-12-11 12:47:32 +08:00
Angus Gratton
563227d9f8
Merge branch 'bugfix/gitlab_api_error_with_python3' into 'master'
...
ci: fix fetch submodule error on python3
See merge request espressif/esp-idf!6961
2019-12-11 07:23:53 +08:00
Renz Christian Bagaporo
91b421c35f
cmake: implement utility to import prebuilt libraries
2019-12-10 19:22:25 +08:00
Angus Gratton
882f5d0b56
Merge branch 'bugfix/fix_s2_cpp_exceptions' into 'master'
...
C++: enable exceptions ESP32S2-beta
Closes IDF-1039
See merge request espressif/esp-idf!6579
2019-12-10 15:13:15 +08:00
Alex Lisitsyn
ba1ee4092a
freemodbus: fix merge issues
2019-12-10 14:30:25 +08:00
Alex Lisitsyn
44444208b7
freemodbus: update poll event processing
...
update modbus poll event loop processing to process multiple events
2019-12-10 14:27:09 +08:00
He Yin Ling
486f1a05b3
test: fix incorrect error type in xunit result
2019-12-10 13:50:32 +08:00
Jakob Hasse
78e4b0ff96
CXX: enable exceptions ESP32S2-beta
...
Closes IDF-1039
* Enabled test cases for -fno-exceptions to S2-beta again
* Added different reset tag for S2-beta
2019-12-10 10:23:00 +08:00
He Yin Ling
fe521c9d12
ci: fix fetch submodule error on python3
2019-12-10 09:38:31 +08:00
Ivan Grokhotkov
86e5bea50d
Merge branch 'bugfix/server_down_message' into 'master'
...
tools: Produce user friendly error during install when the server is down
Closes IDFGH-2175
See merge request espressif/esp-idf!6718
2019-12-09 22:48:32 +08:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
Ivan Grokhotkov
2f20ad523c
Merge branch 'bugfix/menuconfig_term_warning' into 'master'
...
Give info and warnings about the TERM environment variable
See merge request espressif/esp-idf!6717
2019-12-09 22:38:24 +08:00
Angus Gratton
58355f7e21
Merge branch 'refactor/update_xtensa_header_file' into 'master'
...
update xtensa header file
Closes IDF-1197
See merge request espressif/esp-idf!6872
2019-12-09 13:08:52 +08:00
morris
5efb1140ac
esptool: add chip and stub option
2019-12-09 09:48:16 +08:00
He Yin Ling
ca0ce7171d
CI: reduce number of test jobs
2019-12-08 20:32:11 +08:00
He Yin Ling
164e8ba21f
test: support loadable elf test cases:
...
loadable elf example is different for 2 reasons:
1. loadable elf binary don't have flasher_args.json, so we can't use normal
to get from CI artifacts
2. it don't have binary and don't need to downloaded binary to DUT. Some
related functions can be ignored
2019-12-08 20:32:11 +08:00
He Yin Ling
cca08b3d2b
CI: remove not exist file from executable-list.txt
2019-12-08 20:32:10 +08:00
He Yin Ling
a11b15b92b
CI: build system do not check submodule for CI
2019-12-08 20:32:10 +08:00
He Yin Ling
b4863551a9
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2019-12-08 20:32:10 +08:00
He Yin Ling
5d1be3bb8b
CI: raise import error instead of exit for ble tools
2019-12-07 10:34:54 +08:00
He Yin Ling
89f8e19850
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-07 10:34:54 +08:00
He Yin Ling
c906e2afee
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-07 10:34:54 +08:00
He Yin Ling
4d45932c5e
CI: add utility gitlab_api
2019-12-07 10:34:54 +08:00
He Yin Ling
d621d0e88e
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-06 17:29:47 +08:00
michael
3e55baea90
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
...
1. Call cli with explicit argv
When using debugging tools like `pydbg.py --some_arg idf.py -G Ninga
build`, those tools usually call the python script with sys.argv
modified to correct value. But if the cli is called with argv blank, the
cli will get the argv again, and finally get the original command line,
which is incorrect for debugging.
2. Encode the style unicode string back to ascii in menuconfig cmd
On Windows MSYS python2.7, the unicode string set in os.environ will
cause the subprocess creating to fail. All os.environ values should be
strings.
2019-12-05 01:39:46 +08:00
Alexey Gerenkov
884717fb2f
apptrace: Adds support for converting SystemView traces to JSON format
2019-12-04 18:04:07 +03:00
Felipe Neves
b0491307fc
target-test: bumping test cases parallel count
2019-12-04 10:41:00 -03:00
Ivan Grokhotkov
562a3980b2
idf.py: fix fallback to build system target
2019-12-04 07:13:31 +00:00
Angus Gratton
af382a1b8e
Merge branch 'bugfix/update_menuconfig' into 'master'
...
Update kconfiglib from v12.14.0 to v13.3.2
See merge request espressif/esp-idf!6816
2019-12-04 15:06:09 +08:00
Angus Gratton
054724596d
Merge branch 'feature/add_ir_protocol_example_test' into 'master'
...
rmt: enable ir protocols example test
Closes IDF-906
See merge request espressif/esp-idf!6856
2019-12-04 14:35:22 +08:00