Commit Graph

5857 Commits

Author SHA1 Message Date
Roland Dobai
86b7960c3b fix(tools/idf_tools.py): Improve the warning message about the environment 2024-06-13 12:38:14 +02:00
Aditya Patwardhan
ab90aec8f2 Merge branch 'fix/incorrect_pma_config_esp32p4' into 'master'
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4

See merge request espressif/esp-idf!31400
2024-06-12 20:01:09 +08:00
Jakub Kocka
23ba79d5c7 fix(tools): Avoid crashing when Git is used to acquire IDF version
Closes https://github.com/espressif/esp-idf/issues/13345
2024-06-11 08:13:25 +02:00
harshal.patil
a8f509f481
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4
- As the PMA entry that made some memory regions cacheable was
assigned the highest priority, some intermediate inaccessible
memory regions bypassed protection.

- Added tests for the same

- Verified that even after changing the priority of the PMA entry,
a write operation at SOC_IRAM_LOW + 0x40 (a random RAM cached address)
still needs the same number (29) of CPU cycles.
2024-06-10 11:55:58 +05:30
Jan Beran
950428c2f4 feat(tools): Add often used espefuse subcommands to idf.py 2024-06-07 16:23:17 +02:00
Konstantin Kondrashov
788455f3a8 Merge branch 'feature/bootloader_add_extern_c' into 'master'
fix(bootloader_support): Add missing c linkage to some headers

Closes IDFGH-12930

See merge request espressif/esp-idf!31300
2024-06-05 13:54:35 +08:00
Alexey Lapshin
f41949d06f fix(tools): hotfix for xtensa toolchain (8dot3 naming in windows) 2024-06-04 18:32:25 +04:00
andylinpersonal
100f23a1c1 fix(bootloader_support): Add missing c linkage to some headers
Merges https://github.com/espressif/esp-idf/pull/13890
2024-06-04 12:39:39 +03:00
Roland Dobai
ba60c2dbc9 Merge branch 'fix/install_on_nixos' into 'master'
fix(tools): Add suggestion how to install ESP-IDF on NixOS

Closes IDFGH-12839

See merge request espressif/esp-idf!31147
2024-06-03 20:09:35 +08:00
Song Ruo Jing
2d8c719fbb Merge branch 'feature/support_uart_sleep_retention' into 'master'
feat(uart): support uart module sleep retention

Closes IDF-8457

See merge request espressif/esp-idf!26729
2024-06-03 20:05:54 +08:00
Aditya Patwardhan
f412149dc9 Merge branch 'feat/enable_secure_boot_for_c5' into 'master'
feat: enable secure boot for c5

Closes IDF-8623 and IDF-9478

See merge request espressif/esp-idf!29774
2024-06-03 15:35:51 +08:00
Song Ruo Jing
dca7c286d0 feat(uart): support uart module sleep retention on c6/h2/p4 2024-06-03 12:40:43 +08:00
Roland Dobai
7b7f73ba2a Merge branch 'feat/add_espsecure_subcommands' into 'master'
feat: Add espsecure subcommands into idf.py

See merge request espressif/esp-idf!29424
2024-05-31 18:29:55 +08:00
Roland Dobai
d1d8a81f38 fix(tools): Add suggestion how to install ESP-IDF on NixOS
Closes https://github.com/espressif/esp-idf/issues/13806
2024-05-31 09:00:14 +02:00
Alexey Lapshin
a4e6f57a40 Merge branch 'feature/update-toolchain-to-esp-13.2.0_20240530' into 'master'
feat(tools): update toolchain version to esp-13.2.0_20240530

Closes GCC-347, GCC-364, and IDF-9712

See merge request espressif/esp-idf!31206
2024-05-31 13:45:05 +08:00
Alexey Lapshin
10b73152a9 feat(tools): update toolchain version to esp-13.2.0_20240530 2024-05-31 06:02:16 +04:00
Frantisek Hrbata
fbe8bf89ee fix: properly resolve component dependencies
There is currently a bug in the __build_resolve_and_add_req function in
tools/cmake/build.cmake where the check for registered component
requirements is incorrectly applied to the component itself rather than
its dependencies. This issue likely originated from a typo, using
component_target instead of _component_target. To prevent further
confusion, _component_target has been renamed to _req_target.

Fixing this revealed multiple incorrect dependencies for the Linux
target, which have now been resolved by explicitly specifying the
dependencies for the Linux target.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-30 22:01:55 +08:00
Aleksei Apaseev
b0feec7e24 Merge branch 'ci/improve_dynamic_pipeline_report' into 'master'
feat(ci): Add known failure cases to the target test report

Closes IDFCI-1989 and IDFCI-1992

See merge request espressif/esp-idf!30925
2024-05-30 19:37:42 +08:00
nilesh.kale
f5dd1074b6 feat: enable secure boot for c5
This MR added suppport for secure boot in ESP32-C5.
2024-05-30 11:43:17 +05:30
Fu Hanxi
3cc0d2d5d7
ci: fix get mr components, stop printing out debugging info 2024-05-29 09:28:46 +02:00
Roland Dobai
3d7a0d6cd0 Merge branch 'feat/idf_py_size_diff' into 'master'
feat: add diff option support to idf.py size commands

Closes IDF-9356

See merge request espressif/esp-idf!30638
2024-05-28 19:09:19 +08:00
Aleksei Apaseev
40c8a16ad4 ci: add known failure cases to the target test report
target test report:
- refactor the methods to ensure reusability
- cover report generation with tests
- introduce a known failure tests block in report
- add grafana link to testcases dashboard
2024-05-28 15:36:22 +08:00
Roland Dobai
a858da31da Merge branch 'feat/verif_no_additional_props_in_json_schema' into 'master'
feat(tools): json schema verifies that no additional properties are used

