Roland Dobai
0ac685d094
Merge branch 'bugfix/monitor_reset_start' into 'master'
...
Tools: Fix chip reset on IDF Monitor connection
Closes IDFGH-5451, IDFCI-690, IDF-3455, and IDF-287
See merge request espressif/esp-idf!14349
2021-07-22 12:19:25 +00:00
Juraj Michálek
76544b053a
tools: Windows Installer project moved to github.com/espressif/idf-installer
2021-07-22 12:13:38 +02:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
Fu Hanxi
69650e0c18
Merge branch 'feature/espcoredump_test_refactor' into 'master'
...
Feature: espcoredump test refactor
See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Fu Hanxi
a6068ef259
Merge branch 'feature/pass_idf_version_to_component_manager' into 'master'
...
feat: pass idf version to component manager
See merge request espressif/esp-idf!14343
2021-07-22 04:04:19 +00:00
Fu Hanxi
12f0b55ca9
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2021-07-22 10:17:59 +08:00
Ivan Grokhotkov
2f811b7975
cmake: sort lists obtained from file(GLOB)
...
CMake sorts result of file(GLOB) command since version 3.6.0:
https://gitlab.kitware.com/cmake/cmake/-/commit/edcccde7d
Since ESP-IDF sets cmake_minimum_required version to 3.5, and version
3.5.1 is used in CI, sort file lists obtained from file(GLOB)
manually.
This helps obtain reproducible order of libraries passed to the linker
and to ldgen.
2021-07-22 10:14:33 +08:00
Shubham Patil
df12f22e37
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-21 20:24:47 +05:30
morris
fd568ce2c0
Merge branch 'bugfix/add_requires_to_mock_register' into 'master'
...
[cmake]: Fixed mock register function
See merge request espressif/esp-idf!14396
2021-07-21 06:54:20 +00:00
Roland Dobai
31f45f7200
Tools: Fix chip reset on IDF Monitor connection
...
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Dmitry
dbf5c6fd58
Tools: Fix chip reset on IDF Monitor connection
...
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Anton Maklakov
be8ef09a59
Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
...
[cxx]: Activate emergency exception memory pool test in CI
Closes IDF-1610
See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Roland Dobai
7c3a4bc26b
Merge branch 'feature/installing_tools_for_IDF_TARGET' into 'master'
...
tools: Installing tools for given IDF_TARGET
Closes IDF-814 and IDFGH-3092
See merge request espressif/esp-idf!13351
2021-07-19 06:53:01 +00:00
Jakob Hasse
366ede3ffb
[cmake]: Fixed mock register function
...
* REQUIRES was missing from multi value args
2021-07-19 13:57:19 +08:00
Michael (XIAO Xufeng)
59195b6fb3
Merge branch 'bugfix/update_gdma_soc' into 'master'
...
gdma: alignment setting for PSRAM transfer
Closes IDF-1524
See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
Marek Fiala
f6c2198a21
tools: Installing tools for given IDF_TARGET
...
Allow user to select specific ESP_TARGET while setting up ESD_IDF.
Only necessary tools for given target will be downloaded and installed.
Closes https://github.com/espressif/esp-idf/issues/5113
2021-07-16 15:03:19 +02:00
Angus Gratton
f9d958a65d
ut configs: Replace target component with esp_hw_support
...
No tests remaining in the target components.
Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
1e628c0f30
esp32h2: Build unit test app
2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7
tests gen_digital_signature_tests: Fix mypy issues
2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823
esp32: move app linker scripts
2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c
esp32: cleanup build script
2021-07-16 20:14:27 +08:00
Renz Bagaporo
702e41e1c8
esp32s2: move crypto related functions
2021-07-16 20:14:26 +08:00
morris
d9819bc7ae
gdma: set transfer ability
2021-07-16 14:47:09 +08:00
Fu Hanxi
b26b6d7dc9
feat: set IDF_VERSION to environment variable
2021-07-16 12:01:57 +08:00
Mahavir Jain
f45b60b28b
Merge branch 'bugfix/esp_prov_default_pop' into 'master'
...
Change default PoP argument of esp_prov.get_security from None to string
Closes IDFGH-5381 and IDFGH-5380
See merge request espressif/esp-idf!14353
2021-07-15 18:00:03 +00:00
Marius Vikhammer
126c6405f1
Merge branch 'feature/s3_default_2_config' into 'master'
...
CI: add S3 default_2 unit test config
See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Alex Henrie
5ed53c272b
Change default PoP argument of esp_prov.get_security from None to string
...
Signed-off-by: Shivani Tipnis <shivani@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7130
Closes IDFGH-5380
2021-07-15 13:06:53 +05:30
Ivan Grokhotkov
afe14a5ed2
Merge branch 'bugfix/newlib_dirent_decls' into 'master'
...
newlib: add C++ guards to the platform-specific dirent.h
Closes IDFGH-5465
See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Ivan Grokhotkov
da3038cd7a
Merge branch 'bugfix/tools_fix_win_c3_gdb' into 'master'
...
tools: Update ESP32-C3 toolchain for Windows, added some missed DLLs for GDB
Closes IDFGH-5410
See merge request espressif/esp-idf!14276
2021-07-14 23:57:05 +00:00
morris
3e2d98500f
Merge branch 'refactor/common_rom_rtc_apis' into 'master'
...
soc: define reset reasons in soc component
Closes IDF-1993
See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2
Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770
Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
...
bootloader: Add configurable pin level for factory reset (PR)
Closes IDFGH-5337
See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
He Yin Ling
1708febe48
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-13 13:07:08 +08:00
He Yin Ling
b79778d273
ttfw: full_stdout should not return data after pattern in expect
2021-07-13 13:07:08 +08:00
Angus Gratton
e92c4106b9
ci: Enable ESP32-S2 and later support for Secure Boot test app
2021-07-13 14:03:45 +10:00
Angus Gratton
4502a6a5ae
Merge branch 'ci/test_apps_codeowners' into 'master'
...
ci: Add codeowners for test_apps categories
See merge request espressif/esp-idf!14312
2021-07-13 03:56:02 +00:00
morris
1560d6f1ba
soc: add reset reasons in soc component
2021-07-13 10:45:38 +08:00
Simon
0b9afa509f
tools: Add docs subcommand docs which opens browser with documentation for current version of idf and model of your target
...
Add docs subcommand with options:
--no-browser - Prints url for current documentation instead of opens browser with documentation
--language - Select documentation language
--starting-page - Choice section of documentation to open
--version - Choice version of esp-idf
--target - Choice model of your target
2021-07-12 10:56:37 +02:00
Angus Gratton
a06929cf29
ci: Fix example Python matching, update ordering check
...
For matches like **/*.py we need to place the wildcard last, so that
it can override previous directory matches (otherwise the directory
matches override the wildcard). Relax the check_codeowners.py order
check to allow this.
2021-07-12 11:30:11 +10:00
Ivan Grokhotkov
cbf207bfb8
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-07-08 15:53:58 +02:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592
[cxx]: Activated emergency pool test to CI
2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Anton Maklakov
2b81fce227
tools: Update ESP32-C3 toolchain for Windows - add some missed DLLs for GDB
2021-07-06 16:26:47 +07:00
Angus Gratton
bfb602d0fc
ci: Fix error message if insufficient jobs for test case tag
2021-07-05 12:08:36 +08:00
Tomasz 'CeDeROM' CEDRO
05f0fa6ebd
Use Linux i386/AMD64 binaries on FreeBSD.
...
FreeBSD can natively emulate Linux ELF binaries.
This commit allows automated Linux tools deployment on FreeBSD.
Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2021-07-02 16:08:49 +02:00
David Cermak
0a878f0e85
CI: esp_err_t check: Ignore esp32_mock.h per mdns mock update
2021-07-01 15:45:17 +02:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
Shu Chen
15a907da48
esp32h2: enable fast template app CI
2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
2b9e8fed71
esp32h2: add esp32h2 build target
...
Add esp32h2 support in the following components:
* Kconfig
* components/esptool_py
* components/riscv
* components/xtensa
* tools
2021-07-01 19:51:33 +08:00
Ivan Grokhotkov
969904cba6
unit-test-app: increase timer task size
...
FreeRTOS timer tests use quite a lot of stack, close to the limit on
the ESP32. ESP32-S3 has larger coprocessor save area, so there is less
space left for the actual stack, and the tests fail with a stack
overflow. Increase the stack size to make the tests work reliably.
2021-06-29 16:56:35 +02:00
Anton Maklakov
f01002d2fc
tools: stop building if compiler is unsupported
2021-06-28 23:36:15 +08:00
Martin Gaňo
5874fceb0d
Moved coredump utils out of idf_monitor
2021-06-28 13:56:39 +02:00
Michael (XIAO Xufeng)
afc2bc94b3
Merge branch 'feature/add_opi_flash_psram_support' into 'master'
...
spi flash: opi flash psram support and spi timing tuning support on 727
Closes IDF-3097
See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5
Merge branch 'feature/driver_mock' into 'master'
...
[driver]: added mocking of spi master and gpio
See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77
Merge branch 'feature/ulp_riscv_delay' into 'master'
...
riscv-ulp: Add DS18B20 1wire RISCV-ULP example
Closes IDF-1746 and IDF-3456
See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
David Cermak
07de534191
examples: Move non-block socket examples to a single app
...
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f
examples: Added non blocking sockets example tests
...
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
Armando
1962574cd8
spi_flash: make spi_flash_private.h ci check fail known issue
2021-06-25 19:41:57 +08:00
Marius Vikhammer
386739595f
RISCV-ULP: Add DS18B20 1wire RISCV-ULP example
2021-06-25 11:26:39 +08:00
Jakob Hasse
79b0256d63
[driver]: partial mocking of driver component
...
* added mocking of spi master and gpio
* mock registering in one function in
component.cmake
2021-06-24 10:10:29 +08:00
Roland Dobai
a71a74cd9d
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-23 11:48:45 +02:00
Mahavir Jain
e31049eacc
Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
...
heap: fix build issue with HEAP_TRACING config for C3
See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Roland Dobai
b22fcbef96
Merge branch 'feature/drop_py2_support' into 'master'
...
Drop support for unsupported Python versions
Closes IDF-1676
See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a
Merge branch 'feature/hal_assert' into 'master'
...
hal: added platform port layer
Closes IDF-1341
See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
Mahavir Jain
d5cc79db48
test_apps: add HEAP_TRACING configuration to build tests
2021-06-22 14:14:10 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4
ci: added script to check api violations
2021-06-22 11:28:01 +08:00
Michael (XIAO Xufeng)
b727dca308
Merge branch 'ci/sdmmc_performance_log' into 'master'
...
ci: add log output for the sdmmc performance test
See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
Roland Dobai
407053592e
Drop support for unsupported Python versions
2021-06-21 21:48:49 +02:00
Angus Gratton
d127a1fa75
ci panic test: Update the panic test timeout from 3s to 10s
...
If it takes longer than 10s to respond, it's probably not because of the
runner...
2021-06-21 17:08:02 +10:00
He Yin Ling
0f2052ca36
Merge branch 'bugfix/ttfw_dut_check_function_called_after_case_finished' into 'master'
...
ttfw: fix DUT check functions are called after case finished:
Closes IDFCI-672
See merge request espressif/esp-idf!13990
2021-06-21 02:54:39 +00:00
Michael (XIAO Xufeng)
dbd9bfb280
test_utils: allow printint multiple argument in the performance log
2021-06-19 14:19:50 +08:00
Ivan Grokhotkov
ae0657083b
Merge branch 'feature/move-filters-from-idf-monitor' into 'master'
...
Moved GDB utils and logging utils out of idf_monitor.py
See merge request espressif/esp-idf!13555
2021-06-18 10:27:14 +00:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Konstantin Kondrashov
4c0cf40a39
efuse: Burn operation does not block reading
2021-06-18 11:52:47 +08:00
He Yin Ling
31773b8ed2
ttfw: fix DUT check functions are called after case finished:
...
DUT check functions are executed in receive thread. If we put data to
data cache before execute the check functions, the main thread could
handle the data cache first and mark test case finished. We will execute
check functions first to make sure it's executed before case finished.
2021-06-18 09:58:19 +08:00
Martin Gaňo
252036567c
Moved filters out of idf_monitor.py
2021-06-17 21:38:38 +02:00
David Čermák
4d604ee6d2
Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests
Closes IDFCI-653
See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Angus Gratton
059353b0c2
Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
...
secure_boot/flash_encryption: Refactoring
Closes IDF-2582 and IDF-2035
See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
David Cermak
49ee304161
CI: Prepare mqtt app test for QEMU tests
...
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-06-16 14:30:20 +02:00
Angus Gratton
e7f3099541
Merge branch 'bugfix/missing_extern_c' into 'master'
...
[test_utils]: added extern C decl to ccomp
See merge request espressif/esp-idf!13919
2021-06-16 01:47:27 +00:00
Michael (XIAO Xufeng)
69e26fbcd7
Merge branch 'feature/s3_ci_enable' into 'master'
...
CI: Enable unit tests for S3
See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
Marius Vikhammer
d9f5126d24
CI: enable running unit tests in CI for S3
2021-06-15 11:13:50 +08:00
Roland Dobai
483f51cdd0
tools: Some additions to IDF Monitor's timestamps
...
Additions to https://github.com/espressif/esp-idf/pull/7021
2021-06-13 12:13:39 +02:00
David Cermak
74fd8d7af8
CI: Enable publish tests only when started from weekend pipeline
2021-06-11 16:52:43 +02:00
Andrey Starodubtsev
f91bde97c1
Add timestamps for idf_monitor.py
...
Closes https://github.com/espressif/esp-idf/pull/7021
2021-06-11 16:46:52 +02:00
Anton Maklakov
6d9740bc5d
Merge branch 'ci/retry_downlad_for_artifacts' into 'master'
...
ci: retry download artifacts
See merge request espressif/esp-idf!13517
2021-06-11 09:46:29 +00:00
David Cermak
badcbe0fcb
mqtt: Moved weekend tests to test apps
2021-06-10 09:09:14 +02:00
Jakob Hasse
468b7ac6eb
[test_utils]: added extern C decl to ccomp
...
Closes https://github.com/espressif/esp-idf/issues/7121
2021-06-09 15:37:21 +08:00
Angus Gratton
bc4eb2071c
Merge branch 'feature/toolchain_2021r1' into 'master'
...
Bring 2021r1 toolchains
Closes IDFGH-5009
See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Fu Hanxi
a624d3bf32
ci: retry download artifacts
2021-06-08 15:04:06 +08:00
Anton Maklakov
3b60c2e131
ci: add debug artifacts for test_idf_tools
2021-06-07 18:48:38 +07:00
Anton Maklakov
f6a91bff87
Update toolchains to esp-2021r1
...
Adds ESP32-C3 support
Updates ESP32-S3 overlay
GDB 9.2 for ESP32-C3 with core dump support
Linker supports eh-frame-hdr for ESP32-C3
Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
Binutils 2.35.1
Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
Anton Maklakov
0ed7af2c4c
tools: promote ESP32-S3 from preview to supported target
2021-06-07 12:52:28 +07:00
Anton Maklakov
4bb09900ab
tools: fix parsing regex
2021-06-07 12:35:55 +07:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Anton Maklakov
37b058dfcf
Merge branch 'tools/update_mypy_rules' into 'master'
...
Change logic for MYPY checker
See merge request espressif/esp-idf!13509
2021-06-02 10:16:05 +00:00
Ivan Grokhotkov
0e68c222ac
Merge branch 'bugfix/dfu_split_large_bins' into 'master'
...
tools: Split up large binaries into smaller chunks in the DFU binary
Closes IDFGH-5227
See merge request espressif/esp-idf!13556
2021-05-31 17:19:28 +00:00
Shivani Tipnis
2d22374460
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
2021-05-28 19:50:28 +05:30
He Yin Ling
201018da43
Merge branch 'ci/shorter_performance_test_log' into 'master'
...
ci: optimize performance test log
See merge request espressif/esp-idf!13607
2021-05-21 06:48:16 +00:00
He Yin Ling
79cd45fdee
Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
...
test: support multiple targets for iperf example test
Closes TCI-656
See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
He Yin Ling
016a37c8ad
ci: save built binaries could be tested locally:
...
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-05-20 16:58:39 +08:00
He Yin Ling
8434c0c731
ttfw: fix DUT exception not added to junit report
2021-05-20 16:28:20 +08:00
Fu Hanxi
bccaab7e6c
fix(ci): fix missing [Performance] prefix in junit report
2021-05-20 14:13:54 +08:00
Fu Hanxi
4304866780
ci: shorter performance test log
2021-05-20 14:13:54 +08:00
Roland Dobai
6b75bad2b1
tools: Split up large binaries into smaller chunks in the DFU binary
...
ROM will erase the region a partition is in as soon as it receives the
first bit of the data that is in the partition. For large partitions it
takes more than 5 seconds to erase which is a hard-coded limit in
dfu-utils.
This splits large binaries and adds them by chunks which should avoid
timing-out during flashing.
Closes https://github.com/espressif/esp-idf/issues/6999
2021-05-19 15:15:50 +02:00
Ivan Grokhotkov
38d902f544
Merge branch 'feature/gdbstubs_rt' into 'master'
...
Extension of GDBStub component for handling GDB by serial port at runtime.
See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Angus Gratton
0fc9253ed9
lwip: Update public port-layer headers with c++ guards, sdkconfig include
...
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Dmitry
00a7ecb5a3
Code cleanup. Bugfix after rebase with master. Formating.
2021-05-13 15:03:40 +03:00
Angus Gratton
3ce98690e6
Merge branch 'bugfix/stdatomic_64bit' into 'master'
...
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs
Closes IDFGH-703
See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Dmitry
a16ae6c737
IDF monitor update
2021-05-11 16:08:44 +03:00
Dmitry
c6e3eb0922
idf.py.exe changes to handle Ctrl+C in correct way.
...
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Tomas Sebestik
396acc5b31
Change logic for MYPY checker
2021-05-11 08:45:14 +02:00
Ivan Grokhotkov
2c6f9c4d50
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov
1fb58684a2
unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups
2021-05-10 18:13:35 +02:00
Angus Gratton
84f2f2932d
Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on
Closes IDFGH-5089
See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
Ivan Grokhotkov
acd06daf39
Merge branch 'bugfix/spiram_h_header_guards' into 'master'
...
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)
Closes IDFGH-4861
See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Michael (XIAO Xufeng)
3f2f80effc
Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
...
soc/hal/tinyusb: add tinyusb support esp32s3
Closes IDF-2692
See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98
soc/hal: add tinyusb support esp32s3
...
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Ivan Grokhotkov
d7f219686f
Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
...
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations
Closes IDFGH-4925
See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
KonstantinKondrashov
2e4b625f59
simple_ota_example: Adds sha256 check for app images
2021-05-05 22:18:40 +08:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Ivan Grokhotkov
6d2e0c3eae
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
...
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Alexey Gerenkov
500a45fb1e
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-03 09:33:51 +00:00
Ivan Grokhotkov
952c9a2d05
Merge branch 'feature/esptool_wrapper' into 'master'
...
tools: Support external Esptool wrappers
Closes IDFGH-5095
See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
d936d137c7
Merge branch 'bugfix/gdbgui' into 'master'
...
tools: Add various fixes for idf.py gdbgui
Closes IDFGH-4098
See merge request espressif/esp-idf!13371
2021-05-03 09:31:13 +00:00
Ivan Grokhotkov
c88287851d
Merge branch 'feature/raise_log_level' into 'master'
...
feature: Set maximum log level, add startup time example
Closes IDFGH-3599 and IDFGH-333
See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Krzysztof Budzynski
f05d9a1de0
Merge branch 'bugfix/check_readme_links_no_exception' into 'master'
...
check_readme_links: remove throwing of exception before exit
See merge request espressif/esp-idf!13341
2021-04-30 03:50:10 +00:00
Martin Babutzka
6faf4941cc
tools: Support external Esptool wrappers
...
Implements https://github.com/jimparis/esptool-ftdi/issues/3
Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Roland Dobai
0102cbf334
tools: Add various fixes for idf.py gdbgui
...
Closes https://github.com/espressif/esp-idf/issues/5968
2021-04-27 17:34:31 +02:00
Ivan Grokhotkov
f86a6db1f2
Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
...
feature: espcoredump py riscv support
Closes IDF-2638 and IDF-2715
See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Fu Hanxi
cba0725aac
Merge branch 'bugfix/ci_check_executable_windows' into 'master'
...
ci: fix check_executables issue on Windows
See merge request espressif/esp-idf!13342
2021-04-27 07:14:59 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Michael (XIAO Xufeng)
9aebd01aeb
ci: fix check_executables issue on Windows
2021-04-26 15:55:31 +08:00
Marius Vikhammer
4bf7b16358
check_readme_links: remove throwing of exception before exit
...
Reraising the exception before exiting was intended to help troubleshoot,
but turned out to be more confusing than helpful as it might look like the script was failing
2021-04-26 15:36:30 +08:00
Michael (XIAO Xufeng)
546be98e0f
Merge branch 'ci/add_flash_performance_info' into 'master'
...
ci: Add more information for flash performance test
Closes IDF-2739
See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Martin Gaňo
74448df9f1
Put typing import into try block
2021-04-25 21:21:35 +02:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Michael (XIAO Xufeng)
0adc6fa17d
Merge branch 'example/i2s_sound_record' into 'master'
...
Added I2S example for microphone recording to WAV file and I2S examples folder moved
See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
pedro.minatel
86fa666343
Added I2S example for microphone recording to WAV file and I2S examples folder moved
...
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01:00
Ivan Grokhotkov
83e68ee19e
Merge branch 'bugfix/replace_setjmp_rom' into 'master'
...
[system]: Made longjmp save for context switch
Closes IDFGH-3232
See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
cdef1ea38a
examples: Add example for fastest startup time
...
Example includes README and sdkconfig.defaults with notes about trade-offs
made for minimum boot time.
2021-04-23 18:27:20 +10:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
Ivan Grokhotkov
e3c8ea00d9
test_apps/panic: apply pre-commit fixes in python scripts
2021-04-22 23:33:46 +02:00
Ivan Grokhotkov
9069f70db3
system: add option to enable undefined behavior sanitizer (UBSAN)
...
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
suren.gabrielyan
823abfdfd5
examples: Add esp-ssl example tests server/client
...
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Ivan Grokhotkov
d4e8987a39
Merge branch 'feature/prevent_unwind_code_linking' into 'master'
...
prevent unwind code linking
Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153
See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Mahavir Jain
c22805e94b
Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
...
Fix bootloader minimum revision check and print for ESP32-C3
Closes IDFGH-5106
See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Ivan Grokhotkov
c248dcc724
Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
...
build: (Custom) App version info is now on a dedicated section
Closes IDFGH-4927
See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Shu Chen
f8addc5b3d
Merge branch 'bugfix/add-ci-allow-line' into 'master'
...
tools: Add /*error*.o and /*error*.d to allowed build lines
See merge request espressif/esp-idf!13251
2021-04-20 12:05:27 +00:00
Fu Hanxi
af2139e0b6
Merge branch 'bugfix/ci/runner_py_consider_no_junit_report_as_succeeded' into 'master'
...
CI: runner py consider no test case as succeeded
See merge request espressif/esp-idf!13098
2021-04-20 10:13:02 +00:00
Jiacheng Guo
9c9838f229
tools: Add /*error*.o and /*error*.d to allowed build lines
2021-04-20 18:09:40 +08:00
Mahavir Jain
6f81428013
test_apps: increase partition table offset to fix build errors
2021-04-20 14:23:13 +05:30
Jakob Hasse
2552c7ba0f
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
Shu Chen
809832f3bc
Merge branch 'bugfix/add-ci-allow-file-filter' into 'master'
...
tools: Add *error*.cpp to allowed build lines
See merge request espressif/esp-idf!13176
2021-04-20 03:25:58 +00:00
Fu Hanxi
9b8d1e7826
fix(ci): return as failed when no test case result generated
2021-04-20 11:18:12 +08:00
Fu Hanxi
15b6389ca7
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 19:34:11 +08:00
Ivan Grokhotkov
8d852decf1
Merge branch 'bugfix/failing_python_wheels_download' into 'master'
...
tools: remove dependency of idf-python and idf-python-wheels
Closes IDFGH-5097
See merge request espressif/esp-idf!13165
2021-04-19 08:12:29 +00:00
Angus Gratton
209a6cc855
Merge branch 'bugfix/check_partitions_fit' into 'master'
...
cmake partition_table: Check binaries fit in partition spaces at build time
Closes IDF-1539 and IDFGH-2503
See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
Juraj Michálek
7cc6e6e813
tools: remove dependency of idf-python and idf-python-wheels
...
Closes IDFGH-5097
Closes https://github.com/espressif/esp-idf/issues/6881
2021-04-19 07:27:40 +02:00
Omar Chebib
dd849ffc26
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-04-19 12:53:08 +08:00
Jiacheng Guo
4253d9ee49
tools: Add *error*.cpp to allowed build lines
2021-04-19 10:19:59 +08:00
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