Commit Graph

993 Commits

Author SHA1 Message Date
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
Closes https://github.com/espressif/esp-idf/issues/7389

(1)     "MMC_RSP_BITS" [sd]                                                             [Y]
(2)     "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE]                             [Y]
(3)     "probe SD in SPI mode, slot 0" [sd][ignore]                                     [N]
(4)     "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]                  [Y]
(5)     "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]  [Y]
(6)     "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
(7)     "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
2021-09-24 15:17:18 +08:00
Jan Brudný
798a174686 Add copyright check to pre-commit-config 2021-09-20 17:50:55 +08:00
morris
9240fb03d8 lcd: lvgl porting example 2021-09-13 15:08:48 +08:00
Yuan Jian Min
8fd591390a Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp' into 'master'
dhcpserver: support cplusplus

Closes IDFGH-5786 and IDFGH-5821

See merge request espressif/esp-idf!15018
2021-09-09 06:11:56 +00:00
SalimTerryLi
4c7b31f6ff
ci: test_apps: add option to parse original unity output 2021-09-08 18:54:20 +08:00
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