Commit Graph

1138 Commits

Author SHA1 Message Date
yuanjm
8560b7d929 ci: Remove public headers check exceptions for dhcp 2021-09-08 15:53:32 +08:00
David Cermak
8e30d8c410 CI: Ignore esp_modem cxx example make build 2021-09-07 13:32:34 +02:00
Fu Hanxi
5671039154 ci(sonarqube): pass "sonar.exclusions" in CI
also increase the jvm size
2021-09-02 14:28:22 +08:00
laokaiyao
04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
Sergei Silnov
c6f6bd6a42 Add idf-component-manager python dependency 2021-08-30 13:23:23 +02:00
morris
2e0ffbd543 Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
bugfix/driver: fix and cleanup soc/ll stuffs

Closes IDF-3722

See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Mahavir Jain
f1c6c68f19 Merge branch 'feature/ttfw_esp32c3fpgadut' into 'master'
Automate flash encryption and secure boot tests on FPGA

See merge request espressif/esp-idf!12367
2021-08-30 10:24:24 +00:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
Sachin Parekh
cfcb893289 ttfw_idf: Added ESP32-S3 FPGA support
Provision to burn and reset efuses of ESP32S3 on FPGA

test_app: Enabled automated test cases for ESP32S3
2021-08-27 10:41:31 +05:30
Sachin Parekh
65db2d3d80 ttfw_idf: Added IDFFPGADUT class
Provision to burn and reset efuses of ESP32C3 chip on FPGA
2021-08-27 09:58:26 +05:30
Vikram Dattu
5691c9a8e8 Added support for security1 in local control
1. Added config options to chose from protocom security.
    It can be chosen 0/1 or custom.
    Possible to set POP as well

2. Added support in `esp_local_ctrl.py` test script for sec_ver selection

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Zim Kalinowski
f65c8249af Merge branch 'feature/esp_docs' into 'master'
docs: update to use esp-docs

Closes IDF-3105

See merge request espressif/esp-idf!13333
2021-08-24 00:56:57 +00:00
Marius Vikhammer
7411321603 docs: update to use esp-docs 2021-08-24 08:56:48 +08:00
Fu Hanxi
d66a407eb3 ci: enable clang-tidy check for more components
Use internal project clang-tidy-runner

Move sonarqube related configs to sonar-project.properties
2021-08-19 09:26:20 +08:00
Roland Dobai
26bc4971ac Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
Tools: Fix memory calculations of idf_size.py

Closes IDF-3246 and IDF-2434

See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Jakob Hasse
1282f0e528 [tools]: add mocks dir to pattern check exclude 2021-08-12 11:02:43 +08:00
simon.chupin
294f9783fc Tools: Fix memory calculations of idf_size.py 2021-08-11 17:51:51 +02:00
Michael (XIAO Xufeng)
064f12cb90 idf_size.py: fixed diram counted twice issue, and improve display
Currently static RAM usage are listed under corresponding physical
memory.

ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Jakob Hasse
06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Angus Gratton
dea52a92b9 make: Fix COMPONENT_OWNBUILDTARGET
Add build system test to match

Partial fix for https://github.com/espressif/esp-idf/issues/3664
2021-08-03 10:40:39 +08:00
Marius Vikhammer
8b259d15f6 coredump: fix section name parsing in python utility
elf.py assumed every section header name had its own string in
shstrtab, but multiple sections may reuse the same substring with
different offsets.
2021-08-02 13:15:30 +08:00
Fu Hanxi
1eb35eda77 ci: bypass wpa_supplicant upstream codes 2021-07-29 13:04:48 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
Jiang Jiang Jian
4d7f356f04 Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
wpa_supplicant: bypass sonar checks for upstream code

See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Ivan Grokhotkov
3fa8e8d1e3 Merge branch 'feature/windows_installer_moved_to_github' into 'master'
tools: Windows Installer project moved to github.com/espressif/idf-installer

Closes IDF-3147

See merge request espressif/esp-idf!14120
2021-07-26 21:41:38 +00:00
He Yin Ling
35f8caf1cb Merge branch 'bugfix/ttfw_fix_flush_index_error' into 'master'
test: TTFW fix flush index error

See merge request espressif/esp-idf!14217
2021-07-22 12:55:27 +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
12f0b55ca9 test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +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
702e41e1c8 esp32s2: move crypto related functions 2021-07-16 20:14:26 +08:00
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
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
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
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
Angus Gratton
bfb602d0fc ci: Fix error message if insufficient jobs for test case tag 2021-07-05 12:08:36 +08:00
Shu Chen
15a907da48 esp32h2: enable fast template app CI 2021-07-01 19:53:50 +08: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
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
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
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02: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
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
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
Marius Vikhammer
d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08: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
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
0ed7af2c4c tools: promote ESP32-S3 from preview to supported target 2021-06-07 12:52:28 +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
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
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
Tomas Sebestik
396acc5b31 Change logic for MYPY checker 2021-05-11 08:45:14 +02: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
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
0bd9f6fe12 tools: spiffsgen: fix length error, add test case 2021-05-03 11:37:42 +02: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
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
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
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
suren.gabrielyan
823abfdfd5 examples: Add esp-ssl example tests server/client
Closes IDF-1156
2021-04-21 16:18:03 +04: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
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
Jiacheng Guo
4253d9ee49 tools: Add *error*.cpp to allowed build lines 2021-04-19 10:19:59 +08: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
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
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
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
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
Martin Gaňo
b77addea2f Decompose idf_monitor.py 2021-04-12 10:47:33 +02: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
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
Renz Bagaporo
bbc599493e esp32: move common fragment definitions 2021-03-31 19:17:33 +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
Renz Bagaporo
b5c3d4f615 cmake: swap priority between EXTRA_COMPONENT_DIRS and project components 2021-03-22 19:01:33 +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
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
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
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
Tomas Sebestik
c9f710ea2c Update mypy_ignore_list
Add missing records mostly in /examples dir
2021-03-01 07:41:37 +01: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
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
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
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
Roland Dobai
48488f1683 tools: Use git describe --match for filtering out internal names 2021-02-23 06:55:21 +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
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
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
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
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
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
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
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
morris
e361498a2a intr_alloc: re-enable unit test 2021-02-02 20:25:50 +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
Sergei Silnov
99bf2ed61d idf.py: remove mentions of idf_project.yml and update tests 2021-01-29 23:08:47 +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
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
Fu Hanxi
be3d74efb2 fix(ci): scan_test missing build apps without tests 2021-01-27 12:35:49 +08: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
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
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
He Yin Ling
b036f6c06d CI: add build ESP32C3 SSC jobs 2021-01-21 03:00:44 +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
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
32206d3a7d ci: enabled ldgen mapping check in ci 2021-01-19 11:17:18 +08: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
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +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
Fu Hanxi
4867b38c74 ci: sonarqube: use exit-code instead of extra job 2021-01-14 11:44:39 +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
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
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
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
Marius Vikhammer
5f130ff909 CI: enable C3 template app 2020-12-31 15:20:05 +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
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