Fu Hanxi
23822e2e3f
ci: retry download if catched IOError/EOFError
2020-06-17 16:03:49 +08:00
Angus Gratton
b3e77c7ce9
Merge branch 'bugfix/embed_file_symbol_names' into 'master'
...
cmake: fix C identifier generation from embedded file
See merge request espressif/esp-idf!9078
2020-06-17 07:57:27 +08:00
Renz Bagaporo
9950c7f21d
ci: add test for component override features
2020-06-16 20:42:47 +08:00
Renz Bagaporo
bd55cdff02
cmake: allow calling get component property in early expansion
2020-06-16 20:42:00 +08:00
Renz Bagaporo
ebf07d353d
cmake: allow overriding kconfig, kconfig_projbuild on registration
2020-06-16 20:42:00 +08:00
Renz Bagaporo
f8d0c5770b
cmake: take note of component overriden dir
2020-06-16 20:42:00 +08:00
Renz Bagaporo
01a7db799f
cmake: fix C identifier generation from embedded file
2020-06-16 17:05:46 +08:00
Angus Gratton
1a9509a47f
Merge branch 'bugfix/parseexception_msg' into 'master'
...
ldgen: change exception message access
See merge request espressif/esp-idf!9121
2020-06-16 12:16:26 +08:00
Angus Gratton
61ab64439b
Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
...
fixes for core dump regressions
See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +08:00
Anton Maklakov
77c951858f
Merge branch 'test/deploy_docs_previow_host_test' into 'master'
...
ci: fix the issue that build_docs label has to be used with regular_test
See merge request espressif/esp-idf!9120
2020-06-16 11:42:36 +08:00
Ivan Grokhotkov
2db04d6e95
Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'
...
add esp32s3 preview target and rom symbol & header
Closes IDFGH-3474
See merge request espressif/esp-idf!9127
2020-06-16 06:38:43 +08:00
Angus Gratton
534114879c
Merge branch 'bugfix/fix_extra_component_dirs_ordering' into 'master'
...
cmake: fix extra component dir ordering
See merge request espressif/esp-idf!7731
2020-06-15 12:16:52 +08:00
Michael (XIAO Xufeng)
f9f617cd4f
ci: fix the issue that build_docs label has to be used with regular_test
...
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.
Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Angus Gratton
eef0e178a0
Merge branch 'feature/msys2_env_update' into 'master'
...
windows: Update MSYS2 pre-compiled legacy build environment
Closes IDF-1289 and IDF-1526
See merge request espressif/esp-idf!9034
2020-06-12 07:26:09 +08:00
morris
067b1b91c2
global: add new target name: esp32-s3
...
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +08:00
Ivan Grokhotkov
625bd5eb18
Merge branch 'feature/reassign_example_test_runners' into 'master'
...
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
2020-06-11 14:22:05 +08:00
Anton Maklakov
bb5d07b23e
Merge branch 'bugfix/gen_crt_py3_utf' into 'master'
...
Fixes issues encoding issues python3 scripts for unicode chars
See merge request espressif/esp-idf!9094
2020-06-11 10:40:54 +08:00
Renz Bagaporo
ea07ce1a5a
ldgen: change other accesses of exception message
...
Closes https://github.com/espressif/esp-idf/pull/5336
2020-06-11 08:19:02 +08:00
the-cat-that-codes
177c3d0f5a
Changed ParseException message argument
...
The 'message' attribute seems to be not usable since python 3.0 (see PEP #352 )
but 'msg' is a valid attribute for pyparsing.ParseException.
2020-06-10 23:16:01 +08:00
Roland Dobai
e67314f646
tools/idf_monitor: add WebSocket client for IDE integration
2020-06-10 10:56:20 +00:00
Angus Gratton
9a21b7e397
Merge branch 'bugfix/allow_extra_component_in_unit_test' into 'master'
...
allow unit test of extra-components
Closes IDFGH-3369
See merge request espressif/esp-idf!8906
2020-06-10 16:10:07 +08:00
Marius Vikhammer
c39b3730bf
ci: fix find_build_apps.py failure with py3 due to non ascii chars
...
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-09 11:35:08 +08:00
Marius Vikhammer
11269df516
ci: fix check_public_headers.py failure with python3 due to non ascii chars
...
check_public_headers.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
Also fixes error handling issues, as any uncaught exeception would cause the program
to run indefinitely.
2020-06-09 11:01:42 +08:00
Ivan Grokhotkov
1727306645
tools: fix diagnostic output in check_python_dependencies.py
...
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:
Traceback (most recent call last):
File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType
and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-08 18:14:39 +02:00
Felipe Neves
674a070a0d
idf_tools: adds .tgz as alowed extension
2020-06-08 10:34:05 -03:00
Ivan Grokhotkov
7283b99c97
Merge branch 'feature/dfu_select_device' into 'master'
...
Add ability to select a device for DFU flashing
Closes IDF-1652
See merge request espressif/esp-idf!8956
2020-06-08 15:55:04 +08:00
Roland Dobai
493c852b73
CI: Use higher-level interaction with GDB in example tests and test apps
2020-06-05 14:58:34 +00:00
Angus Gratton
7270c921be
Merge branch 'bugfix/idf_as_lib_not_in_top_level' into 'master'
...
CMake: Fix issue when `idf_build_process` is called from a subdirectory
Closes IDF-1651
See merge request espressif/esp-idf!8722
2020-06-04 16:51:55 +08:00
Angus Gratton
091ce8a124
msys2: Remove python version consideration in pacman commands
2020-06-04 18:42:52 +10:00
Roland Dobai
9930060ea8
tools/idf.py: Clean Python bytecode files
2020-06-03 12:29:25 +02:00
morris
d70961ad58
esp32s2: add more unit test for esp32s2
...
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
Ivan Grokhotkov
f4ea9d4cea
freertos: increase configMINIMAL_STACK_SIZE when building with -O0
...
FreeRTOS scheduler uses additional stack space, as in some functions
variables are placed onto the stack instead of registers.
This issue resulted in occasional stack overflows in dport task, when
compiling at -O0 optimization level.
- Increase the configMINIMAL_STACK_SIZE to 1kB.
- Enable the watchpoint at the end of stack in CI startup test for
this optimization level.
2020-06-02 18:51:16 +02:00
Ivan Grokhotkov
c0ed9349b0
test_apps: add build test for !CONFIG_SPI_FLASH_YIELD_DURING_ERASE
2020-06-02 15:42:24 +02:00
Ivan Grokhotkov
8c09968adc
test_apps: add coredump tests for int_wdt
2020-06-02 15:42:24 +02:00
Renz Christian Bagaporo
7f37fb81ca
cmake: fix extra component dir ordering
2020-06-02 15:43:03 +08:00
Ivan Grokhotkov
4f3624bbe9
Merge branch 'feat/add_multi_target_for_example_test' into 'master'
...
example test: Add multi target support
Closes IDF-1531 and IDF-807
See merge request espressif/esp-idf!8242
2020-06-02 10:36:44 +08:00
Angus Gratton
8b156a9095
Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
Closes IDFGH-3086
See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +08:00
Fu Hanxi
b76df30915
don't overwrite special cases dut
2020-06-01 13:39:09 +08:00
Fu Hanxi
3b17b9e393
panic_test contains some reassign dut cases
2020-06-01 12:08:57 +08:00
Fu Hanxi
377d3eaaa5
Move local target detection to ttfw_idf
...
rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
2020-06-01 12:08:57 +08:00
Angus Gratton
d15e9c0710
Merge branch 'bugfix/no_pyc_files' into 'master'
...
tools: Don't generate pyc files
See merge request espressif/esp-idf!8815
2020-05-29 14:07:24 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Angus Gratton
7cbdc3ea66
Merge branch 'bugfix/ci_push_to_github_on_label' into 'master'
...
ci: Don't push to Github or deploy docs on customized pipelines
See merge request espressif/esp-idf!8870
2020-05-29 12:43:00 +08:00
Fu Hanxi
e99172fbac
make upper_list do not make str into list
2020-05-29 12:42:57 +08:00
Fu Hanxi
d06d2a2b9f
remove typing as a dependency.
...
return None if the input is None
2020-05-29 12:42:56 +08:00
Fu Hanxi
5c92d36078
Add list support for ttfw_idf test decorators. Only replicate supported keys
2020-05-29 12:42:56 +08:00
Fu Hanxi
e553092d62
move ci_target_check to ttfw_idf, move ci_target_filter to AssignTest
...
mark `supported_in_ci` for AssignTest filter.
2020-05-29 12:42:56 +08:00
Fu Hanxi
38c288bc0e
Add BOT_TARGET_FILTER
to _apply_bot_filter
...
fix the bug that will calculate twice if ci_target is a list.
2020-05-29 12:42:56 +08:00
Fu Hanxi
bc026133c5
add ci_target filter for target and local target check
2020-05-29 12:42:56 +08:00
Fu Hanxi
9f8b63da38
Pass current target to test_method **overwrite.
2020-05-29 12:42:56 +08:00
Fu Hanxi
6c98d7e4bd
Add multi target support for search examples
...
drop keyword `dut`, use `target` instead to assign`dut_class` to `Env`
2020-05-29 12:42:56 +08:00
Ivan Grokhotkov
4e70efac64
Merge branch 'bugfix/missing_doc_preview_comment' into 'master'
...
add some prefix for doc urls to make BOT recognize the preview doc url
See merge request espressif/esp-idf!8554
2020-05-29 04:50:25 +08:00
Ivan Grokhotkov
ac686ccd00
Merge branch 'feature/make_support_in_find_build_apps' into 'master'
...
ci: make supported in find_apps/build_apps
Closes IDF-1587
See merge request espressif/esp-idf!8429
2020-05-29 04:48:30 +08:00
Roland Dobai
0ff8ec66e4
Add ability to select a device for DFU flashing
2020-05-28 09:31:35 +02:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
morris
50b93ce130
fix uninitialized variable EXTRA_COMPONENT_DIRS
2020-05-26 12:44:58 +08:00
redengin
6eb4bb16ec
allow unit test of extra-components
...
Merges https://github.com/espressif/esp-idf/pull/5345
2020-05-26 12:44:58 +08:00
Angus Gratton
042a433678
Merge branch 'test/print_leak_delta' into 'master'
...
unit test: Always print the free memory delta after the test
See merge request espressif/esp-idf!8876
2020-05-25 15:25:52 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Anton Maklakov
aa25b169f7
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-05-25 10:27:05 +07:00
Fu Hanxi
da9ca49093
fix after rebase
2020-05-22 19:08:02 +08:00
Fu Hanxi
c35b010a3f
improve regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
961a8cf85e
remove artifact config in ci.
2020-05-22 19:08:02 +08:00
Fu Hanxi
701b496621
some filename includes "error". so update the regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e
make supported in find_apps/build_apps
2020-05-22 19:08:02 +08:00
sio13
76b9b3a11d
Update serial_ext.py
...
- replaced with oneliner
- removed default arguments
2020-05-22 12:00:00 +02:00
Angus Gratton
eb4ac07c96
unit test: Always print the free memory delta after the test
...
Prevents situations where the leak threshold is low and the
value slowly creeps up to be close to it, without developer
noticing.
2020-05-22 18:39:43 +10:00
KonstantinKondrashov
4275056423
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-05-22 16:23:53 +08:00
Angus Gratton
469b7bc4cf
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-22 15:04:39 +10:00
Roland Dobai
270d8b468a
tools: Don't generate pyc files
2020-05-20 12:07:51 +02:00
morris
fef40fdb72
ci: do fetch submodules for python lint
2020-05-20 10:50:10 +08:00
morris
d003f96a9d
gh_action: fix python lint
2020-05-20 10:50:10 +08:00
Roland Dobai
5f024e1cd4
Add protocol example tests
2020-05-19 12:17:32 +02:00
Angus Gratton
88d76d805a
Merge branch 'bugfix/idf_build_process_default' into 'master'
...
cmake: fix issue with setting defaults in idf_build_process
Closes IDFGH-3027
See merge request espressif/esp-idf!8537
2020-05-19 11:29:29 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
Renz Christian Bagaporo
ba579d66ba
cmake: add comment that IDF build target must be global
2020-05-18 16:38:07 +08:00
Ivan Grokhotkov
514596cb81
Merge branch 'feature/idf_py_replace_run_with_call' into 'master'
...
tools: idf.py: replace the "run" method of Task with the magic "__call__" method
See merge request espressif/esp-idf!8763
2020-05-18 15:22:04 +08:00
Ivan Grokhotkov
3a6b8bb6e3
Merge branch 'bugfix/idf_py_double_loading_of_idf_ext' into 'master'
...
tools: idf.py: Don't load idf_ext.py in project folder twice
See merge request espressif/esp-idf!8764
2020-05-18 15:21:53 +08:00
Angus Gratton
0e4cd93ee9
Merge branch 'bugfix/kconfig_hex_values' into 'master'
...
kconfig: Fix two cases of hex values being handled incorrectly
Closes VSC-292
See merge request espressif/esp-idf!8372
2020-05-18 14:57:46 +08:00
Brian Pugh
8ed7fe3e3d
tools/idf.py: replace the "run" method of Task with the magic "__call__" method
...
Merges https://github.com/espressif/esp-idf/pull/5279
2020-05-15 19:44:07 +02:00
Brian Pugh
fa3d9573ce
tools/idf.py: prevent reloading duplicate extension paths. Do not load cwd if IDF_EXTRA_ACTIONS_PATH is not set.
...
Merges https://github.com/espressif/esp-idf/pull/5278
2020-05-15 19:39:36 +02:00
Renz Christian Bagaporo
13cd832b0c
ci: pushd and cd in one go in idf_build_process defaults test
2020-05-14 14:59:26 +00:00
Renz Bagaporo
740819529b
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-05-14 14:59:26 +00:00
Renz Bagaporo
0f6308d69c
ci: test idf_build_process defaults set properly
2020-05-14 14:59:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
Angus Gratton
48399d3ce0
Merge branch 'bugfix/idf_py_actions_fix_spelling' into 'master'
...
tool: Fix spelling in core_ext.py
Closes IDFGH-3126
See merge request espressif/esp-idf!8718
2020-05-13 16:17:40 +08:00
Renz Bagaporo
a0f3f1e0cb
cmake: make __idf_build_target global
2020-05-13 15:38:20 +08:00
Scott Shawcroft
8c4dc88d27
tool: Fix spelling in core_ext.py
...
Closes: https://github.com/espressif/esp-idf/pull/5145
2020-05-13 14:50:43 +08:00
Ivan Grokhotkov
418b68a197
test_apps: add panic test
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
a63f65dd6f
ci: don't run build system tests on unit_test or custom_test labels
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
3fe4adc98d
ttfw: allow relative imports in test scripts
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
7d74cc4255
ttfw_idf: IDFApp: convert partition offset to int
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
952830ab12
ttfw_idf: IDFApp: add method to get SHA256(elf file)
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
26f6136a7d
ttfw: only send relevant DUT kwargs to serial.serial_for_url
2020-05-12 22:27:06 +02:00
Krzysztof Budzynski
08bd8bff7e
Merge branch 'docs/mass_mfg_update' into 'master'
...
Fix a typo according to DOC-158
See merge request espressif/esp-idf!8704
2020-05-12 18:36:35 +08:00
Wang Ning
5a28cc6ae3
Fix a typo according to DOC-158
2020-05-12 15:56:14 +08:00
Fu Hanxi
195eb883b4
Add idf_as_lib/build.sh to build_system_test
2020-05-07 10:09:54 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00