Michael (XIAO Xufeng)
58758486b2
Merge branch 'ci/enable_flash_suspend_test' into 'master'
...
spi_flash: enable unit-test for flash suspend
Closes IDF-3081
See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Angus Gratton
e1ebe3d7ac
ci: Move partition table offset in secure boot test app
2021-04-16 16:40:47 +10:00
Angus Gratton
bed8b29d9a
ci: Move partition table offset for -O0 build of template app
2021-04-16 16:40:47 +10:00
Angus Gratton
6f6b4c3983
cmake partition_table: Check binaries fit in partition spaces at build time
...
- Bootloader is checked not to overlap partition table
- Apps are checked not to overlap any app partition regions
Supported for CMake build system only.
Closes https://github.com/espressif/esp-idf/pull/612
Closes https://github.com/espressif/esp-idf/issues/5043
Probable fix for https://github.com/espressif/esp-idf/issues/5456
2021-04-16 16:40:47 +10:00
Ivan Grokhotkov
e6fd582fdf
Merge branch 'bugfix/panic_handler_not_in_iram' into 'master'
...
panic: handlers can now be placed in flash
Closes IDF-2851
See merge request espressif/esp-idf!12874
2021-04-16 02:47:05 +00:00
Angus Gratton
bc3d45026c
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled
See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Roland Dobai
c425ac7bed
tools: Don't use revision argument for IDF Monitor if it is not defined
2021-04-15 19:56:39 +02:00
Roland Dobai
0dc3da6dce
tools: Fix ANSI color converter on Windows
...
Fix a regression of b77addea2f
: The ANSI
color converter returns a class on Windows instead of an object so its
methods won't be callable and will result in a not so helpful error
message: "idf_monitor failed with exit code 120"
2021-04-15 19:56:39 +02:00
Ivan Grokhotkov
9d093d3a04
Merge branch 'feature/installed_tool_failed' into 'master'
...
tools: Warning about tool being installed but failed to run.
Closes IDF-2819
See merge request espressif/esp-idf!12855
2021-04-15 08:17:54 +00:00
Angus Gratton
7f0fc3a37b
ci: Consolidate deep sleep example test configs
2021-04-15 16:24:44 +10:00
Cao Sen Miao
ed16e9b5d6
spi_flash: enable unit-test for flash suspend
2021-04-15 12:05:40 +08:00
Omar Chebib
bb9aa806f7
panic: handlers can now be placed in flash
...
By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
2021-04-15 11:58:46 +08:00
He Yin Ling
d1ab7fbd5a
Merge branch 'bugfix/ttfw_idf_port_detecting_hang' into 'master'
...
fix: running ttfw tests locally hang forever while detecting ports
See merge request espressif/esp-idf!13048
2021-04-15 02:27:36 +00:00
Ivan Grokhotkov
e220e9b571
Merge branch 'feature/refactor-idf-monitor' into 'master'
...
Decompose idf_monitor.py
Closes IDF-2432
See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Ivan Grokhotkov
996e84f97a
Merge branch 'docs/fix_custom_test_doc' into 'master'
...
[system]: Running panic test app locally doc
See merge request espressif/esp-idf!13052
2021-04-14 11:35:12 +00:00
Angus Gratton
16d5277bd5
Merge branch 'ci/include_failed_build_output_in_log' into 'master'
...
CI: Include failed build output in job log
Closes IDF-2220
See merge request espressif/esp-idf!12399
2021-04-14 08:34:26 +00:00
Fu Hanxi
7651e031cb
fix: running ttfw tests locally hang forever while detecting ports
2021-04-14 11:43:13 +08:00
Angus Gratton
ec01a66557
Merge branch 'feature/esp32c3_memprot_test3' into 'master'
...
ESP32C3/ESP32S2: memprot API upgrade and test application
Closes IDF-2641
See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
Martin Gano
1546e970db
Merge branch 'master' into 'feature/refactor-idf-monitor'
...
# Conflicts:
# tools/ci/mypy_ignore_list.txt
2021-04-13 20:55:19 +08:00
Anton Maklakov
8db9a93e55
Merge branch 'fix/reordering_mypy_ignorelist' into 'master'
...
CI: Fix reordering content of MYPY ignorelist
Closes IDF-3101
See merge request espressif/esp-idf!13110
2021-04-13 10:01:23 +00:00
Tomas Sebestik
e408915ff0
Remove sorting of MYPY ignore list from py script
...
Add sorting of mypy ignore list to pre-cm hook 'file-contents-sorter'
2021-04-13 10:35:56 +02:00
Angus Gratton
a5faf86934
Merge branch 'bugfix/override_cmake_python' into 'master'
...
cmake: Minor Python CMake build fixes
Closes IDFGH-4454
See merge request espressif/esp-idf!12975
2021-04-13 03:39:16 +00:00
Marek Fiala
ae6f602b6b
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-12 20:51:32 +02:00
Martin Gaňo
b77addea2f
Decompose idf_monitor.py
2021-04-12 10:47:33 +02:00
Ivan Grokhotkov
b51a7e0cc7
Merge branch 'feature/win_inst_offline' into 'master'
...
Feature/win inst offline
Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955
See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
Angus Gratton
2a33dbb5a7
ci: Include context from failed build logs in the CI job log
...
This is faster to look up than browsing or downloading artifacts, and will often
contain the root cause.
Context includes the last 25 lines of the log, and any lines contaiing 'error:'
or 'warning:'
2021-04-12 05:48:40 +00:00
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
KonstantinKondrashov
4fbfb03fe1
unit-test-app(config): CI uses ECO0 for esp32c3 UTs
2021-04-09 14:26:08 +08:00
Angus Gratton
202154ff1c
ut: Exclude test_utils component from default_2_c3 config
...
Theory is that the large alignments in this test component are triggering linker
bug (to be fixed in next toolchain update). This component is already tested
in a dedicated config, so it doesn't need to be included in this config.
2021-04-08 13:33:28 +10:00
Jakob Hasse
5bcb189fe4
[system]: locally run panic test app doc
2021-04-07 18:56:18 +08:00
Angus Gratton
509afa839e
Merge branch 'feature/google_analytics' into 'master'
...
docs: add google analytics tracking
Closes IDF-1481 and DOC-204
See merge request espressif/esp-idf!13025
2021-04-07 06:07:27 +00:00
Marius Vikhammer
440fab3d6e
docs: add google analytics tracking
2021-04-06 11:56:11 +08:00
Angus Gratton
6b57f33858
Merge branch 'refactor/movements_from_target_components' into 'master'
...
Movement from target components 1
See merge request espressif/esp-idf!12482
2021-04-05 02:37:21 +00:00
Chen Shu
6be0ed9077
Merge branch 'feature/add-openthread' into 'master'
...
openthread: add OpenThread and porting
Closes IDF-2911
See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309
OpenThread: add OpenThread and porting
...
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Fu Hanxi
92a9ad0b31
ci: allow wildcard in known failure cases
2021-04-01 19:29:04 +08:00
Angus Gratton
da3dca1fdc
Merge branch 'bugfix/change_component_ordering' into 'master'
...
cmake: swap priority between EXTRA_COMPONENT_DIRS and project components
Closes IDF-2864
See merge request espressif/esp-idf!12765
2021-04-01 07:23:00 +00:00
Angus Gratton
3c9e9a7704
Merge branch 'bugfix/renable_unit_tests' into 'master'
...
ci: enable previously disabled unit tests
See merge request espressif/esp-idf!12582
2021-04-01 03:23:22 +00:00
Angus Gratton
5a8e9ef2bc
cmake: Improve the error message if the Python interpreter fails to run
...
RESULT_VARIABLE will return a string not a number in this case, so display it
for the user.
2021-04-01 09:51:28 +11:00
Angus Gratton
886c465120
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-04-01 09:51:26 +11:00
Angus Gratton
7a2c126054
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-04-01 09:50:56 +11:00
Renz Bagaporo
bbc599493e
esp32: move common fragment definitions
2021-03-31 19:17:33 +08:00
Renz Bagaporo
89f572c933
kconfig: ignore nonexistent new names
2021-03-31 19:13:03 +08:00
Angus Gratton
d44034c54d
Merge branch 'bugfix/dual_core_app_on_single_core_esp32' into 'master'
...
esp_system: fix dual core app issue on single core esp32
Closes IDF-2154
See merge request espressif/esp-idf!10728
2021-03-31 01:06:52 +00:00
Angus Gratton
e9ae42dbf0
Merge branch 'ci/allow_gdbstub_slow_response' into 'master'
...
ci: Extend timeout for initial gdbstub commands in panic tests
Closes IDFCI-510
See merge request espressif/esp-idf!12955
2021-03-30 06:55:41 +00:00
Michael (XIAO Xufeng)
5db528cda1
Merge branch 'bugfix/remove_spi_flash_qio_s2_cfg' into 'master'
...
ci: remove spi_flash_qio_s2 config
See merge request espressif/esp-idf!12927
2021-03-30 03:00:34 +00:00
Angus Gratton
4dba80239e
ci: Extend timeout for initial gdbstub commands in panic tests
...
Theory is that on the runner, in rare cases, gdb may need more than
1 second to load and start responding to commands.
However it's possible these timeouts are due to some other problem
(like gdb failing)
2021-03-30 11:01:39 +11:00
Ivan Grokhotkov
eec9e414d5
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash' into 'master'
...
tools: handle exception in case of logging Unicode characters
Closes IDF-2867
See merge request espressif/esp-idf!12520
2021-03-29 19:21:01 +00:00
Marius Vikhammer
b4d2fb56a0
ci: enable previously disabled unit tests
2021-03-29 18:36:41 +08:00
Ivan Grokhotkov
fa995fd92f
Merge branch 'bugfix/broken_virtualenv' into 'master'
...
tools: Reinstall virtualenv if it is broken
Closes IDFGH-4859
See merge request espressif/esp-idf!12626
2021-03-29 08:44:17 +00:00
Ivan Grokhotkov
55986cabaf
Merge branch 'bugfix/idfpy_global_action_callbacks_order' into 'master'
...
idf.py: Run global_action_callbacks in predictable order
See merge request espressif/esp-idf!12675
2021-03-29 08:36:31 +00:00
Renz Bagaporo
0a3ae58a61
system: add test for simulating single core esp32 startup
2021-03-29 06:50:47 +00:00
Marius Vikhammer
b99c973d9f
ci: remove spi_flash_qio_s2 config
...
This config is already run for all targets in spi_flash_qio config
2021-03-26 16:46:21 +08:00
Juraj Michálek
181a2389dc
tools: handle exception in case of logging Unicode characters
2021-03-25 13:09:34 +01:00
Marius Vikhammer
d3d145285d
flash enc: add flash encryption unit and example test for C3
2021-03-25 17:51:22 +08:00
Juraj Michalek
70e06a46ba
tools: IDF Windows installer offline mode support
2021-03-24 12:27:46 +01:00
Angus Gratton
fa2946d651
Merge branch 'feature/support_esp32s3_beta_3' into 'master'
...
Support ESP32S3 beta 3 target
Closes IDF-2908
See merge request espressif/esp-idf!12661
2021-03-23 10:17:58 +00:00
Renz Bagaporo
b5c3d4f615
cmake: swap priority between EXTRA_COMPONENT_DIRS and project components
2021-03-22 19:01:33 +08:00
Marius Vikhammer
2aead8ba57
Support ESP32S3 Beta 3 target
...
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
Anton Maklakov
93c0d0b4b8
Merge branch 'ci/build_unit_test_in_parallel' into 'master'
...
ci: build unit_test in parallel
See merge request espressif/esp-idf!12510
2021-03-18 02:10:05 +00:00
Martin Vychodil
7bbe2a235f
* fixed generation of .gdbinit file (esp32c3 dbg issue)
2021-03-15 15:52:07 +01:00
Sergei Silnov
cce0766ecc
Run global_action_callbacks in predictable order
2021-03-15 10:37:06 +01:00
Ivan Grokhotkov
9de1591660
Merge branch 'bugfix/doc_build_remove_warning' into 'master'
...
tools: Remove unnecessary warning generated during documentation generation
Closes IDF-2840
See merge request espressif/esp-idf!12606
2021-03-15 08:59:22 +00:00
Fu Hanxi
2229e3635f
ci(UT): add argument "node_index" in UnitTestParser
2021-03-15 16:04:42 +08:00
Omar Chebib
5371231935
build: fix linker scripts edition not triggering a rebuild
...
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-03-12 07:48:32 +00:00
Roland Dobai
da8e3e5607
CI: Fix git tag in cmake build tests where email address cannot be autodetected
2021-03-11 17:18:26 +00:00
Renz Bagaporo
60ee143c3b
tools: fix ldgen_test fragment file KEEP
2021-03-11 12:04:40 +08:00
Angus Gratton
49a52ec991
Merge branch 'feature/ldgen_flags_internals_doc' into 'master'
...
ldgen: additional docs
Closes IDF-2821
See merge request espressif/esp-idf!12599
2021-03-10 23:51:05 +00:00
Angus Gratton
39a2d531f0
Merge branch 'feature/ldgen_mapping_extensions' into 'master'
...
ldgen: mapping flags extensions
Closes IDFGH-2524
See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
Renz Bagaporo
6088af1193
ldgen: additional documentations re. internal workings
2021-03-09 14:42:38 +08:00
Roland Dobai
49360cb401
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-08 10:20:33 +01:00
Roland Dobai
191c4ccc01
tools: Add Python typing annotations for idf_tools.py
2021-03-08 10:20:33 +01:00
Roland Dobai
464b3d814e
CI: Use temporary git configs in the tests
2021-03-05 11:54:11 +01:00
Renz Bagaporo
acd2385d0e
ldgen: parenthesis for KEEP
2021-03-05 18:09:19 +08:00
Renz Bagaporo
69906ed5f2
ldgen: rename key-value grammar class
2021-03-05 17:48:47 +08:00
Fu Hanxi
8ce9e17718
Merge branch 'ci/remove_commit_trigger_and_wip_restriction' into 'master'
...
CI: remove commit trigger and wip restriction
See merge request espressif/esp-idf!12580
2021-03-05 02:27:03 +00:00
Roland Dobai
bccb5be82f
tools: Remove unnecessary warning generated during documentation generation
2021-03-03 19:12:03 +01:00
Angus Gratton
9b988ca097
config: Add new option to replace IDF_PATH and project path with placeholders in macros
...
Allows building with asserts on and still not finding any actual file paths in the
final binary file.
Alternative fix for https://github.com/espressif/esp-idf/issues/6306
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-03-03 10:31:05 +11:00
Angus Gratton
9ae01e40b5
ci: Add a test app for not placing embedded file paths into binaries
...
Doubles as a test app that building with assertions off doesn't produce warnings.
Closes https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:31:05 +11:00
Fu Hanxi
c7a856db88
ci: remove trigger with commit message method and make it simpler
2021-03-02 11:50:04 +08:00
Anton Maklakov
0d5a3a2d53
Merge branch 'ci/update_mypy_ignorelist' into 'master'
...
CI: Update mypy_ignore_list
See merge request espressif/esp-idf!12564
2021-03-02 03:36:10 +00:00
Krzysztof Budzynski
22224589bb
Merge branch 'doc/c3_api_ref_update' into 'master'
...
docs: minor api-reference update for C3
Closes IDF-2326, IDF-2268, and IDF-2346
See merge request espressif/esp-idf!12460
2021-03-01 09:59:20 +00:00
Ivan Grokhotkov
ee7c66cc82
Merge branch 'bugfix/idf_size_total_size_without_bss' into 'master'
...
tools: Don't count BSS into the total image size
Closes IDF-2813
See merge request espressif/esp-idf!12479
2021-03-01 08:34:09 +00:00
Marius Vikhammer
6334b5e56f
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-01 14:58:08 +08:00
Tomas Sebestik
c9f710ea2c
Update mypy_ignore_list
...
Add missing records mostly in /examples dir
2021-03-01 07:41:37 +01:00
Renz Bagaporo
10c5226095
ldgen: use uppercase keywords for flags
2021-03-01 14:19:34 +08:00
Renz Bagaporo
7af3d65868
ldgen: surround always pre and post
2021-03-01 14:19:34 +08:00
Renz Bagaporo
dbdc17cced
ldgen: rename emit to surround
2021-03-01 14:19:34 +08:00
Renz Bagaporo
1fa2308e52
ci: update ldgen_test test_app to test flags
2021-03-01 14:19:34 +08:00
Renz Bagaporo
b99777066f
ldgen: implement flags support
...
Implement support for KEEP, ALIGN, emitting symbols and SORT.
Add appropriate tests
Defines default mapping in linker fragment file
2021-03-01 14:19:34 +08:00
Angus Gratton
e3045d9a63
Merge branch 'bugfix/git_describe_cmake' into 'master'
...
build system: fix NOTFOUND git version error
See merge request espressif/esp-idf!12526
2021-02-28 23:29:07 +00:00
David Čermák
00432fa2c3
Merge branch 'feature/update_mqtt_test_url' into 'master'
...
Feature/update mqtt test url
See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Roland Dobai
7be1d2287c
tools: Don't count BSS into the total image size
2021-02-26 06:49:35 +00:00
No One
8416e724c0
build system: fix NOTFOUND git version error
...
CMake would fail to find the git version of the IDF repo due to
not being able to parse the whitespace in the git describe command
2021-02-26 14:39:23 +08:00
Anton Maklakov
3a629afb06
Merge branch 'feature/type_checking_python' into 'master'
...
CI:Type checking of Python scripts
Closes IDF-2413
See merge request espressif/esp-idf!12287
2021-02-26 03:06:37 +00:00
Angus Gratton
ecf2134bc4
Merge branch 'feature/libsodium_ut_enable' into 'master'
...
libsodium: Enables UTs for ESP32-S2 & C3
Closes IDF-1423
See merge request espressif/esp-idf!12497
2021-02-25 22:40:19 +00:00
Angus Gratton
501af6dfa2
Merge branch 'feature/secure_boot_revoke_check' into 'master'
...
secure_boot: Checks secure boot efuses
Closes IDF-2609
See merge request espressif/esp-idf!12148
2021-02-25 22:38:42 +00:00
Michael (XIAO Xufeng)
eb29d8dbda
Merge branch 'feature/support_invert_rmt_signal_in_gpio_matrix' into 'master'
...
rmt: support inverting signal in gpio matrix
Closes IDF-2762
See merge request espressif/esp-idf!12420
2021-02-25 11:14:19 +00:00
KonstantinKondrashov
e29b99f1a5
libsodium: Enables UTs for ESP32-S2 & C3
2021-02-25 10:41:59 +00:00
Angus Gratton
0f62d0dd9b
Merge branch 'bugfix/git_describe' into 'master'
...
tools: Use git describe --match for filtering out internal names
Closes IDF-2410
See merge request espressif/esp-idf!12398
2021-02-25 07:23:38 +00:00
Tomas Sebestik
cc33aafc4f
Update exclude_check_tools_files.txt
...
Add tools/ci/mypy_ignore_list.txt to exclude_check_tools_files.txt
2021-02-25 07:05:43 +00:00
Tomas Sebestik
a22597a2d6
Add mypy check to pre-commit-config
2021-02-25 07:05:43 +00:00
morris
7b37158ede
rmt: distinguish group and channel in HAL layer
2021-02-25 12:42:23 +08:00
Renz Bagaporo
43f6c7a533
esp_common: simplify component build script
2021-02-24 12:16:37 +08:00
Renz Bagaporo
813044c6db
docs, ci: update docs and ci with movements from esp_common
2021-02-24 12:16:37 +08:00
Angus Gratton
c179ece204
Merge branch 'bugfix/c++_usage_esp_core_dump_h' into 'master'
...
Fixed c++ include usage for esp_core_dump.h
Closes IDFGH-4782
See merge request espressif/esp-idf!12432
2021-02-24 03:18:25 +00:00
yuanjm
13776ec81b
tools: Update mqtt open source test server address
2021-02-23 15:30:29 +08:00
Roland Dobai
48488f1683
tools: Use git describe --match for filtering out internal names
2021-02-23 06:55:21 +00:00
Angus Gratton
fb1488abba
Merge branch 'feature/esp_timer_isr_dispatch_method_restore' into 'master'
...
esp timer: Add ISR dispatch method
Closes IDF-1172 and IDF-1173
See merge request espressif/esp-idf!11572
2021-02-23 06:21:14 +00:00
KonstantinKondrashov
90f2d3199a
secure_boot: Checks secure boot efuses
...
ESP32 V1 and V2 - protection bits.
ESP32xx V2: revoke bits, protection bits
- refactor efuse component
- adds some APIs for esp32 chips as well as for esp32xx chips
2021-02-23 03:56:21 +08:00
morris
018d13645b
ci: exclude esp_rom component when checking rom api usage
2021-02-22 20:56:43 +08:00
0xFEEDC0DE64
e5c460ec7d
Removed esp_core_dump.h from check_public_headers_exceptions.txt (as per @igrr 's request
2021-02-21 01:35:42 +01:00
Angus Gratton
3368fe321d
Merge branch 'doc/test_configs' into 'master'
...
test apps: Add some documentation about test app configs
See merge request espressif/esp-idf!12395
2021-02-19 06:47:16 +00:00
Angus Gratton
ca29765e97
test apps: Add some documentation about test app configs
2021-02-17 18:10:51 +11:00
David Čermák
e615d10b4f
Merge branch 'feature/transport_tcp_connection_errors' into 'master'
...
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication
Closes IDFGH-4405
See merge request espressif/esp-idf!12136
2021-02-16 13:32:47 +00:00
Ivan Grokhotkov
22cc1121fb
Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
...
CI: Detect file changes to assign jobs
See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Ivan Grokhotkov
863aecc38d
Merge branch 'bugfix/fix-automatic-connection' into 'master'
...
bugfix: fixed automatic connection in idf_monitor
Closes IDF-2654
See merge request espressif/esp-idf!12220
2021-02-16 08:58:26 +00:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Roland Dobai
47f67f8b81
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-13 11:34:40 +01:00
Angus Gratton
e22de81955
Merge branch 'feature/idfpy_update_component_manager_tests' into 'master'
...
CMake - process dependencies for all components by component manager
Closes PACMAN-87
See merge request espressif/esp-idf!9357
2021-02-12 11:28:18 +08:00
Martin Gaňo
179e23b38a
Fixed automatic connection in idf_monitor
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-02-11 17:35:46 +01:00
Ivan Grokhotkov
890ee19ee4
Merge branch 'bugfix/eclipse_make_decode' into 'master'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
Closes IDFGH-4693
See merge request espressif/esp-idf!12309
2021-02-10 18:38:16 +08:00
Fu Hanxi
7db83b26da
style(pre-commit): unrelated changes
2021-02-10 14:50:07 +08:00
Fu Hanxi
80e86e7939
ci(pre-commit): check if rules is updated and valid
2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c
ci(rules): auto generate rules.yml labels titles and rules
...
Also simplified the labels and ci
- Remove label regular_test, weekend_test
- Remove apply_job_filter
- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c
ci(rules): add check_tools_file_patterns.py
...
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484
ci: move config dir to .gitlab/ci
2021-02-10 14:48:51 +08:00
Fu Hanxi
7735d04f4f
ci(sonarqube): Modify code_quality_check since it's a MR pipeline now
2021-02-10 14:48:51 +08:00
Fu Hanxi
ffe0b7af32
ci: Move static code analysis related jobs to static-code-analysis.yml
2021-02-10 14:48:51 +08:00
Fu Hanxi
7dd7c6c072
ci(docs): Move doc related jobs to docs.yml
2021-02-10 14:48:51 +08:00
Angus Gratton
c8315e0110
version: Update to v4.4-dev
2021-02-10 16:07:24 +11:00
Anton Maklakov
0bbc721a63
Merge branch 'bugfix/known_failure_cases_read_file_error' into 'master'
...
ci: bugfix: known failure cases cannot read files
See merge request espressif/esp-idf!12340
2021-02-10 12:27:23 +08:00
Fu Hanxi
4ffd458ddd
ci: bugfix: known failure cases cannot read files
2021-02-09 15:33:49 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1289918204
Merge branch 'refactor/ldgen_generation_changes' into 'master'
...
ldgen: internal data structure change
See merge request espressif/esp-idf!11494
2021-02-09 11:03:09 +08:00
KonstantinKondrashov
63d4911cdb
esp_timer: Add ESP_TIMER_ISR dispatch method
...
Using own spinlock for each list (TASK and ISR disp method)
Reduced the dependency of ISR on the TASK dispatch method
2021-02-08 19:10:11 +08:00
Patryk Krzywdziński
63b3184aea
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-05 17:20:55 +01:00
Michael (XIAO Xufeng)
747ac00f9b
Merge branch 'bugfix/flash_encyption_80Mflash_40Mram' into 'master'
...
flash_encryption/psram: fixed the issue that block when flash_encryption_write
See merge request espressif/esp-idf!12177
2021-02-05 22:00:26 +08:00
Cao Sen Miao
3294547d27
ci: move freerom/sdmmc repo to psram3 for saving ram
2021-02-05 20:10:55 +08:00
Cao Sen Miao
c1b41ece32
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-02-05 20:10:42 +08:00
Michael (XIAO Xufeng)
423a5458dc
Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
...
spi_flash: add external flash support on esp32c3
Closes IDF-2650, IDF-2651, and IDF-2399
See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Michael (XIAO Xufeng)
fb678dd772
ci: increase target test job num
2021-02-05 15:03:16 +08:00
Renz Bagaporo
23590374b5
ldgen: add test app for placement sanity check
2021-02-05 10:20:37 +08:00
Renz Bagaporo
7f18c948dc
ldgen: refactor generation tests and description addition
2021-02-05 10:20:37 +08:00
Ivan Grokhotkov
ffa8c22c39
Merge branch 'feature/ut_perf_tests_disable_on_fpga' into 'master'
...
ut: Disable all performance test comparisons when running on FPGA
See merge request espressif/esp-idf!11415
2021-02-05 09:56:20 +08:00
Sergei Silnov
a5981c12c2
Move call for component manager to build.cmake
2021-02-04 15:07:23 +01:00
ChenJianxing
dc350a9c7c
esp_wifi: support esp32c3 rom eco3
2021-02-04 18:28:06 +08:00
Cao Sen Miao
8020c46da7
spi_flash: enable ext flash unit-test on esp32c3
2021-02-04 14:44:50 +08:00
Renz Bagaporo
0142676cbf
ldgen: additional tests for generation support classes
2021-02-03 19:50:36 +08:00
Renz Bagaporo
a41a56b5b0
ldgen: refactor generation internals
2021-02-03 19:44:28 +08:00
Ivan Grokhotkov
4edaf134bb
Merge branch 'feature/loadable_elf_c3' into 'master'
...
build-system: add loadable elf support for ESP32-S2 and C3
Closes IDF-2137
See merge request espressif/esp-idf!12217
2021-02-03 19:40:34 +08:00
Angus Gratton
d54f0e40ba
Merge branch 'bugfix/unaligned_poisoned_memory' into 'master'
...
heap: fix unaligned memory bug when poisoning is enabled.
Closes IDF-2653
See merge request espressif/esp-idf!12132
2021-02-03 13:52:57 +08:00
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +08:00
Marius Vikhammer
fa7aa656d3
build-system: add loadable elf support for ESP32-S2 and C3
2021-02-02 17:21:39 +08:00
Krzysztof Budzynski
d2e6793582
Merge branch 'docs/c3_get_started' into 'master'
...
docs: inital doc update for C3
Closes IDF-2312, IDF-2314, IDF-2551, IDF-2611, and IDF-2317
See merge request espressif/esp-idf!11884
2021-02-02 14:18:23 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
Omar Chebib
c4dc3acba9
heap: add light poisoning configuration to the tests.
...
Relates to IDF-2653
2021-02-01 11:58:42 +08:00
Angus Gratton
8dbb14b469
system: Log a warning when booting bootloader or app configured for FPGA use
...
Such a firmware may appear to work on normal chip, but not everything will function as expected.
2021-02-01 14:24:38 +11:00
Sergei Silnov
99bf2ed61d
idf.py: remove mentions of idf_project.yml and update tests
2021-01-29 23:08:47 +01:00
Anton Maklakov
af9add8dca
Merge branch 'bugfix/win_inst_build' into 'master'
...
bugfix: revert command for invoking iscc
See merge request espressif/esp-idf!12164
2021-01-29 13:01:41 +08:00
Ivan Grokhotkov
8b96dcb5ff
Merge branch 'bugfix/gdb_panic_server_py2.7' into 'master'
...
tools/gdb_panic_server.py: fix compatibility with python 2.7
See merge request espressif/esp-idf!12128
2021-01-29 08:34:48 +08:00
Ivan Grokhotkov
3dea56d15c
Merge branch 'feature/esp32c3_supported_target' into 'master'
...
tools/idf.py: promote esp32c3 from preview to supported targets
See merge request espressif/esp-idf!12129
2021-01-29 07:01:50 +08:00
Ivan Grokhotkov
11a0e1d9fc
Merge branch 'fix/ninja_1.10.2' into 'master'
...
tools: ninja: update to 1.10.2
Closes IDF-2216
See merge request espressif/esp-idf!12043
2021-01-29 06:50:15 +08:00
Mahavir Jain
80b196a662
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-01-28 12:19:21 +00:00
Ivan Grokhotkov
f3cef33791
tools/gdb_panic_server: wrap b"" with bytes() for py2.7 compatibility
...
Fixes the exception while decoding the stack dump:
File "tools/gdb_panic_server.py", line 270, in _respond_mem
result += "{:02x}".format(stack_data[addr - stack_addr_min])
ValueError: Unknown format code 'x' for object of type 'str'
2021-01-28 11:20:32 +01:00
Ivan Grokhotkov
e70d534566
tools/idf.py: promote esp32c3 from preview to supported target
2021-01-28 11:12:56 +01:00
Ivan Grokhotkov
9a20283485
Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
...
ci: bugfix: scan_test missing build apps without tests
See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Ivan Grokhotkov
0134fb5cf9
Merge branch 'feature/skip_known_failure_cases' into 'master'
...
CI: Ignore Known Failure Cases Result
Closes IDFCI-135 and IDF-1992
See merge request espressif/esp-idf!10866
2021-01-28 17:47:57 +08:00
Mahavir Jain
719aeacb4e
Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
...
Enable app_update tests for ESP32-C3
Closes IDF-2495
See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00
Fu Hanxi
85d4bca81a
feat(tiny_test_fw): unify all junit report test case name
...
new format: <target>.<config>.<case_name>, the default value of
"config" is "default"
2021-01-28 12:25:14 +08:00
Fu Hanxi
7518393ee8
feat(ci): update known_failure_cases_repo before running tests
2021-01-28 12:25:14 +08:00
Fu Hanxi
d63069068f
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-01-28 12:25:14 +08:00
Martin Vychodil
69096ddce5
Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
...
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)
Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Mahavir Jain
85f120654a
unit-test-app: add config for app_update tests for ESP32-C3
2021-01-27 12:50:39 +05:30
Angus Gratton
526f9507de
Merge branch 'bugfix/linux_host_build_clang' into 'master'
...
build system: don't add GCC-specific options when building with clang
See merge request espressif/esp-idf!12066
2021-01-27 15:17:19 +08:00
Fu Hanxi
eef620a028
fix: drop s3, c3 support for pppos test apps
...
no SOC_UART_SUPPORT_REF_TICK for these targets
2021-01-27 12:35:49 +08:00
Fu Hanxi
119b61451f
fix(test_apps): add supported targets for memprot, panic, monitor_ide
2021-01-27 12:35:49 +08:00
Fu Hanxi
be3d74efb2
fix(ci): scan_test missing build apps without tests
2021-01-27 12:35:49 +08:00
Juraj Michálek
eeec8952de
bugfix: revert command for invoking iscc
2021-01-26 14:21:44 +01:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Cao Sen Miao
f3e79ca166
spi_flash(c3): add boya chip support for suspend feature
2021-01-25 11:14:06 +08:00
Ivan Grokhotkov
ed7fbfefac
build system: don't add GCC-specific options when building with clang
2021-01-24 12:48:29 +01:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
Ivan Grokhotkov
88252c98b8
Merge branch 'feature/refactor_espcoredump' into 'master'
...
Feature: Refactor espcoredump
See merge request espressif/esp-idf!11525
2021-01-21 20:35:31 +08:00
Ivan Grokhotkov
61c5604d83
Merge branch 'feature/pwsh_4win_installer' into 'master'
...
win_installer: Powershell support
Closes IDF-930
See merge request espressif/esp-idf!6882
2021-01-21 18:19:01 +08:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
Fu Hanxi
be71f5050d
core dump: modify the test according to the refactor
2021-01-21 15:14:59 +08:00
He Yin Ling
3a732f1e52
Merge branch 'ci/build_ssc_on_esp32c3' into 'master'
...
CI: add build ESP32C3 SSC jobs
See merge request espressif/esp-idf!12000
2021-01-21 13:34:16 +08:00
He Yin Ling
b036f6c06d
CI: add build ESP32C3 SSC jobs
2021-01-21 03:00:44 +00:00
Aditya Patwardhan
cc3843263a
esp-tls: Added unit tests
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
b77c85c1e1
ttfw/IDFDUT: i) Added option to erase_flash in the IDFDUT class
...
ii) Renamed the method dump_flush to dump_flash
2021-01-20 11:12:14 +00:00
Ivan Grokhotkov
654d4b8d72
Merge branch 'bugfix/ttfw_fix_detect_dut_failed' into 'master'
...
ttfw: fix get dut failed when dut port is set as env variable
See merge request espressif/esp-idf!11994
2021-01-20 07:43:01 +08:00
Ivan Grokhotkov
b69f94fb3a
Merge branch 'feature/move_ringbuf_funcs_into_flash' into 'master'
...
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
Closes IDF-2247
See merge request espressif/esp-idf!10731
2021-01-20 07:32:39 +08:00
Alex Lisitsyn
8bde6b8fca
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
2021-01-20 07:32:31 +08:00
Ivan Grokhotkov
19d2e4cca1
Merge branch 'bugfix/idf_tools_py_splittype_deprecation' into 'master'
...
idf_tools.py: avoid splittype call deprecated in python3.8
Closes IDFGH-4364
See merge request espressif/esp-idf!11956
2021-01-20 07:24:36 +08:00
Juraj Michálek
6d7edcb130
tools: fix: ubounded variable in win installer build script
2021-01-19 13:34:32 +01:00
morris
9fb95b6fa5
ci: don't allow failure for submodule sync
2021-01-19 17:25:48 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
Renz Bagaporo
8d52b0b5e1
ci: exempt upstream libmbedtls mapping for sha256
2021-01-19 11:17:18 +08:00
Renz Bagaporo
ef6c8e351b
ldgen: fix sections info parsing
...
Fixes an issure where the first part of an object file name is not
included, due to matching the rule for a section entry previously.
Reduce depedency on matching literal strings in sections which might
change depending on toolchain (ex. matching 'elf32-xtensa-le')
Make sure parsing rule succeeds for the entirety of the sections info
string by adding 'parseAll=True'.
Add test for sections info parsing.
2021-01-19 11:17:18 +08:00
Renz Bagaporo
32206d3a7d
ci: enabled ldgen mapping check in ci
2021-01-19 11:17:18 +08:00
Renz Bagaporo
d8d24051a4
ldgen: allow checking mappings
2021-01-19 11:17:18 +08:00
Juraj Michálek
f814a4dc02
fix: tools detection of wheels dir
2021-01-18 17:26:20 +01:00
Juraj Michálek
ae703b2bff
tools: ninja: update to 1.10.2
2021-01-18 12:04:54 +01:00
Andrei Gramakov
d23989aee2
win_installer: add PowerShell shortcut
...
add idf_cmd_init.ps1
update git vesion
2021-01-18 11:12:25 +01:00
Ivan Grokhotkov
76acc8ddde
Merge branch 'feature/win_inst_embedded_python' into 'master'
...
tools: support for embedded Python
Closes IDF-322
See merge request espressif/esp-idf!11682
2021-01-18 16:54:47 +08:00
Juraj Michálek
1427b3a6d8
tools: support for embedded python
2021-01-18 08:10:56 +01:00
Angus Gratton
5938b9a892
Merge branch 'feature/support_esp32c3_master_cmake_reset_reason' into 'master'
...
esp32c3: Add UTs for reset_reason
Closes IDF-2091
See merge request espressif/esp-idf!11546
2021-01-18 07:12:21 +08:00
Konstantin Kondrashov
d23c7690f2
esp32c3: Add UTs for reset_reason
2021-01-18 07:12:21 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Anton Maklakov
6d239d703e
Merge branch 'bugfix/ci_test_app_ide_integration' into 'master'
...
CI: Fix port for test app of IDF Monitor IDE integration
Closes IDFCI-388
See merge request espressif/esp-idf!12004
2021-01-15 16:33:13 +08:00
Roland Dobai
c6962df016
CI: Fix port for test app of IDF Monitor IDE integration
2021-01-14 16:17:14 +01:00
Jakob Hasse
b51889dccb
system: stack watchpoint support on C3
...
Closes IDF-2307
2021-01-14 17:46:44 +08:00
He Yin Ling
5befaac4be
ttfw: fix get dut failed when dut port is set as env variable
2021-01-14 17:22:11 +08:00
Ivan Grokhotkov
9827adaa09
panic: fix illegal instruction test to be compatible with RISC-V
2021-01-14 16:35:11 +08:00
Ivan Grokhotkov
8dcdca8d76
Merge branch 'feature/add-ability-to-disable-address-decoding' into 'master'
...
Add ability to disable address decoding using environment variable
Closes IDFGH-180
See merge request espressif/esp-idf!11795
2021-01-14 16:12:35 +08:00
Fu Hanxi
4867b38c74
ci: sonarqube: use exit-code instead of extra job
2021-01-14 11:44:39 +08:00
morris
753a929525
global: fix sign-compare warnings
2021-01-12 14:05:08 +08:00
Angus Gratton
6d3e06a9a3
ttfw: Move TestCaseFailed exception and handle differently to other exceptions
...
But also ensure the string form of this exception is never empty, if it ends up
somewhere else.
2021-01-12 11:42:03 +11:00
Angus Gratton
441d1306be
ci ttfw: Consistently handle unexpected exceptions in test cases
2021-01-12 11:42:03 +11:00
Sergei Silnov
c305ceb55f
idf_tools.py: avoid splittype call deprecated in python3.8
...
Closes https://github.com/espressif/esp-idf/issues/6200
2021-01-11 17:45:29 +01:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
f34925537e
Merge branch 'feature/idf_tools_darwin_arm64' into 'master'
...
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
See merge request espressif/esp-idf!11911
2021-01-08 22:16:06 +08:00
Martin Gaňo
8c0a3aa006
Add ability to disable address decoding using evironment variable
...
Closes https://github.com/espressif/esp-idf/issues/1679
2021-01-08 15:13:50 +01:00
Ivan Grokhotkov
bac77b4bf7
Merge branch 'feature/idf-list-ports' into 'master'
...
idf.py: Use function for port detection from esptool.py in idf.py and idf_monitor.py
Closes IDFGH-3104
See merge request espressif/esp-idf!11359
2021-01-08 21:36:08 +08:00
Ivan Grokhotkov
5739127412
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
...
Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.
Suggested in https://github.com/espressif/esp-idf/issues/6113 .
2021-01-07 21:21:18 +01:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
4e82540730
ttfw: save console log to file
2021-01-07 17:10:40 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
David Cermak
6676a1b4ba
ci/mqtt: Made MQTT test app tls insecure capable
...
This is needed for testing different connection modes in the mqtt
library, specifically:
* test case CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT: default server - expect to connect normally
2021-01-05 21:23:25 +01:00
David Cermak
5472deec6e
ci: Add MQTT publish test to standard test apps
2021-01-05 12:04:36 +00:00
David Cermak
9740db5004
ci: Extend the MQTT weekend test to check mqtt-enqueue api
2021-01-05 12:04:36 +00:00
Angus Gratton
60ec13b122
Merge branch 'feature/make_uf2' into 'master'
...
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
See merge request espressif/esp-idf!11587
2021-01-05 07:17:27 +08:00
martin.gano
f83039a0cb
Imporove port detection in idf.py
...
Closes https://github.com/espressif/esp-idf/issues/5125
2020-12-31 14:25:52 +01:00
Marius Vikhammer
5f130ff909
CI: enable C3 template app
2020-12-31 15:20:05 +11:00
Angus Gratton
76ed28172c
unity: Add option to ignore performance test failures
...
Set by default on FPGA, where performance may be significantly different to a
real chip.
2020-12-31 10:29:31 +11:00
Marius Vikhammer
3458469204
newlib: Update esp32c3 ROM support, use single init function
2020-12-31 09:27:37 +11:00
Angus Gratton
ec75f923ef
Merge branch 'ci/raise_esptool_errors' into 'master'
...
ci: Don't swallow exception details from flashing process
See merge request espressif/esp-idf!11803
2020-12-30 11:22:57 +08:00
Angus Gratton
641b92da75
Merge branch 'feature/add_c3_target_master' into 'master'
...
tools: merge C3 changes into master
Closes IDF-2364 and IDF-2564
See merge request espressif/esp-idf!11800
2020-12-30 10:39:14 +08:00
Ivan Grokhotkov
7ab57605cb
test: panic: make stack overflow test more robust
...
The previous approach was to allocate an array on the stack, and
have the array extend past the stack size. This worked by would
result in SP being moved near the end of the stack. If an interrupt
triggered at that time, interrupt prologue would try to save the
context to the stack, tripping the stack overflow watchpoint.
Replacing this with the approach which doesn't move the SP and simply
writes to decreasing addresses from SP, until stack overflow check
triggers.
2020-12-30 01:10:09 +01:00
Marius Vikhammer
7fe16bae25
tools: merge C3 changes into master
2020-12-30 07:04:12 +08:00
Ivan Grokhotkov
de798541dc
tools: use riscv32-esp-elf toolchain for ESP32-S2 RISC-V ULP
...
riscv32-esp-elf toolchain (used for ESP32-C3) can also be used for
ESP32-S2 RISC-V ULP coprocessor.
This removes the riscv-none-embed-gcc toolchain which was originally
used for the ULP, and updates the docs and CMake files to use
riscv32-esp-elf.
Some flags are cleaned up and workarounds removed from CMake toolchain
file.
2020-12-29 19:19:18 +00:00
Roland Dobai
548ea1bdd5
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
...
@mmoskal This commit adds basic support for UF2 into ESP-IDF.
2020-12-29 18:14:47 +01:00
Ivan Grokhotkov
7f3b16a99d
freertos: always enable static allocation
...
to use it for newlib locks
2020-12-29 16:18:04 +01:00
Anton Maklakov
286f06b274
Merge branch 'bugfix/ci_flasher_args_json_dict_items' into 'master'
...
ci: fix flasher_args.json parser (iterate over dictionary)
Closes IDFCI-347
See merge request espressif/esp-idf!11787
2020-12-29 21:15:12 +08:00
Angus Gratton
88d0d1fa02
ci: Don't swallow exception details from flashing process
...
If flashing fails, throw an exception that includes some information about the failure.
2020-12-29 15:41:22 +11:00
Angus Gratton
629b4270b4
Merge branch 'feature/c3_mbedtls_merge' into 'master'
...
mbedtls: merge changes from C3 to master
Closes IDF-2544 and IDF-2114
See merge request espressif/esp-idf!11718
2020-12-29 12:37:08 +08:00
Omar Chebib
fcbc706a66
ci: fix flasher_args.json parser (iterate over dictionary)
...
Closes IDFCI-347
2020-12-29 12:27:51 +08:00