Commit Graph

2420 Commits

Author SHA1 Message Date
Marius Vikhammer
6334b5e56f docs: update api-reference chapters for C3
Checked and updated the following chapters:
 * api-reference/network
 * api-reference/protocols
 * api-reference/provisioning
 * api-reference/storage
 * api-reference/peripherals/ds
 * api-reference/peripherals/hmac
 * api-reference/peripherals/secure_element
2021-03-01 14:58:08 +08:00
Tomas Sebestik
c9f710ea2c Update mypy_ignore_list
Add missing records mostly in /examples dir
2021-03-01 07:41:37 +01:00
Renz Bagaporo
10c5226095 ldgen: use uppercase keywords for flags 2021-03-01 14:19:34 +08:00
Renz Bagaporo
7af3d65868 ldgen: surround always pre and post 2021-03-01 14:19:34 +08:00
Renz Bagaporo
dbdc17cced ldgen: rename emit to surround 2021-03-01 14:19:34 +08:00
Renz Bagaporo
1fa2308e52 ci: update ldgen_test test_app to test flags 2021-03-01 14:19:34 +08:00
Renz Bagaporo
b99777066f ldgen: implement flags support
Implement support for KEEP, ALIGN, emitting symbols and SORT.
Add appropriate tests
Defines default mapping in linker fragment file
2021-03-01 14:19:34 +08:00
Angus Gratton
e3045d9a63 Merge branch 'bugfix/git_describe_cmake' into 'master'
build system: fix NOTFOUND git version error

See merge request espressif/esp-idf!12526
2021-02-28 23:29:07 +00:00
David Čermák
00432fa2c3 Merge branch 'feature/update_mqtt_test_url' into 'master'
Feature/update mqtt test url

See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Roland Dobai
7be1d2287c tools: Don't count BSS into the total image size 2021-02-26 06:49:35 +00:00
No One
8416e724c0 build system: fix NOTFOUND git version error
CMake would fail to find the git version of the IDF repo due to
not being able to parse the whitespace in the git describe command
2021-02-26 14:39:23 +08:00
Anton Maklakov
3a629afb06 Merge branch 'feature/type_checking_python' into 'master'
CI:Type checking of Python scripts

Closes IDF-2413

See merge request espressif/esp-idf!12287
2021-02-26 03:06:37 +00:00
Angus Gratton
ecf2134bc4 Merge branch 'feature/libsodium_ut_enable' into 'master'
libsodium: Enables UTs for ESP32-S2 & C3

Closes IDF-1423

See merge request espressif/esp-idf!12497
2021-02-25 22:40:19 +00:00
Angus Gratton
501af6dfa2 Merge branch 'feature/secure_boot_revoke_check' into 'master'
secure_boot: Checks secure boot efuses

Closes IDF-2609

See merge request espressif/esp-idf!12148
2021-02-25 22:38:42 +00:00
Michael (XIAO Xufeng)
eb29d8dbda Merge branch 'feature/support_invert_rmt_signal_in_gpio_matrix' into 'master'
rmt: support inverting signal in gpio matrix

Closes IDF-2762

See merge request espressif/esp-idf!12420
2021-02-25 11:14:19 +00:00
KonstantinKondrashov
e29b99f1a5 libsodium: Enables UTs for ESP32-S2 & C3 2021-02-25 10:41:59 +00:00
Angus Gratton
0f62d0dd9b Merge branch 'bugfix/git_describe' into 'master'
tools: Use git describe --match for filtering out internal names

Closes IDF-2410

See merge request espressif/esp-idf!12398
2021-02-25 07:23:38 +00:00
Tomas Sebestik
cc33aafc4f Update exclude_check_tools_files.txt
Add tools/ci/mypy_ignore_list.txt to exclude_check_tools_files.txt
2021-02-25 07:05:43 +00:00
Tomas Sebestik
a22597a2d6 Add mypy check to pre-commit-config 2021-02-25 07:05:43 +00:00
morris
7b37158ede rmt: distinguish group and channel in HAL layer 2021-02-25 12:42:23 +08:00
Renz Bagaporo
43f6c7a533 esp_common: simplify component build script 2021-02-24 12:16:37 +08:00
Renz Bagaporo
813044c6db docs, ci: update docs and ci with movements from esp_common 2021-02-24 12:16:37 +08:00
Angus Gratton
c179ece204 Merge branch 'bugfix/c++_usage_esp_core_dump_h' into 'master'
Fixed c++ include usage for esp_core_dump.h

