Roland Dobai
1b464d23a9
tools: Correct coding style of idf_monitor
2018-11-26 15:02:39 +01:00
He Yin Ling
1c65f18422
Merge branch 'test/enhanced_junit_test_result' into 'master'
...
test: enhanced junit test result
See merge request idf/esp-idf!2766
2018-11-26 16:35:08 +08:00
Angus Gratton
03c59658cb
Merge branch 'bugfix/test_idf_monitor_hangs' into 'master'
...
tools: Fix idf_monitor test case occasional hangup or failure
Closes #39
See merge request idf/esp-idf!3651
2018-11-26 15:29:55 +08:00
He Yin Ling
ef9eaddd88
ci: assign unit test cases in sequence of config and name
2018-11-26 10:07:41 +08:00
He Yin Ling
5b3d09d5c8
test: fix unit test script code style warnings
2018-11-26 10:07:41 +08:00
He Yin Ling
644571f78b
test: generate junit test report according to executed cases
2018-11-26 10:07:41 +08:00
He Yin Ling
0ad226b375
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 10:07:41 +08:00
Ivan Grokhotkov
5aa7abb216
Merge branch 'bugfix/spiram_80m_clk_config' into 'master'
...
clk: fix regression in clock setting for SPIRAM with 80MHz config
See merge request idf/esp-idf!3724
2018-11-25 22:25:19 +08:00
Roland Dobai
608fc23278
tools: Fix idf_monitor test case occasional hangup or failure
...
Closes idf/esp-idf#39
2018-11-23 13:33:17 +01:00
Renz Christian Bagaporo
8eeddd287c
ldgen: catch exception with python3 compatible style
...
Closes https://github.com/espressif/esp-idf/issues/2720
2018-11-22 22:09:43 +08:00
He Yin Ling
8e70582cad
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-22 20:49:15 +08:00
Renz Christian Bagaporo
56ed588d4f
tools: install pyparsing using pip
2018-11-22 09:55:31 +08:00
Renz Christian Bagaporo
507328d4db
ldgen: fix issues when using pyparsing 2.3.0
2018-11-22 09:55:31 +08:00
Mahavir Jain
bd3806193d
unit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config
2018-11-20 18:54:12 +05:30
Ivan Grokhotkov
a46b884a14
Merge branch 'feature/unit_test_example' into 'master'
...
Move Unity into components, add unit test example
See merge request idf/esp-idf!3562
2018-11-19 18:35:54 +08:00
Shivani Tipnis
e1774cb6f9
Update minimum version for cryptography package required
2018-11-19 11:13:37 +05:30
Angus Gratton
8915f48208
Merge branch 'feature/linker_script_generator' into 'master'
...
Linker script generator
See merge request idf/esp-idf!2286
2018-11-19 12:43:27 +08:00
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
d4ef2135f0
ci: support building examples with external components
2018-11-19 12:36:31 +08:00
Renz Christian Bagaporo
364f98b67e
cmake: fix for parsing unit test config
2018-11-16 12:00:39 +00:00
Renz Bagaporo
63411fc556
tools: implement linker script generation
2018-11-16 12:42:02 +08:00
Ivan Grokhotkov
7b86247428
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
09e4321e97
unit test: allow filtering tests for configs using TEST_GROUPS
2018-11-15 12:27:05 +00:00
Mahavir Jain
79043882d9
tools: fix cmake build script for sdkconfig test
2018-11-14 22:50:12 +08:00
Anton Maklakov
8e1c91ac7d
cmake: fix the creation dummy main to avoid rebuilding
2018-11-14 22:39:54 +08:00
Angus Gratton
beada90b06
Merge branch 'bugfix/cmake_utf_decode' into 'master'
...
tools: Fix Unicode decode error & indentation error
See merge request idf/esp-idf!3669
2018-11-13 09:54:28 +08:00
Ivan Grokhotkov
7efb3926c5
Merge branch 'feature/build_system_multi_target' into 'master'
...
build system: support for multiple targets (CMake only)
See merge request idf/esp-idf!3499
2018-11-12 15:30:36 +08:00
Angus Gratton
a96deceb27
Merge branch 'feature/cmake_secure_boot_support' into 'master'
...
CMake : Secure Boot support added
See merge request idf/esp-idf!3522
2018-11-12 09:09:30 +08:00
Ivan Grokhotkov
ccfa134533
build system: support for multiple targets
2018-11-11 21:46:02 +08:00
Ivan Grokhotkov
e2ca285fae
confgen.py: allow multiple defaults files
2018-11-11 21:44:35 +08:00
Roland Dobai
f4cfca4353
tools: Fix UTF decode error
2018-11-08 13:02:03 +01:00
Ivan Grokhotkov
621e316725
Merge branch 'feat/psram_support_hspi' into 'master'
...
esp32: support to use hspi to output clock for 4M psram
See merge request idf/esp-idf!3377
2018-11-06 20:34:41 +08:00
Anurag Kar
1f6622b2d1
CMake : Secure Boot support added
2018-11-06 17:09:55 +05:30
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
Michael (XIAO Xufeng)
ff346f92af
psram: add test for 4M psram
2018-10-29 20:26:30 +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
Ivan Grokhotkov
d56a400709
Merge branch 'bugfix/cmake_create_dummy_main_windows' into 'master'
...
cmake: use built-in file function to create dummy main
See merge request idf/esp-idf!3253
2018-09-14 15:18:36 +08:00
Ivan Grokhotkov
31c14a5ee4
Merge branch 'feature/py3_espcoredump' into 'master'
...
espcoredump: Add tests and Python3 support
See merge request idf/esp-idf!3212
2018-09-14 12:39:30 +08:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Ivan Grokhotkov
d928465151
cmake: use built-in file function to create dummy main
2018-09-12 20:21:38 +08:00
Ivan Grokhotkov
8a38a2332a
cmake: don't add main component Kconfig twice
2018-09-12 19:37:25 +08:00
He Yin Ling
d4eca3abf5
Merge branch 'bugfix/multi_divece_cant_detect_case' into 'master'
...
fix the bug of multi device framework that dut can't detect case
See merge request idf/esp-idf!3176
2018-09-12 18:29:34 +08:00
Ivan Grokhotkov
ff2cea0df2
Merge branch 'bugfix/cmake_lambda' into 'master'
...
idf.py: Make the lambda function Python 2 & 3 compatible
See merge request idf/esp-idf!3245
2018-09-12 17:36:03 +08:00
Alex Lisitsyn
ec5eb1e5c2
esp32: Add option to place.rtc_data and .rtc_rodata into the RTC_FAST segment
...
Changes:
KConfig: The option CONFIG_ESP32_RTCDATA_IN_FAST_MEM is added in Kconfig file for esp32 component.
esp32.common.ld: added support of RTC_DATA_ATTR, RTC_RODATA_ATTR data placement into appropriate segment according to Kconfig option.
esp32.ld: linker script is modified to set alias for memory segment selected by Kconfig option to place data. The segments for force placement are added for RTC_FAST_ATTR, RTC_SLOW_ATTR attributes.
esp_attr.h: added new attributes RTC_FAST_ATTR, RTC_SLOW_ATTR for force placement into fest/slow memory.
test_rtc_fast.c: Added unit test cases to check data placement into appropriate memory segment.
Updated documentation for RTC_DATA_ATTR, RTC_FAST_ATTR, RTC_SLOW_ATTR in deep_sleep_stub.rst file.
TW#18001
Closes https://github.com/espressif/esp-idf/issues/1553
2018-09-12 09:25:13 +02:00
houchenyao
73a763fecb
fix the bug that multi device's dut can't detect case
2018-09-12 07:18:00 +00:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
Roland Dobai
dff7a2a302
idf.py: Make the lambda function Python 2 & 3 compatible
2018-09-11 13:11:04 +02:00
Roland Dobai
c3d99dd2e4
Encourage to install python packages without administrative rights
...
Using 'sudo pip install' can cause a lot of problems because usually
there are a couple of Python interpreters installed. This fix encourages
developers to use `pip install --user` instead which is safer.
2018-09-11 08:54:37 +02:00
Roland Dobai
b9e1869538
espcoredump: Add tests and Python3 support
2018-09-11 08:53:06 +02:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
36bc73e5a6
idf.py: Choose a default serial port for all targets if '-p' is not given
2018-09-06 20:32:49 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Roland Dobai
9538059f84
CI: Simplify running commands with several versions of Python
2018-09-06 11:50:17 +02:00
Angus Gratton
b1380707e4
Merge branch 'bugfix/ci_github_deploy' into 'master'
...
ci: Fix spurious pipeline failure when deploying a tag to GitHub
See merge request idf/esp-idf!3021
2018-09-05 18:07:24 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Ivan Grokhotkov
4197ee746a
Merge branch 'bugfix/monitor_win_encoding' into 'master'
...
idf_monitor: Fix Unicode decoding on Windows
See merge request idf/esp-idf!3157
2018-09-04 20:31:37 +08:00
Angus Gratton
6fa52ca8fe
cmake: Call check_python_dependencies.py from idf.py & cmake
2018-09-03 18:37:53 +08:00
Angus Gratton
ae4efeb3dc
mconf: Don't include system headers in dependency files
...
Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.
Closes https://github.com/espressif/esp-idf/issues/712
2018-09-03 03:45:15 +00:00
Roland Dobai
276cba1103
idf_monitor: Fix Unicode decoding on Windows
...
Closes https://github.com/espressif/esp-idf/issues/2348
2018-08-31 12:20:55 +02:00
Angus Gratton
a6282e3e5e
cmake idf.py: Print flasher file arguments in order of file offset
...
Previously, order was random
2018-08-31 12:29:38 +08:00
Angus Gratton
c921f14128
cmake: Generate list of components with dependent items first, use deterministic ordering
...
Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.
Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)
2018-08-31 12:29:13 +08:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
7440d5f920
Merge branch 'feature/py3_idf_size' into 'master'
...
tools: Support Python 3 in idf_size.py
See merge request idf/esp-idf!2849
2018-08-30 18:12:17 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Renz Bagaporo
071aaea66b
Place embedded data on flash
2018-08-29 20:22:55 +08:00
Angus Gratton
408463d0bf
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-29 20:22:55 +08:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Roland Dobai
5cdff46370
tools: Support Python 3 in idf_size.py
2018-08-27 13:39:07 +02:00
Roland Dobai
bc307c920c
tiny-test-fw: Print more useful info when download.config doesn't exist
2018-08-27 12:47:08 +02:00
Angus Gratton
3adf41a5fe
Merge branch 'feature/py3_idf_monitor' into 'master'
...
tools: Support Python3 in idf_monitor
See merge request idf/esp-idf!2930
2018-08-27 12:29:38 +08:00
Angus Gratton
2c8c210a66
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
...
tools: support python3 in gen_esp_err_to_name.py
See merge request idf/esp-idf!2827
2018-08-27 12:29:03 +08:00
Angus Gratton
6c95285bdb
Merge branch 'bugfix/app_update_test' into 'master'
...
app_update: Change NUM_PIN_APP_TEST for unit test
See merge request idf/esp-idf!3050
2018-08-27 08:46:02 +08:00
He Yin Ling
783d63488b
Merge branch 'bugfix/multi_case_test' into 'master'
...
test: fix the multi device stop thread bug
See merge request idf/esp-idf!3039
2018-08-24 19:54:34 +08:00
Konstantin Kondrashov
4e28799709
app_update: Change NUM_PIN_APP_TEST for unit test
...
Fixed error when `make TESTS_ALL=1`
2018-08-24 16:52:27 +08:00
Roland Dobai
79b9948cdf
tools: support python3 in gen_esp_err_to_name.py
2018-08-24 08:13:01 +02:00
Roland Dobai
7118f4734b
tools: Support Python3 in idf_monitor
...
Closes https://github.com/espressif/esp-idf/pull/1284
2018-08-24 08:12:19 +02:00
houchenyao
df83323ee3
bugfix:fix the multi device stop thread bug
2018-08-23 08:51:16 +00:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Angus Gratton
7b4626f824
ci: Fix spurious pipeline failure when deploying a tag to GitHub
...
Everything succeeds, but because [ -z ${CI_COMMIT_TAG} ] on the last line returns non-zero, it
fails the job.
2018-08-22 13:11:18 +10:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00
Ivan Grokhotkov
fd61c1440b
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
b600a908c4
unit test: fix regex for detecting abort
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Jiang Jiang Jian
886bf4b88e
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
...
component/bt: Fixed the vulnerability released by Bluetooth org when using…
See merge request idf/esp-idf!2933
2018-08-13 15:44:13 +08:00
yulong
72eaaff9fe
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 14:08:11 +08:00
Angus Gratton
48bd67524d
cmake: Only rewrite componend_depends.cmake if it changes
2018-08-13 15:37:03 +10:00
Angus Gratton
70288f864e
cmake: Expand components relative to PROJECT_PATH correctly
2018-08-13 15:37:03 +10:00
Angus Gratton
191557db02
docs: Copy CMake docs to a separate set of directories
...
Required first step before merging back to mainline.
2018-08-13 15:37:03 +10:00
Angus Gratton
50e7b116c1
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 13:37:23 +10:00
Angus Gratton
6bd58beac5
tiny-test-fw: Increase default expect timeout to 10 seconds
...
Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.
2018-08-03 16:55:50 +10:00
Roland Dobai
1d1533ee8e
expat: Move libexpat into submodule and update to version 2.2.5
2018-07-31 13:25:00 +02:00
Angus Gratton
321b1e0205
Merge branch 'feature/unit_tests_command_line' into 'master'
...
tools: Allow running unit tests from command line
See merge request idf/esp-idf!2589
2018-07-31 11:38:22 +08:00
Roland Dobai
40486c8723
tools: Allow running unit tests from command line
...
Add argument parsing to unit_test.py to allow running unit tests from
command line.
2018-07-30 13:05:41 +02:00
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00:00
Angus Gratton
97286b3107
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'
...
make: Add feature to cmd 'make flash' - reset ota_data partition
See merge request idf/esp-idf!2611
2018-07-30 13:52:43 +08:00
He Yin Ling
85bc2d5967
tiny-test-fw: support ignore test cases in CI assign test stage
2018-07-27 19:44:15 +08:00
He Yin Ling
316d087960
tiny-test-fw: fix exception during print debug info:
...
DUT log is unicode, might not be able to encode
2018-07-27 19:44:15 +08:00
He Yin Ling
bffcea09df
CI: erase nvs partition before test:
...
Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.
2018-07-27 17:22:24 +08:00
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Ivan Grokhotkov
d50c03cc7d
Merge branch 'bugfix/unit-test-build-fix' into 'master'
...
unit-test-app: don’t include project.mk for ut- targets
See merge request idf/esp-idf!2619
2018-07-24 20:48:12 +08:00
Ivan Grokhotkov
b0af8ad22f
unit-test-app: don’t include project.mk for ut- targets
...
If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.
2018-07-24 09:54:55 +03:00
Angus Gratton
466ec6d9ac
Merge branch 'bugfix/ci_use_mirror_for_public' into 'master'
...
ci: Use local mirrors on the public branches too
See merge request idf/esp-idf!2836
2018-07-24 12:19:24 +08:00
Anton Maklakov
d5f666dee3
ci: Use local mirrors on the public branches (master, release-) too
...
Use DONT_USE_MIRROR=1 to force using the original repositories if you need
2018-07-23 17:04:38 +08:00
Angus Gratton
57342c449d
Merge branch 'feature/tools_mass_mfg' into 'master'
...
Add files for mass manufacturing tool
See merge request idf/esp-idf!2716
2018-07-23 13:10:17 +08:00
Ivan Grokhotkov
999c3dbf0e
Merge branch 'feature/test_exclude_components' into 'master'
...
build: Add TEST_EXCLUDE_COMPONENTS
See merge request idf/esp-idf!2648
2018-07-20 19:43:46 +08:00
Shivani Tipnis
35205d8513
Add files and docs for mass mfg
2018-07-20 10:41:11 +05:30
Angus Gratton
aa4d77467b
Merge branch 'bugfix/esp_err_ignore_dirs' into 'master'
...
esp32: Do not document error codes defined in examples
See merge request idf/esp-idf!2732
2018-07-18 08:29:53 +08:00
He Yin Ling
4f971619fa
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-13 07:04:05 +00:00
He Yin Ling
b452cea04e
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-13 07:04:05 +00:00
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
23d98aa358
tiny-test-fw: print expect failure when test fails
2018-07-13 07:04:05 +00:00
Ivan Grokhotkov
46639bab85
Merge branch 'bugfix/crlf_auto_conversion' into 'master'
...
Convert CRLF (Windows line endings) to LF (Unix style), add CI check
See merge request idf/esp-idf!2119
2018-07-13 11:44:57 +08:00
He Yin Ling
01efe9a300
Merge branch 'feature/ci_support_test_one_case_multiple_times' into 'master'
...
CI: support test one case multiple times by @bot
See merge request idf/esp-idf!2692
2018-07-12 19:57:21 +08:00
He Yin Ling
05d74d532e
Merge branch 'bugfix/tiny_test_fw_filter_invalid_serial_port' into 'master'
...
tiny-test-fw: filter out invalid IDF ports
See merge request idf/esp-idf!2745
2018-07-12 19:56:48 +08:00
Roland Dobai
bb4c8b725c
Tools: Correct line endings in idf_monitor tests
2018-07-12 19:10:37 +08:00