Renz Christian Bagaporo
5c9ab21d81
confgen: base config creation on output type args
2019-01-25 14:11:35 +08:00
Ivan Grokhotkov
36f9091e03
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2019-01-22 10:15:10 +01:00
David Cermak
00bf376bc3
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-21 06:36:02 +01:00
Sergei Silnov
c355d8a88e
python: Add check if current python is inside virtual environment
2019-01-10 09:37:21 +01:00
Roland Dobai
977af32d0f
tools: Be more helpful to MSYS32 users with package installation
2019-01-10 09:37:02 +01:00
Angus Gratton
7832db7bb3
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2019-01-04 10:09:35 +11:00
Roland Dobai
e8b8946e6e
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-13 22:03:25 +01:00
Jiang Jiang Jian
24ebdbd3f4
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.2' into 'release/v3.2'
...
test: add case to detect ds2ds issue (backport v3.2)
See merge request idf/esp-idf!3851
2018-12-13 14:52:58 +08:00
Jiang Jiang Jian
07cb228f64
Merge branch 'bugfix/win_path_print_v3.2' into 'release/v3.2'
...
tools: correct printed path on MS Win (backport v3.2)
See merge request idf/esp-idf!3913
2018-12-07 10:36:31 +08:00
He Yin Ling
f8fd922ca5
unit-test-app: fix the RegEx to detect test case:
...
tags are not correctly parsed if eol do not contain `\r`
2018-12-07 02:04:55 +00:00
He Yin Ling
61d07ffbfc
tiny-test-fw: fix exception when expect RegEx:
...
match.groups() could return None. We can't do decode on None object.
2018-12-07 02:04:55 +00:00
Roland Dobai
88c7a61a63
tools: correct the coding style of check_python_dependencies.py
2018-12-06 08:33:17 +01:00
Roland Dobai
6af90457f7
tools: correct printed path on MS Win
2018-12-06 08:32:45 +01:00
Roland Dobai
8ec0c82c3f
tools: fix idf.py monitor for MSYS
2018-12-05 10:48:30 +01:00
He Yin Ling
33cf0faac8
ci: assign unit test cases in sequence of config and name
2018-11-26 17:06:40 +08:00
He Yin Ling
7385e71c84
test: fix unit test script code style warnings
2018-11-26 17:05:04 +08:00
He Yin Ling
7778ce83bd
test: generate junit test report according to executed cases
2018-11-26 17:05:04 +08:00
He Yin Ling
0f8070a6fd
tiny-test-fw: support capture raw data in DUT:
...
test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.
2018-11-26 17:05:04 +08:00
He Yin Ling
0fcb9056f8
tiny-test-fw: enhanced junit test report support:
...
1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag
2018-11-26 17:05:04 +08:00
Roland Dobai
f3c1903791
tools: Fix UTF decode error
2018-11-19 10:11:34 +01:00
Mahavir Jain
007a4fcc4e
tools: fix cmake build script for sdkconfig test
2018-11-16 02:48:35 +00:00
Anton Maklakov
dbeb8ae02a
cmake: fix the creation dummy main to avoid rebuilding
2018-11-16 02:48:35 +00:00
Ivan Grokhotkov
e4b68c49f2
Merge branch 'bugfix/py3_ci_enable' into 'master'
...
Enable Python 3 bot tests in master
See merge request idf/esp-idf!3615
2018-11-05 19:49:32 +08:00
Ivan Grokhotkov
761d44bd36
Merge branch 'bugfix/xts_compile_err' into 'master'
...
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
See merge request idf/esp-idf!3506
2018-11-05 16:58:38 +08:00
Roland Dobai
e77d15042d
CI: Update Python 3 ignore list
2018-11-05 08:11:02 +01:00
Roland Dobai
d4ba3bd2eb
idf_ext.py: Fix Python 3 compatibility issue
2018-11-05 08:11:02 +01:00
Angus Gratton
74d8806af0
Merge branch 'bugfix/build_example_make' into 'master'
...
Better detection failures in built_examples
See merge request idf/esp-idf!3604
2018-11-02 13:04:40 +08:00
Angus Gratton
3f82d21d0e
Merge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'
...
test: fix UT script can't process cmd after reset
See merge request idf/esp-idf!3372
2018-11-02 13:02:42 +08:00
David Cermak
8ce1f55b59
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package
2018-11-01 09:04:09 +01:00
Sagar Bijwe
fbcc160675
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
2018-11-01 12:08:45 +05:30
Anton Maklakov
0fb6f619c5
ci: Detect undetectable failures in build_examples
2018-11-01 11:38:41 +08:00
Anton Maklakov
124919bfc6
ci: Count build_example jobs in decimal instead of octal
2018-11-01 10:52:19 +08:00
He Yin Ling
2b4e34171b
test: fix UT script can't process cmd after reset:
...
There's still a small chance that can't process command issue still
happen on some runners. Now we change the way to detect if the runner
reset finished: input `-` to check test history for a few times until it
succeeded. If DUT can process check history command, then it should be
able to process other test commands.
2018-10-26 08:42:22 +00:00
Angus Gratton
f55509bd3f
Merge branch 'bugfix/py3_ci' into 'master'
...
Fix Python3 compatibility issues
See merge request idf/esp-idf!3487
2018-10-26 13:45:19 +08:00
Angus Gratton
76fcee55a6
Merge branch 'bugfix/idf_pyserial_error' into 'master'
...
idf.py: Import from pyserial after packages have been checked
See merge request idf/esp-idf!3519
2018-10-26 12:58:03 +08:00
Roland Dobai
f59358dad3
idf.py: Import from pyserial after packages have been checked
...
Closes https://github.com/espressif/esp-idf/issues/2573
2018-10-25 08:38:00 +02:00
Roland Dobai
9daf51e6be
Fix Python 3 compatibility issues
2018-10-24 11:20:54 +02:00
He Yin Ling
722a7e3b53
CI: only create required jobs when use bot to trigger test:
...
Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.
2018-10-24 09:19:39 +00:00
Angus Gratton
7c29a39d6f
Merge branch 'feature/ci_multi_python' into 'master'
...
CI: Support switching between various versions of Python
See merge request idf/esp-idf!3520
2018-10-24 17:00:38 +08:00
Renz Bagaporo
cc774111bf
cmake: Add support for test build
2018-10-20 12:07:24 +08:00
Roland Dobai
824e5fac23
CI: Support switching between various versions of Python
2018-10-19 11:12:11 +02:00
Ivan Grokhotkov
3e65ce3e93
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
...
unit tests: Only initialise tcpip_adapter() when needed by the test
See merge request idf/esp-idf!3364
2018-10-19 12:33:09 +08:00
Ivan Grokhotkov
c76f71cd5f
Merge branch 'bugfix/move_ringbuf_lib_to_iram' into 'master'
...
esp_ringbuf: fix default placement from flash to IRAM
See merge request idf/esp-idf!3452
2018-10-18 22:57:46 +08:00
Ivan Grokhotkov
ebe0e2939a
Merge branch 'bugfix/ci_missing_outputs' into 'master'
...
Tiny-test-fw: Fix string comparison which cases ignore of test cases
See merge request idf/esp-idf!3458
2018-10-18 22:41:48 +08:00
Ivan Grokhotkov
d91b18080b
unit test: split psram config into two configs to free up IRAM
2018-10-17 23:34:07 -05:00
Angus Gratton
dac6fd3434
cmake: Fix Windows issue running menuconfig in Command Prompt if winpty on Path
...
Previous version assumed having winpty on the Path meant that it would be needed,
but some tools (like Atlassian Sourcetree) permanently add winpty to the path.
Symptom is arrow keys not working in menuconfig dialog.
2018-10-18 09:56:16 +11:00
Angus Gratton
da0f9717be
Sign IDF Tools installer with 'osslsigncode', update to V1.2
...
Uninstaller is still unsigned, as currently building and signing in 'wine'
and running Linux osslsigncode inside Inno Setup inside wine is awkward.
Closes https://github.com/espressif/esp-idf/issues/1909
TW20810
2018-10-18 09:56:16 +11:00
Angus Gratton
efd62a50b9
windows: Add License (GPL) display to IDF Tools installer
2018-10-18 09:56:16 +11:00
Angus Gratton
0798251355
windows: Add Python dependencies, openocd, and ULP to installer
2018-10-18 09:56:16 +11:00
Angus Gratton
159ff6e08e
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-10-17 22:53:46 +00:00
Roland Dobai
374f92c0a0
Tiny-test-fw: Fix string comparison which cases ignore of test cases
...
Example tests from examples/protocols/http_server/ were silently ignored
because of incompatible string comparisons.
2018-10-17 11:07:04 +02:00
Angus Gratton
dad3531f96
Merge branch 'update/mfg_gen' into 'master'
...
Update mfg utility and nvs partition utility to make Python2 and Python3 compatible
See merge request idf/esp-idf!3243
2018-10-17 15:23:27 +08:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
Shivani Tipnis
7c08fcccaf
util: Update docs as per review comments
2018-10-12 11:04:49 +05:30
Shivani Tipnis
5bee9faf49
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
2018-10-12 11:04:49 +05:30
Shivani Tipnis
0f6bcec2bc
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
302d339640
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1f49e64730
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
fb31788504
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
807e72adce
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
17c907b35e
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Angus Gratton
299704cec3
Merge branch 'feature/unified_provisioning' into 'master'
...
provisioning: This patch adds the unified provisioning support
See merge request idf/esp-idf!2812
2018-10-10 16:29:11 +08:00
Angus Gratton
7313e39fde
Merge branch 'feature_add_path_tools_pr2410' into 'master'
...
add_path.sh: cmake: add tools folder to the path
See merge request idf/esp-idf!3344
2018-10-05 12:34:10 +08:00
Angus Gratton
ee0ebc1e1a
Merge branch 'test/enhanced_unit_test_config_dependency' into 'master'
...
test: enhanced config dependency support for CI
See merge request idf/esp-idf!3383
2018-10-05 09:21:30 +08:00
Anurag Kar
84f094453b
Examples : Added provisioning examples, tests and client tool.
...
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
Amey Inamdar
3ba8eed60a
protobuf-c : Added Google's protocol buffer C library as sub-module
...
Source https://github.com/protobuf-c/protobuf-c
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
Angus Gratton
246a608db0
windows: Special check for some MSYS2 Python packages
...
MSYS2 MINGW requires some particular MSYS2-specific packages.
Closes https://github.com/espressif/esp-idf/issues/2480
Closes https://github.com/espressif/esp-idf/issues/2474
Closes https://github.com/espressif/esp-idf/issues/2486
2018-10-01 17:21:48 +10:00
Angus Gratton
319fa2264f
windows: Update MSYS2 environment, add Python requirements to setup script
2018-10-01 16:16:49 +10:00
He Yin Ling
b4fe43912f
ci: adjust expire time for CI artifacts:
...
set shorter time to save some space on server. For those artifacts need
to be stored for long time, we can manually press "keep" button in job page.
Also add a CI job to check if all artifacts have set expire time.
2018-09-29 03:54:14 +00:00
He Yin Ling
737f33e379
test: enhanced config dependency support for CI:
...
allow define complex conditions for the dependency of each tag.
2018-09-27 15:23:44 +08:00
Anton Maklakov
7c8d5d2782
docs, scripts: Correct the priority of the PATH setting
2018-09-27 14:55:37 +08:00
Ivan Grokhotkov
5ebf4f7022
Merge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'
...
esp32: Add option to place .rtc_data and .rtc_rodata into the RTC_FAST segment
See merge request idf/esp-idf!2128
2018-09-27 13:05:06 +08:00
Ivan Grokhotkov
84d2f510ea
Merge branch 'bugfix/ci_example_test' into 'master'
...
tools: Make Utility.console_log accept Unicode and byte strings as well
See merge request idf/esp-idf!3367
2018-09-27 11:26:44 +08:00
Ivan Grokhotkov
ea7e6bd8f6
Merge branch 'feature/py23_kconfig_new' into 'master'
...
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
See merge request idf/esp-idf!3304
2018-09-27 11:26:32 +08:00
Ivan Grokhotkov
6baf743212
Merge branch 'bugfix/lwip_compat_headers' into 'master'
...
lwip: add compatibility headers for sntp.h and esp_ping.h
See merge request idf/esp-idf!3231
2018-09-27 11:21:37 +08:00
Ivan Grokhotkov
135eef767f
Merge branch 'bugfix/idf_ver_out_of_tree' into 'master'
...
cmake: pass repository path to git when doing git describe
See merge request idf/esp-idf!3328
2018-09-27 11:21:25 +08:00
Roland Dobai
9ea9d111c8
tools: Make Utility.console_log accept Unicode and byte strings as well
2018-09-26 12:56:00 +02:00
Angus Gratton
607d899503
Merge branch 'feature/py23_examples' into 'master'
...
Examples: Add Python 2&3 support
See merge request idf/esp-idf!3237
2018-09-26 08:41:42 +08:00
Ivan Grokhotkov
e1ac237169
Merge branch 'doc/fix_config_links' into 'master'
...
doc: Fix config links, add navigation lists to config items page
See merge request idf/esp-idf!3310
2018-09-25 18:23:24 +08:00
Roland Dobai
975688b97f
examples: Use flushed print to see logs on the CI server
2018-09-25 08:05:56 +02:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
Sagar Bijwe
48fccbf5dd
nvs_flash: Add support for nvs encryption
2018-09-24 11:25:21 +05:30
Roland Dobai
bf443a763f
tools: Support overwrite of includes for gen_esp_err_to_name.py
...
gen_esp_err_to_name.py includes files like
components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all
subdirectories of "include" are used. If "components/lwip/include/apps"
is in the path of the compiler instead of "components/lwip/include" then
include "apps/esp_ping.h" will fail. This fix allows to process lines
like:
'// gen_esp_err_to_name.py: some text "esp_ping.h" some text'
in header files for overwriting the include.
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
2e6e87816c
Merge branch 'feature/crosstool_backport' into 'master'
...
Backport of work of gcc8 toolchain to v3
See merge request idf/esp-idf!3154
2018-09-21 14:07:41 +08:00
Angus Gratton
9421f6611f
doc: Render config items "Found in:" as a set of links to menus
2018-09-21 11:05:13 +10:00
Anton Maklakov
90d4a1d1e9
cmake: Add a compatible old GCC flag, fix the cmake example building
2018-09-20 18:53:15 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
c2a04f6517
unity: silence unused const variables warning
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
91fa1764e5
docs: generate toolchain download links
2018-09-20 18:53:14 +08:00
Anton Maklakov
ab21644df4
toolchain: Set the supported toolchain version in a separate file
2018-09-20 18:53:13 +08:00
Ivan Grokhotkov
59d590ff48
cmake: pass repository path to git when doing git describe
...
Fixes getting IDF version in out-of-tree builds
2018-09-20 16:18:25 +08:00
Roland Dobai
130a8ea324
tiny-test-fw: Detect either 'download.config' or 'flash_project_args'
2018-09-20 06:39:04 +00:00
Angus Gratton
593abe0768
Merge branch 'test/fix_ut_cant_process_test_command' into 'master'
...
test: fix ut can't process test command
See merge request idf/esp-idf!3306
2018-09-20 14:38:25 +08:00
Ivan Grokhotkov
af453841ea
Merge branch 'bugfix/ci_cmake_examples' into 'master'
...
CI/cmake: Fix cmake example build failures, gcov
See merge request idf/esp-idf!3296
2018-09-20 12:05:07 +08:00
Angus Gratton
9add51bc6d
doc: Re-add summaries of what children each menu item has
...
Slightly different to the original version of this, but same goal.
2018-09-19 17:27:48 +10:00
Roland Dobai
173e6aab3e
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
2018-09-19 08:38:09 +02:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
He Yin Ling
44e8ec584f
test: ut can't process test command:
...
check ut reset done condition is not correct. If bootup pattern already
exist in cache, we will return without waiting for DUT bootup.
2018-09-19 09:40:59 +08:00
Roland Dobai
da6479e6b7
Correct Python 3 support for some test related scripts
2018-09-18 09:55:51 +00:00
Mahavir Jain
4ec9aa9a00
cmake: prefer version.txt
for IDF_VER if available
2018-09-14 17:25:17 +05:30