Closes IDFGH-4782

See merge request espressif/esp-idf!12432
2021-02-24 03:18:25 +00:00
yuanjm
13776ec81b tools: Update mqtt open source test server address 2021-02-23 15:30:29 +08:00
Roland Dobai
48488f1683 tools: Use git describe --match for filtering out internal names 2021-02-23 06:55:21 +00:00
Angus Gratton
fb1488abba Merge branch 'feature/esp_timer_isr_dispatch_method_restore' into 'master'
esp timer: Add ISR dispatch method

Closes IDF-1172 and IDF-1173

See merge request espressif/esp-idf!11572
2021-02-23 06:21:14 +00:00
KonstantinKondrashov
90f2d3199a secure_boot: Checks secure boot efuses
ESP32 V1 and V2 - protection bits.
ESP32xx V2: revoke bits, protection bits

- refactor efuse component
- adds some APIs for esp32 chips as well as for esp32xx chips
2021-02-23 03:56:21 +08:00
morris
018d13645b ci: exclude esp_rom component when checking rom api usage 2021-02-22 20:56:43 +08:00
0xFEEDC0DE64
e5c460ec7d Removed esp_core_dump.h from check_public_headers_exceptions.txt (as per @igrr 's request 2021-02-21 01:35:42 +01:00
Angus Gratton
3368fe321d Merge branch 'doc/test_configs' into 'master'
test apps: Add some documentation about test app configs

See merge request espressif/esp-idf!12395
2021-02-19 06:47:16 +00:00
Angus Gratton
ca29765e97 test apps: Add some documentation about test app configs 2021-02-17 18:10:51 +11:00
David Čermák
e615d10b4f Merge branch 'feature/transport_tcp_connection_errors' into 'master'
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication

Closes IDFGH-4405

See merge request espressif/esp-idf!12136
2021-02-16 13:32:47 +00:00
Ivan Grokhotkov
22cc1121fb Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
CI: Detect file changes to assign jobs

See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Ivan Grokhotkov
863aecc38d Merge branch 'bugfix/fix-automatic-connection' into 'master'
bugfix: fixed automatic connection in idf_monitor

Closes IDF-2654

See merge request espressif/esp-idf!12220
2021-02-16 08:58:26 +00:00
David Cermak
b4d792446c examples/mqtt: Use common transport for setting log severity 2021-02-16 09:00:43 +01:00
Roland Dobai
47f67f8b81 tools: Prefer python3 during install and export
Install and export script should work on systems without "python"
executable.

Closes https://github.com/espressif/esp-idf/pull/6471

Closes https://github.com/espressif/esp-idf/issues/6532

Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-13 11:34:40 +01:00
Angus Gratton
e22de81955 Merge branch 'feature/idfpy_update_component_manager_tests' into 'master'
CMake - process dependencies for all components by component manager

Closes PACMAN-87

See merge request espressif/esp-idf!9357
2021-02-12 11:28:18 +08:00
Martin Gaňo
179e23b38a Fixed automatic connection in idf_monitor
Closes https://github.com/espressif/esp-idf/issues/6415
2021-02-11 17:35:46 +01:00
Ivan Grokhotkov
890ee19ee4 Merge branch 'bugfix/eclipse_make_decode' into 'master'
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”

Closes IDFGH-4693

See merge request espressif/esp-idf!12309
2021-02-10 18:38:16 +08:00
Fu Hanxi
7db83b26da style(pre-commit): unrelated changes 2021-02-10 14:50:07 +08:00
Fu Hanxi
80e86e7939 ci(pre-commit): check if rules is updated and valid 2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c ci(rules): add check_tools_file_patterns.py
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00
Fu Hanxi
7735d04f4f ci(sonarqube): Modify code_quality_check since it's a MR pipeline now 2021-02-10 14:48:51 +08:00
Fu Hanxi
ffe0b7af32 ci: Move static code analysis related jobs to static-code-analysis.yml 2021-02-10 14:48:51 +08:00
Fu Hanxi
7dd7c6c072 ci(docs): Move doc related jobs to docs.yml 2021-02-10 14:48:51 +08:00
Angus Gratton
c8315e0110 version: Update to v4.4-dev 2021-02-10 16:07:24 +11:00
Anton Maklakov
0bbc721a63 Merge branch 'bugfix/known_failure_cases_read_file_error' into 'master'
ci: bugfix: known failure cases cannot read files

See merge request espressif/esp-idf!12340
2021-02-10 12:27:23 +08:00
Fu Hanxi
4ffd458ddd ci: bugfix: known failure cases cannot read files 2021-02-09 15:33:49 +08:00
Marius Vikhammer
04df1f3a42 CI: enable example builds for C3
Enables building C3 examples in CI.

Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1289918204 Merge branch 'refactor/ldgen_generation_changes' into 'master'
ldgen: internal data structure change

See merge request espressif/esp-idf!11494
2021-02-09 11:03:09 +08:00
KonstantinKondrashov
63d4911cdb esp_timer: Add ESP_TIMER_ISR dispatch method
Using own spinlock for each list (TASK and ISR disp method)
Reduced the dependency of ISR on the TASK dispatch method
2021-02-08 19:10:11 +08:00
Patryk Krzywdziński
63b3184aea Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-05 17:20:55 +01:00
Michael (XIAO Xufeng)
747ac00f9b Merge branch 'bugfix/flash_encyption_80Mflash_40Mram' into 'master'
flash_encryption/psram: fixed the issue that block when flash_encryption_write

See merge request espressif/esp-idf!12177
2021-02-05 22:00:26 +08:00
Cao Sen Miao
3294547d27 ci: move freerom/sdmmc repo to psram3 for saving ram 2021-02-05 20:10:55 +08:00
Cao Sen Miao
c1b41ece32 flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322, Related https://github.com/espressif/esp-idf/issues/6254 2021-02-05 20:10:42 +08:00
Michael (XIAO Xufeng)
423a5458dc Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
spi_flash: add external flash support on esp32c3

Closes IDF-2650, IDF-2651, and IDF-2399

See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Michael (XIAO Xufeng)
fb678dd772 ci: increase target test job num 2021-02-05 15:03:16 +08:00
Renz Bagaporo
23590374b5 ldgen: add test app for placement sanity check 2021-02-05 10:20:37 +08:00
Renz Bagaporo
7f18c948dc ldgen: refactor generation tests and description addition 2021-02-05 10:20:37 +08:00
Ivan Grokhotkov
ffa8c22c39 Merge branch 'feature/ut_perf_tests_disable_on_fpga' into 'master'
ut: Disable all performance test comparisons when running on FPGA

See merge request espressif/esp-idf!11415
2021-02-05 09:56:20 +08:00
Sergei Silnov
a5981c12c2 Move call for component manager to build.cmake 2021-02-04 15:07:23 +01:00
ChenJianxing
dc350a9c7c esp_wifi: support esp32c3 rom eco3 2021-02-04 18:28:06 +08:00
Cao Sen Miao
8020c46da7 spi_flash: enable ext flash unit-test on esp32c3 2021-02-04 14:44:50 +08:00
Renz Bagaporo
0142676cbf ldgen: additional tests for generation support classes 2021-02-03 19:50:36 +08:00
Renz Bagaporo
a41a56b5b0 ldgen: refactor generation internals 2021-02-03 19:44:28 +08:00
Ivan Grokhotkov
4edaf134bb Merge branch 'feature/loadable_elf_c3' into 'master'
build-system: add loadable elf support for ESP32-S2 and C3

Closes IDF-2137

See merge request espressif/esp-idf!12217
2021-02-03 19:40:34 +08:00
Angus Gratton
d54f0e40ba Merge branch 'bugfix/unaligned_poisoned_memory' into 'master'
heap: fix unaligned memory bug when poisoning is enabled.

Closes IDF-2653

See merge request espressif/esp-idf!12132
2021-02-03 13:52:57 +08:00
morris
e361498a2a intr_alloc: re-enable unit test 2021-02-02 20:25:50 +08:00
Marius Vikhammer
fa7aa656d3 build-system: add loadable elf support for ESP32-S2 and C3 2021-02-02 17:21:39 +08:00
Krzysztof Budzynski
d2e6793582 Merge branch 'docs/c3_get_started' into 'master'
docs: inital doc update for C3

Closes IDF-2312, IDF-2314, IDF-2551, IDF-2611, and IDF-2317

See merge request espressif/esp-idf!11884
2021-02-02 14:18:23 +08:00
Marius Vikhammer
548fd02d10 docs: initial update of programming guide for C3
Updates "front page" content, get-started, and api-guides with C3 content

Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
Omar Chebib
c4dc3acba9 heap: add light poisoning configuration to the tests.
Relates to IDF-2653
2021-02-01 11:58:42 +08:00
Angus Gratton
8dbb14b469 system: Log a warning when booting bootloader or app configured for FPGA use
Such a firmware may appear to work on normal chip, but not everything will function as expected.
2021-02-01 14:24:38 +11:00
Sergei Silnov
99bf2ed61d idf.py: remove mentions of idf_project.yml and update tests 2021-01-29 23:08:47 +01:00
Anton Maklakov
af9add8dca Merge branch 'bugfix/win_inst_build' into 'master'
bugfix: revert command for invoking iscc

See merge request espressif/esp-idf!12164
2021-01-29 13:01:41 +08:00
Ivan Grokhotkov
8b96dcb5ff Merge branch 'bugfix/gdb_panic_server_py2.7' into 'master'
tools/gdb_panic_server.py: fix compatibility with python 2.7

See merge request espressif/esp-idf!12128
2021-01-29 08:34:48 +08:00
Ivan Grokhotkov
3dea56d15c Merge branch 'feature/esp32c3_supported_target' into 'master'
tools/idf.py: promote esp32c3 from preview to supported targets

See merge request espressif/esp-idf!12129
2021-01-29 07:01:50 +08:00
Ivan Grokhotkov
11a0e1d9fc Merge branch 'fix/ninja_1.10.2' into 'master'
tools: ninja: update to 1.10.2

Closes IDF-2216

See merge request espressif/esp-idf!12043
2021-01-29 06:50:15 +08:00
Mahavir Jain
80b196a662 unit-test-app: disable encrypted flash read/write in psram config to fix build failure 2021-01-28 12:19:21 +00:00
Ivan Grokhotkov
f3cef33791 tools/gdb_panic_server: wrap b"" with bytes() for py2.7 compatibility
Fixes the exception while decoding the stack dump:

    File "tools/gdb_panic_server.py", line 270, in _respond_mem
      result += "{:02x}".format(stack_data[addr - stack_addr_min])
    ValueError: Unknown format code 'x' for object of type 'str'
2021-01-28 11:20:32 +01:00
Ivan Grokhotkov
e70d534566 tools/idf.py: promote esp32c3 from preview to supported target 2021-01-28 11:12:56 +01:00
Ivan Grokhotkov
9a20283485 Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
ci: bugfix: scan_test missing build apps without tests

See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Ivan Grokhotkov
0134fb5cf9 Merge branch 'feature/skip_known_failure_cases' into 'master'
CI: Ignore Known Failure Cases Result

Closes IDFCI-135 and IDF-1992

See merge request espressif/esp-idf!10866
2021-01-28 17:47:57 +08:00
Mahavir Jain
719aeacb4e Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
Enable app_update tests for ESP32-C3

Closes IDF-2495

See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00
Fu Hanxi
85d4bca81a feat(tiny_test_fw): unify all junit report test case name
new format: <target>.<config>.<case_name>, the default value of
"config" is "default"
2021-01-28 12:25:14 +08:00
Fu Hanxi
7518393ee8 feat(ci): update known_failure_cases_repo before running tests 2021-01-28 12:25:14 +08:00
Fu Hanxi
d63069068f feat(tiny_test_fw): ignore known failure cases result
py
2021-01-28 12:25:14 +08:00
Martin Vychodil
69096ddce5 Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)

Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Mahavir Jain
85f120654a
unit-test-app: add config for app_update tests for ESP32-C3 2021-01-27 12:50:39 +05:30
Angus Gratton
526f9507de Merge branch 'bugfix/linux_host_build_clang' into 'master'
build system: don't add GCC-specific options when building with clang

See merge request espressif/esp-idf!12066
2021-01-27 15:17:19 +08:00
Fu Hanxi
eef620a028 fix: drop s3, c3 support for pppos test apps
no SOC_UART_SUPPORT_REF_TICK for these targets
2021-01-27 12:35:49 +08:00
Fu Hanxi
119b61451f fix(test_apps): add supported targets for memprot, panic, monitor_ide 2021-01-27 12:35:49 +08:00
Fu Hanxi
be3d74efb2 fix(ci): scan_test missing build apps without tests 2021-01-27 12:35:49 +08:00
Juraj Michálek
eeec8952de bugfix: revert command for invoking iscc 2021-01-26 14:21:44 +01:00
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Cao Sen Miao
f3e79ca166 spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
Ivan Grokhotkov
ed7fbfefac build system: don't add GCC-specific options when building with clang 2021-01-24 12:48:29 +01:00
Mahavir Jain
67c7b6f130 Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
Feature/nvs encryption usability improvements

See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00