Closes IDFGH-12892 and IDFGH-12893

See merge request espressif/esp-idf!31103
2024-05-27 22:46:04 +08:00
Marek Fiala
55112978fd feat(tools): json schema verifies that no additional properties are used
Closes https://github.com/espressif/esp-idf/issues/13853
Closes https://github.com/espressif/esp-idf/pull/13854
2024-05-27 16:24:56 +02:00
Erhan Kurubas
002faf3b0a ci(panic): extend extram_stack tests 2024-05-27 14:51:30 +02:00
Erhan Kurubas
55261747fc ci(panic): add coredump tcb corrupted test 2024-05-27 13:55:14 +02:00
Jeroen Domburg
a1ba660b4a change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-27 12:41:18 +08:00
Frederick Vollbrecht
71b5277e81 fix missing macos-arm propertie in json schema 2024-05-25 00:35:25 +02:00
Sudeep Mohanty
00efba0565 fix(linux): Added instructions to ignore build warnings in CI for MacOS
This commit updates the host-test.yml to add instructions to ignore
certain build warnings when the linux target is built on MacOS. This way
the test doesn't get flagged as failed in CI for the warnings and can run.
2024-05-24 16:29:47 +02:00
Fu Hanxi
61559dc3e4 ci: ignore collect import error on CI with env var 2024-05-24 16:29:39 +02:00
Sudeep Mohanty
50460d3483 feat(ci): Added CI host test for the linux target on MacOS runners
This commit adds a CI host test for the linux target to build and run
MacOS runners. Additionally, it adds a MacOS test for the hellow_world
app.
2024-05-24 16:29:22 +02:00
Frantisek Hrbata
6f41dee0cd feat: add diff option support to idf.py size commands
This adds a possibility to specify --diff option to idf.py size,
size-components and size-files commands. This can be map file directly,
project directory or build directory.

Usage example:
idf.py size-components --diff ../hello_world2/build/hello_world.map
idf.py size-components --diff ../hello_world2/build
idf.py size-components --diff ../hello_world2

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-24 15:19:37 +08:00
Fu Hanxi
9250726dc8 Merge branch 'ci/ignore_import_error_while_collecting_pytest_cases_locally' into 'master'
ci: ignore import error when collecting pytest cases locally

Closes IDFCI-1877

See merge request espressif/esp-idf!30984
2024-05-23 17:08:58 +08:00
Fu Hanxi
9fe2986c82
ci: ignore import error when collecting pytest cases locally 2024-05-23 10:09:37 +02:00
Fu Hanxi
5b93f4e552 Merge branch 'ci/consider_more_components_dirs' into 'master'
ci: improve get_mr_components, take more components into consideration

See merge request espressif/esp-idf!30673
2024-05-23 16:00:19 +08:00
Roland Dobai
06b4b97326 fix(tools): Use GDGBUI arguments based on its version
Closes https://github.com/espressif/esp-idf/issues/13665
2024-05-23 07:33:11 +02:00
Armando (Dou Yiwen)
92f9301ceb Merge branch 'feat/esp32p4_xip_psram' into 'master'
psram: support xip_psram on esp32p4

Closes IDF-7556

See merge request espressif/esp-idf!26903
2024-05-22 21:18:19 +08:00
Fu Hanxi
65d08698e8 ci: improve get_mr_components, take more components into consideration 2024-05-22 20:52:32 +08:00
Island
a3cb889ba3 Merge branch 'bugfix/fix_bci_416' into 'master'
Fixed BLE interrupt allocation using esp API on ESP32C3

See merge request espressif/esp-idf!30652
2024-05-22 17:57:01 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
C.S.M
a254eb5818 test(esp_intr_dump): Fix the esp intr dump expected output because the changes happened in brownout 2024-05-21 15:06:29 +08:00
Jan Beran
981062d54f feat(tools): add often used espsecure subcommands to idf.py 2024-05-20 15:13:35 +02:00
Sarvesh Bodakhe
6f966dd0ee fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-19 00:52:59 +05:30
Adam Múdry
7b32f27e81 Merge branch 'fix/nvs_tool_entry_unknown_type_crash' into 'master'
fix(nvs): Fix nvs_tool accepting an unknown entry type

See merge request espressif/esp-idf!30503
2024-05-17 21:05:22 +08:00
Adam Múdry
9eedd57a18 fix(nvs): Fix nvs_tool accepting an unknown entry type 2024-05-17 13:18:52 +02:00
Alexey Lapshin
2b36636f6f fix(system): print warning if stray section is found while linking 2024-05-17 13:37:42 +04:00
Alexey Gerenkov
8b93323da6 Merge branch 'upgrade_clang_toolchain' into 'master'
Upgrade clang toolchain version to 'esp-17.0.1_20240419'

See merge request espressif/esp-idf!29811
2024-05-14 21:47:06 +08:00
chenjianhua
2c93450d59 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-05-14 14:41:39 +08:00
Ondrej Kosta
d15a9c2c48 feat(esp_eth): a new folder structure of the driver and other improvements
Fixed memory leak in emac_esp_new_dma function.

Polished ESP EMAC cache management.

Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.

Added ESP EMAC GPIO reservation.

Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-05-14 08:23:31 +02:00
Bogdan Kolendovskyy
4699a3c899 Merge branch 'feature/iperf_use_component' into 'master'
feat(iperf): use iperf component in iperf example

See merge request espressif/esp-idf!29879
2024-05-13 20:58:49 +08:00