Jakob Hasse
bddc1e95ef
feat(rt/posix): Added FreeRTOS-Plus-POSIX message queues implementation
...
Note: The current mq_open() implementation is changed to match
the POSIX standard.
2024-07-11 21:08:01 +02:00
gojimmypi
f6a852e1cf
fix(cmake): check for missing component_target
...
Closes https://github.com/espressif/esp-idf/pull/14036
[Frantisek Hrbata: fixed spelling not related to this change so spellcheck succeeds]
[Frantisek Hrbata: modified the error message to be recognized by the existing hint]
[Frantisek Hrbata: added also check in idf_component_set_property and simple tests]
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-07-11 18:33:41 +02:00
Marius Vikhammer
b3e418d12e
Merge branch 'bugfix/core_c5_tests' into 'master'
...
test(core): fixed mixed failing C5 core-system tests
Closes IDF-10312, IDF-10344, IDF-10337, and IDF-10302
See merge request espressif/esp-idf!31896
2024-07-11 09:53:02 +08:00
Marius Vikhammer
f1719307d6
ci(g1_g0): added CI check for detecting new dependencies in g1/g0
2024-07-11 09:33:59 +08:00
Marius Vikhammer
a2da404e1d
test(intr): fix intr dump test on C5
2024-07-11 09:33:04 +08:00
Fu Hanxi
6aeebbe712
Merge branch 'ci/use-esptool-instead-subprocess' into 'master'
...
ci: replace subprocess with esptool
Closes IDFCI-2167
See merge request espressif/esp-idf!31270
2024-07-10 09:42:59 +08:00
Radim Karniš
eb2273d5dd
Merge branch 'change/skip_macos_wireless_ports' into 'master'
...
change(port_detection): Filter out BT and WLAN debug serial ports on MacOS
Closes IDFGH-13111
See merge request espressif/esp-idf!31712
2024-07-08 20:51:40 +08:00
wanlei
f3968eb8fb
fix(esp_driver_spi): enable single board test for esp32p4
2024-07-08 20:32:04 +08:00
David Čermák
5c6272c6ac
Merge branch 'feat/lwip_more_sockets' into 'master'
...
change(lwip): bump max sockets in lwip Kconfig (GItHubPR)
Closes IDFGH-12906
See merge request espressif/esp-idf!31155
2024-07-08 13:39:13 +08:00
Marius Vikhammer
1ad5d42dbb
Merge branch 'feature/update_g1_descriptions' into 'master'
...
change(core): update G1 dependencies descriptions
Closes IDF-7775
See merge request espressif/esp-idf!31948
2024-07-08 11:59:38 +08:00
Marius Vikhammer
6042887eb3
change(core): update G1 dependencies descriptions
2024-07-08 11:43:41 +08:00
Radim Karniš
ed9b2d1fd6
change(port_detection): Filter out BT and WLAN debug serial ports on MacOS
...
Closes https://github.com/espressif/esp-idf/issues/14058
2024-07-04 20:40:10 +08:00
Liu Xiao Yu
f889ba1b2f
Merge branch 'change/rm_rom_hdr_exceptions' into 'master'
...
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
Closes IDF-5747
See merge request espressif/esp-idf!31868
2024-07-04 15:03:13 +08:00
Xiaoyu Liu
bdfdca24f3
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
...
replace endian with stdint
2024-07-03 11:05:15 +08:00
laokaiyao
cb22b8aaf7
ci(esp32c5): enable c5 target test
2024-07-02 16:45:49 +08:00
Marius Vikhammer
31b248cefa
Revert "change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt"
...
This reverts commit d8c3356113
.
2024-07-02 16:26:19 +08:00
Xiaoyu Liu
d8c3356113
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
2024-07-02 10:46:08 +08:00
Roland Dobai
6a43ef93a1
Merge branch 'fix/generate_keys_in_project_root' into 'master'
...
fix: Generate secure keys in project dir instead of build dir
Closes IDF-10320
See merge request espressif/esp-idf!31797
2024-07-01 18:29:22 +08:00
Liu Xiao Yu
eefe001877
Merge branch 'change/adjust_esp_rom_header_layout_v2' into 'master'
...
change(esp_rom): optimize header files layout in components/esp_rom
See merge request espressif/esp-idf!31590
2024-07-01 16:24:56 +08:00
Rodrigo Silva
48295d31ca
change: bump max sockets in lwip Kconfig
...
Tested under ESP32S3, running 50 tasks, each with a client, and a server
listening to one client, totalizing 150 sockets/files open, forwarding
data from PPP to Ethernet and vice versa.
Reasoning for 255 total sockets/files is VFS local_fd_t being a uint8_t.
Since FD_SETSIZE is defined at tool level, a CMakeLists user definition
is needed in cases above 64 (the default value).
Merges https://github.com/espressif/esp-idf/pull/13866
2024-06-28 21:19:47 +08:00
Jan Beran
832c3f265a
fix: Generate secure keys in project dir instead of build dir
2024-06-28 12:36:49 +02:00
Marius Vikhammer
be05548666
Merge branch 'ci/esp_intr_dump_qemu_timeout' into 'master'
...
ci(qemu): increase timeout for esp_intr_dump test
Closes IDFCI-2225
See merge request espressif/esp-idf!31732
2024-06-28 14:24:20 +08:00
Xiaoyu Liu
2cb9419b14
change(esp_rom): optimize target-specific header files layout in components/esp_rom
2024-06-27 11:24:45 +08:00
Kevin (Lao Kaiyao)
ef63ae2cfc
Merge branch 'bugfix/rename_some_touch_regs2' into 'master'
...
refactor(lp_ana_periph): sync the reg names to TRM (part2)
See merge request espressif/esp-idf!31694
2024-06-26 19:34:17 +08:00
Mahavir Jain
6669caf4cf
Merge branch 'feature/esp32c5_memory_protection' into 'master'
...
Support memory protection using PMA and PMP for ESP32-C5
Closes IDF-8833
See merge request espressif/esp-idf!31245
2024-06-26 19:18:39 +08:00
Roland Dobai
53d3f2f594
Merge branch 'feat/wrapper_tests' into 'master'
...
feat: Add unit tests for new wrapper commands
Closes IDF-10224
See merge request espressif/esp-idf!31525
2024-06-26 16:06:01 +08:00
Marius Vikhammer
0a57b255d2
ci(qemu): increase timeout for esp_intr_dump test
2024-06-25 19:26:50 +08:00
harshal.patil
bd4e48d0d9
feat(cpu): Configure panic exception generation using asm illegal instruction
2024-06-25 11:55:24 +05:30
Peter Dragun
2662a5125c
fix(tools/idf_monitor): exit with error if monitor is run with --no-reset and without --port
...
Closes https://github.com/espressif/esp-idf/issues/14040
2024-06-24 13:47:40 +02:00
Jan Beran
b286105d5f
feat: Add unit tests for new wrapper commands
2024-06-24 10:56:10 +02:00
laokaiyao
7ac331fea7
refactor(lp_ana_periph): sync the reg names to TRM (part2)
2024-06-24 15:30:55 +08:00
Laukik Hase
8b4a71223f
Merge branch 'fix/incorrect_console_input_decoding_wifi_prov_mgr' into 'master'
...
fix(tools/esp_prov): Fix incorrect input decoding when using console transport
Closes IDFGH-13068
See merge request espressif/esp-idf!31659
2024-06-24 14:42:40 +08:00
morris
466f54e375
fix(i2c_lcd): using function overloading to keep esp_lcd_new_panel_io_i2c
...
becuase _Generic is not available in C++
Closes https://github.com/espressif/esp-idf/issues/14037
2024-06-23 21:57:36 +08:00
morris
478a8b5dd6
fix(lcd): build errors with deprecated lcd types in cpp
...
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-23 21:54:26 +08:00
harshal.patil
a31618b988
fix(tools/esp_prov): Fix incorrect input decoding when using console transport
...
- Closes https://github.com/espressif/esp-idf/issues/14013
2024-06-21 14:07:20 +05:30
Alexey Lapshin
e863e6069c
Merge branch 'feat/enable-gdbstub-test-for-p4' into 'master'
...
feat(gdbstub): enable test for esp32p4
Closes IDF-8992 and IDF-7510
See merge request espressif/esp-idf!31479
2024-06-21 15:55:48 +08:00
Konstantin Kondrashov
b1768dcd8e
Merge branch 'feature/gcc_error_on_default_warnings' into 'master'
...
feat(tools): Make default warnings as errors
Closes IDFGH-9945
See merge request espressif/esp-idf!30149
2024-06-20 17:02:14 +08:00
Konstantin Kondrashov
e596cb5527
feat(tool): Adds idf_build_remove_options_from_property func
2024-06-20 14:43:26 +08:00
Marc Finet
9456c157ff
feat(build): Add config to disable warn be considered as errors
...
The -Werror=all activates error for all warnings in -Wall, however, it
does not activate error for other default warnings, such as:
- int-conversion (pointer from integer w/o a cast)
- incompatible-pointer-types
- discarded-qualifiers
Which are IMO even more important that -Wall.
This commit fixes that by activating error for all warnings (i.e. from
-Wall and default ones) and removing those from -Wextra, as the culprit
commit seemed to address.
Fixes: 60f29236f6
"Build system: Raise warning level" (2016-11-16)
In order to avoid long analysis during esp-idf upgrade, provide a way to
restore the previous -Werror=all behavior that consider only warnings
from -Wall (and not default ones).
Also add a hint to use the Kconfig option on compilation error, but warn
that fixing the code is the preferred way.
Merges https://github.com/espressif/esp-idf/pull/11239
Suggested-By: Ivan Grokhotkov <ivan@espressif.com>
2024-06-20 14:43:26 +08:00
Aleksei Apaseev
63bd3a18ad
ci: add failed jobs report generator. Improve Target Test Report
...
Introduced changes:
- refactor the cli script used for report generation
- introduce failed jobs report generator
- cover job report generation with tests
- add job failure rate
- add test cases failure rate
- add current branch / other branches statistic for failed jobs / testcases
2024-06-20 14:40:54 +08:00
Alexey Lapshin
b0ba5689f1
Merge branch 'feature/gcc-fanalyzer' into 'master'
...
feat(ci): add gnu static analyzer job
See merge request espressif/esp-idf!30902
2024-06-19 19:31:53 +08:00
Roland Dobai
c030591ba8
Merge branch 'contrib/github_pr_13982' into 'master'
...
fix(tools): Add missing linux-armhf to tools_schema (GitHub PR)
Closes IDFGH-13036 and IDFGH-13035
See merge request espressif/esp-idf!31559
2024-06-18 22:23:38 +08:00
morris
dd46392a66
feat(ci): check LL functions not read write register by half word
2024-06-18 14:58:41 +08:00
Alexey Lapshin
ed6e497c6f
feat(build): add COMPILER_STATIC_ANALYZER option
2024-06-18 14:25:37 +08:00
laokaiyao
1d894680a8
remove(c5beta3): remove c5 beta3 rom files
2024-06-17 12:02:15 +08:00
Tom Stokes
84814fd554
fix(schema): Add missing linux-armhf to tools_schema
...
Adds `linux-armhf` to the list of platforms that can have overrides.
Fixes #13981
Signed-off-by: Tom Stokes <tomstokes@radixengineering.com>
2024-06-14 15:57:00 -06:00
Ivan Grokhotkov
f95caa751b
Merge branch 'feature/update-qemu-to-esp_develop_9.0.0_20240606' into 'master'
...
feat(tools): update qemu version to esp_develop_9.0.0_20240606
See merge request espressif/esp-idf!31375
2024-06-14 20:41:52 +08:00
Roland Dobai
86b7960c3b
fix(tools/idf_tools.py): Improve the warning message about the environment
2024-06-13 12:38:14 +02:00
Alexey Lapshin
22c4ee05b0
feat(gdbstub): enable test for esp32p4
2024-06-13 13:21:47 +07: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
Ivan Grokhotkov
6ddf31bbdc
feat(tools): enable idf.py qemu integration for ESP32-S3
2024-06-12 10:50:13 +02:00
Ivan Grokhotkov
74d5c40ac9
feat(tools): update qemu version to esp_develop_9.0.0_20240606
2024-06-12 10:50:13 +02: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
igor.udot
d817841cea
ci(secure_boot): replace subprocess with esptool
2024-06-05 09:45:05 +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
Bogdan Kolendovskyy
a23d1b45af
feat(iperf): use iperf component in iperf example
2024-05-13 14:11:41 +02:00
Fu Hanxi
d3abfa3d73
Merge branch 'ci/fix_pytest_embedded_log_dir' into 'master'
...
ci: move log dir from pytest_embedded_log to pytest-embedded
See merge request espressif/esp-idf!30747
2024-05-10 16:28:49 +08:00
Erhan Kurubas
1e90b1f571
Merge branch 'coredump_fixes' into 'master'
...
Coredump fixes
Closes IDFGH-12775 and IDFCI-2141
See merge request espressif/esp-idf!30641
2024-05-09 19:22:12 +08:00
Fu Hanxi
152db1a4ba
ci: move log dir from pytest_embedded_log to pytest-embedded
2024-05-09 12:23:04 +02:00
David Čermák
e42f1c53e0
Merge branch 'feat/netif_dhcps_captive_portal' into 'master'
...
feat(esp_netif): add support for DHCP Option 114 captive portal URI
Closes IDFGH-11885
See merge request espressif/esp-idf!30267
2024-05-09 17:22:22 +08:00
Frantisek Hrbata
9df59a2193
ci: add simple test for idf_size.py python compatibility
...
This adds a simple test that tries to run idf_size.py help and check
if the process does not exit with error. This is just to make sure
that idf_size.py can be used with minimum required python version.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-08 13:38:19 +02:00
Frantisek Hrbata
9fe4ceafc7
fix: make idf_size.py compatible with python3.8
...
Previous 6caa4a17ac
("fix: display correct help in the idf_size.py wrapper")
introduced a regression, because it uses exit_on_error parameter for
argparse.ArgumentParser, which was added in python3.9, making
idf_size.py incompatible with idf.py minimal required python3.8.
The objective is to inspect the arguments of idf_size.py using a wrapper
argparse to determine whether the legacy or refactored version should be
initiated, while always displaying help for the underlying version. The
exit_on_error function was previously utilized to prevent argparse from
exiting and displaying help/usage. This replaces exit_on_error with a
workaround that makes the --format argument optional. Since this is the
sole instance where the wrapper argparse might fail, it achieves the
same outcome as using exit_on_error.
Fixes: 6caa4a17ac
("fix: display correct help in the idf_size.py wrapper")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-08 11:21:10 +02:00
Fu Hanxi
6a4db9c07b
ci: update mypy check for python 3.12, check under python 3.8 rules
2024-05-07 17:28:28 +08:00
Roland Dobai
01c13a72a6
Merge branch 'set_gdb_remotetimeout' into 'master'
...
tools(gdbinit): set remote timeout for the gdb connection
See merge request espressif/esp-idf!30644
2024-05-07 17:22:17 +08:00
Erhan Kurubas
8e524d708c
fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
...
Closes https://github.com/espressif/esp-idf/issues/13754
2024-05-07 06:49:28 +02:00
Erhan Kurubas
810adf2dcc
change(gdbinit): set remote timeout for the gdb connection
2024-05-06 22:06:18 +02:00
Erhan Kurubas
94fc3630f5
ci(panic): add flash encrypted coredump tests
2024-05-06 15:54:33 +02:00
Erhan Kurubas
551d91ea8a
ci(coredump): fix capture dram tests
2024-05-06 15:43:43 +02:00
Frantisek Hrbata
6caa4a17ac
fix: display correct help in the idf_size.py wrapper
...
Currently the wrapper tries to figure out which version of
the esp-idf-size should be started. The legacy version is
used if explicitly requested by the -l/--legacy option or
if json format is specified. This works fine, but if help
is requested, it is printed for the wrapper as shown bellow
$ idf_size.py -h
usage: idf_size.py [-h] [--format FORMAT] [-l]
options:
-h, --help show this help message and exit
--format FORMAT
-l, --legacy
This is not convenient and the full help from the underlying
version should be displayed.
Fix this by only peeking into the args to figure out if legacy or
refactored version should be started and always spawn the underlying
esp_idf_size python module. This is done by using exit_on_error=False and
add_help=False for the ArgumentParser. When help for refactored version
is requested a note as following is printed to notify users that the
legacy version can still be used.
$ idf_size.py -h
Note: legacy esp_idf_size version can be invoked by specifying the -l/--legacy
option or by setting the ESP_IDF_SIZE_LEGACY environment variable.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-06 13:00:49 +02:00
Alexey Gerenkov
86ef0c23fd
refactor(test): Change clang build tests app name
2024-05-03 16:55:18 +03:00
Alexey Gerenkov
57f61d2311
feat(tools): Update Clang version to esp-17.0.1_20240419
2024-05-03 16:55:13 +03:00
Roland Dobai
a23eec2009
feat(docker): Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image
2024-05-03 09:38:45 +02:00
jkingsman
3035ce294d
feat(esp_netif): add support for DHCP Option 114 captive portal URI
...
DHCP Option 114 provides a modern method of indicating a captive
portal redirect to DHCP client. This introduces Option 114 to
the DHCPS component as well as provides examples for usage.
2024-05-02 22:50:09 +08:00
Roland Dobai
8aa5188852
Merge branch 'fix/ci_win_build_system_read_only_test' into 'master'
...
fix(tools): fix failing create readonly project build system test
Closes IDFCI-2138
See merge request espressif/esp-idf!30596
2024-05-02 17:45:05 +08:00
Konstantin Kondrashov
fdd54ab1bb
Merge branch 'feature/print_panic_while_cache_fail' into 'master'
...
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU
Closes IDF-9813
See merge request espressif/esp-idf!30505
2024-05-01 13:30:32 +08:00
Marek Fiala
e351a4407a
fix(tools): fix failing create readonly project build system test
...
Changed the way of removing copied esp-idf folder.
2024-04-30 16:42:05 +02:00
Konstantin Kondrashov
8b418d4b09
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU
2024-04-30 15:20:58 +03:00
Peter Marcisovsky
ff61a12426
Merge branch 'refactor/console_astyle_formating' into 'master'
...
refactor(console): Enable astyle formatting
See merge request espressif/esp-idf!30567
2024-04-30 18:11:59 +08:00
Peter Marcisovsky
0bfaf775c1
refactor(console): Enable astyle formatting
2024-04-29 16:12:51 +02:00
Fu Hanxi
42d6316e91
ci: improve error message when no required tags, and no mandatory env marker
2024-04-29 10:47:33 +02:00
Roland Dobai
6f6706cb8e
ci(tools): Fix IDF_MIRROR_PREFIX_MAP for including all tools from local
2024-04-26 15:17:39 +02:00
kirill.chalov
8c1d66be8c
ci(pre-commit): Exclude sample_project readme from checking against build-test-rules
2024-04-25 17:55:59 +08:00
Fu Hanxi
36fd860d4e
Merge branch 'ci/fix_app_size_json_path' into 'master'
...
CI: fix app size json path
See merge request espressif/esp-idf!30484
2024-04-25 14:38:29 +08:00
Fu Hanxi
f99453910c
Merge branch 'ci/upload_sdkconfig_file' into 'master'
...
CI: upload sdkconfig file
See merge request espressif/esp-idf!30386
2024-04-25 14:30:43 +08:00
Fu Hanxi
e62c1f81b7
ci: fix size.json path for app
2024-04-24 15:14:13 +02:00
Fu Hanxi
31f5c1ffc4
ci: upload sdkconfig file
2024-04-24 21:01:34 +08:00
Fu Hanxi
aa9cf351d3
ci: add minio as pytest requirement
2024-04-24 14:54:42 +02:00
Erhan Kurubas
3b8191cf5d
feat(coredump): save .bss, .data and .heap sections to the elf file
2024-04-23 19:07:51 +03:00
Roland Dobai
a1e9c6e5b0
Merge branch 'fix/docker_entrypoint_permissions' into 'master'
...
fix(docker): Fix entrypoint.sh is not executable issue (GitHub PR)
Closes IDFGH-12668 and IDFGH-12681
See merge request espressif/esp-idf!30372
2024-04-23 13:57:07 +08:00
Ivan Grokhotkov
0436d49815
change(version): Update version to v5.4-dev
2024-04-22 22:43:44 +02:00
Fu Hanxi
ed2d492bde
ci: check missing runners only when needed
2024-04-22 15:38:36 +02:00
Roland Dobai
af302c0bee
Merge branch 'feat/add_merged_bin_cmd' into 'master'
...
feat(tools): Add idf.py merge-bin command and cmake target
See merge request espressif/esp-idf!29996
2024-04-22 17:55:36 +08:00
Xiahua Liu
248d25a235
fix(docker): Fix entrypoint.sh is not executable issue
...
Closes https://github.com/espressif/esp-idf/pull/13660
2024-04-22 12:18:13 +07:00
igor.udot
99a0ce0db0
ci: revert pytest.ini -s -vv
2024-04-19 22:26:29 +08:00
Alexey Lapshin
6f2de1fb23
fix(system): esp32p4: fix mepc when load/store failure occurred
2024-04-18 19:49:19 +04:00
Marius Vikhammer
842b6a1dc4
Merge branch 'bugfix/p4_ulp_wakeup' into 'master'
...
fix(ulp): fixed lp-core not booting during sleep
Closes IDF-9407
See merge request espressif/esp-idf!30296
2024-04-18 16:23:16 +08:00
Marius Vikhammer
1fa59c442b
fix(ulp): fixed lp-core not booting during sleep
...
LP core was unable to boot when system was in deepsleep.
This was due to lp uart init in LP rom using XTAL as clk source,
which is normally powered down during sleep.
This would cause lp uart to get stuck while printing ROM output,
and the app would never boot.
Also fixed wrong wakeup cause used by HP core for ULP wake up
2024-04-18 11:36:30 +08:00
Ivan Grokhotkov
8a66e059e9
Merge branch 'feature/sdmmc_p4_psram' into 'master'
...
feat(sdmmc): add support for PSRAM DMA
Closes IDF-9662
See merge request espressif/esp-idf!30044
2024-04-17 18:10:00 +08:00
Ivan Grokhotkov
545203f1c8
change(ci): split test_apps build-test-rules, add missing code owners
2024-04-17 11:54:33 +02:00
Fu Hanxi
01d56baac6
Merge branch 'ci/fix_macos_runner' into 'master'
...
ci: select correct python version for mac runners
Closes IDFCI-2107
See merge request espressif/esp-idf!30102
2024-04-17 16:58:27 +08:00
Marius Vikhammer
c9efc9cc83
Merge branch 'bugfix/p4_reserved_rtc_mem' into 'master'
...
fix(rtc_memory): fix conflict between LP-ROM and RTC reserved
Closes IDF-9408
See merge request espressif/esp-idf!30012
2024-04-17 16:45:57 +08:00
Marius Vikhammer
4533f16c34
fix(rtc_memory): fix conflict between LP-ROM and RTC reserved
2024-04-17 13:37:56 +08:00
Fu Hanxi
2cde75b531
ci: improve pytest build system tests
...
- remove temp dirs
- remove idf-component-manager unit test
2024-04-16 15:33:43 +02:00
Fu Hanxi
a4f691b88a
ci: always cleanup idf copy in ci
2024-04-16 15:32:10 +02:00
Jan Beran
0dec6fe65d
feat(tools): Add idf.py merge-bin command and cmake target
2024-04-16 12:49:18 +02:00
Alexey Lapshin
851216b1a4
feat(tools): update gdb version to 14.2_20240403
2024-04-16 16:17:28 +08:00
Jiang Jiang Jian
8f4f21580a
Merge branch 'bugfix/esp_supplicant_format' into 'master'
...
fix(wifi): update coding format of WiFi files
See merge request espressif/esp-idf!28079
2024-04-16 15:23:21 +08:00
Konstantin Kondrashov
b6c8a139be
Merge branch 'feature/linux_improve_delay_func' into 'master'
...
feat(esp_rom): Improves esp_rom_delay_us for linux target
See merge request espressif/esp-idf!30217
2024-04-16 14:44:21 +08:00
Kapil Gupta
0ba7836bd2
fix(ci): Update coding rules for esp_wifi files
2024-04-15 23:18:33 +05:30
Mahavir Jain
024b040300
test(memprot): enable memory protection tests for P4
2024-04-14 21:16:42 +05:30
Erhan Kurubas
72f463afc6
Merge branch 'doc_update_esp32p4_jtag' into 'master'
...
Update esp32p4 jtag debugging guide
Closes IDF-7758
See merge request espressif/esp-idf!26527
2024-04-13 02:10:21 +08:00
Ivan Grokhotkov
49b4bc175e
feat(sdmmc): add support for PSRAM DMA on ESP32-P4
2024-04-12 12:56:18 +02:00
Konstantin Kondrashov
b3d1b1783b
feat(esp_rom): Improves esp_rom_delay_us for linux target
2024-04-12 12:52:38 +03:00
Jakob Hasse
d9a6ae2b3c
Merge branch 'refactor/simplify_mock_build_tests' into 'master'
...
refactor(cmock): simplified mock build tests
See merge request espressif/esp-idf!30038
2024-04-12 16:09:39 +08:00
Roland Dobai
ef36e84264
Merge branch 'feature/idf_tools_stop_install_on_error' into 'master'
...
feat(tools): stop installation if tool is failed
Closes IDF-9030
See merge request espressif/esp-idf!28491
2024-04-12 15:07:17 +08:00
Roland Dobai
34f1076711
Merge branch 'fix/exit_asyncio_gracefully' into 'master'
...
fix: exit gracefully when process started via asyncio is terminated
Closes IDFGH-12390
See merge request espressif/esp-idf!30036
2024-04-12 14:12:18 +08:00
Anton Maklakov
e1ef214203
feat(tools): stop installation if tool is invalid
...
install/check commands - stop on error
export/list commands - print a warning
2024-04-12 14:03:49 +08:00
Xu Si Yu
2768d33be2
Merge branch 'ci/re-enable_ot_runner' into 'master'
...
ci: re-enable openthread runner
See merge request espressif/esp-idf!30142
2024-04-10 14:38:35 +08:00
morris
57696a437d
Merge branch 'feat/ast_grep_lint_tool' into 'master'
...
Use ast-grep to create customized lint rules
See merge request espressif/esp-idf!30050
2024-04-10 10:50:09 +08:00
Xu Si Yu
0d01a3ed72
ci: re-enable openthread runner
2024-04-09 20:52:05 +08:00
Marek Fiala
f2b75d81b3
fix(system): fix idf.py build ulp examples containing spaces in path on Win
2024-04-09 14:00:34 +02:00
morris
c4c8965513
feat(tool): use ast-grep to lint code base
2024-04-09 18:45:18 +08:00
Erhan Kurubas
483b4cd65b
ci(coredump): enable custom stack tests for riscv chips
2024-04-09 13:36:30 +08:00
Fu Hanxi
8f2aebdc20
ci: ignore openthread runner temporarily
2024-04-08 14:44:17 +02:00
Kevin (Lao Kaiyao)
432864e917
Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'
...
ci(esp32c5mp): enable esp32c5 build on CI
See merge request espressif/esp-idf!29895
2024-04-08 12:16:16 +08:00
Chen Yu Dong
8ff53713fa
Merge branch 'ci/fix_generic_env_markers' into 'master'
...
ci: fix pytest generic env markers
See merge request espressif/esp-idf!30021
2024-04-07 16:44:57 +08:00
Ivan Grokhotkov
279b67cc5e
Merge branch 'bugfix/check_callgraph_ignore_indirect_calls' into 'master'
...
fix(check_callgraph): rework --ignore-symbols to be more generic
See merge request espressif/esp-idf!29850
2024-04-07 15:05:08 +08:00
Fu Hanxi
290e3c3156
ci: fix bypass target test warnings
2024-04-07 12:13:29 +08:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Alexey Lapshin
5a40bb8746
Merge branch 'feature/update-esp32ulp-elf-to-2.38_20240113' into 'master'
...
feat(tools): update esp32ulp-elf version to 2.38_20240113
See merge request espressif/esp-idf!28451
2024-04-06 03:23:43 +08:00
Erhan Kurubas
9e80e127ac
doc(jtag): update esp32p4 jtag debugging guide
2024-04-04 21:37:56 +03:00
Erhan Kurubas
9c99a385ad
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318' into 'master'
...
feat(tools): update openocd version to v0.12.0-esp32-20240318
See merge request espressif/esp-idf!29759
2024-04-05 01:53:12 +08:00
Jakob Hasse
51f6bb8931
refactor(cmock): simplified mock build tests
2024-04-04 16:14:13 +02:00
Alexey Lapshin
68464aad11
feat(tools): update esp32ulp-elf version to 2.38_20240113
2024-04-04 16:12:39 +08:00
Frantisek Hrbata
75c765ff42
fix: exit gracefully when process started via asyncio is terminated
...
Currently when process is started through asyncio Runner and it is termited
e.g. with SIGINT(ctrl+c) a traceback is printed instead of gracefully
exit.
Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7fe980970900>
Traceback (most recent call last):
File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 129, in __del__
self.close()
File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 107, in close
proto.pipe.close()
File "/usr/lib64/python3.12/asyncio/unix_events.py", line 568, in close
self._close(None)
File "/usr/lib64/python3.12/asyncio/unix_events.py", line 592, in _close
self._loop.call_soon(self._call_connection_lost, exc)
File "/usr/lib64/python3.12/asyncio/base_events.py", line 793, in call_soon
self._check_closed()
File "/usr/lib64/python3.12/asyncio/base_events.py", line 540, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
This is caused because asyncio Runner context in asyncio.run is closing the event
loop and if exception is unhandled in coroutine(run_command) the transport is not
closed before the even loop is closed and we get RuntimeError: Event loop is closed
in the transport __del__ function because it's trying to use the closed
even loop.
Let's catch asyncio.CancelledError in case the process we are trying to
read from is terminated, print message, let the asyncio finish and exit
gracefully.
Closes https://github.com/espressif/esp-idf/issues/13418
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-04-04 09:58:01 +02:00
Alexey Gerenkov
c9b649779e
feat(tools): update openocd version to v0.12.0-esp32-20240318
2024-04-04 14:50:06 +08:00
David Cermak
4d40751158
fix(ci): Simplify and document public header checker
...
Documented specific checks/subchecks for header file verification
Simplified the process, now we use simple regex to remove macros from
the current header. Before, we re-ran preprocess_one_header()
function with removed `#include ...`s from the header under test, so
we were looking into the actual header (rather than included headers)
when checking for `extern "C"` keyword.
The procedure is easier to follow without this recursion (mostly because
in the second execution we might encounter compilation failers and
ignore them).
Note that this procedure is not 100% correct (we might see some false
positive and false negatives)
2024-04-04 08:45:15 +02:00
Chen Yudong
7d13f8210f
ci: fix pytest generic env markers
2024-04-03 18:10:43 +08:00
Rahul Tank
23bae90070
Merge branch 'contrib/github_pr_11497' into 'master'
...
Nimble: Added blecsc (Cycling Speed and Cadence) profile support for nimble examples.
Closes IDFGH-10233
See merge request espressif/esp-idf!26631
2024-04-03 17:12:34 +08:00
Ivan Grokhotkov
dd35ded06a
Merge branch 'maint/supported_targets_update' into 'master'
...
readme, tools: supported targets update
See merge request espressif/esp-idf!29425
2024-04-03 16:58:00 +08:00
Armando (Dou Yiwen)
fd11a0e85a
Merge branch 'change/remove_no_longer_public_spi_reg' into 'master'
...
spi: remove no longer public spi reg
Closes DOC-7416
See merge request espressif/esp-idf!30010
2024-04-03 16:57:31 +08:00
Armando
2c81664fa3
change(spi): remove no longer public spi reg
2024-04-03 13:37:09 +08:00
ESPAbhinav
f8b2ab7955
feat(nimble): Added blecsc profile support for nimble examples
2024-04-03 10:50:02 +05:30
Laukik Hase
48503dd39f
fix(esp_hw_support): Fix the flash I/DROM region PMP protection
2024-04-02 18:41:07 +05:30
Zhang Wen Xu
d41172853b
Merge branch 'fix/phy_init_variables_in_header_file' into 'master'
...
fix(esp_phy): header file produces non-zero object
See merge request espressif/esp-idf!29930
2024-04-02 16:50:54 +08:00
zwx
6d2f9c2991
fix(esp_phy): header file produces non-zero object
2024-04-02 12:14:17 +08:00
wanlei
20c18ac52b
feat(esp32c61): final introduce helloworld support
2024-04-02 10:50:52 +08:00
Jiang Jiang Jian
d885808b9f
Merge branch 'feature/advanced_roaming_support' into 'master'
...
Add advanced Wi-Fi roaming support through Wi-Fi app
Closes WIFI-6169, WIFI-4212, WIFIBUG-314, and IDFGH-10713
See merge request espressif/esp-idf!26126
2024-04-02 00:02:41 +08:00
Jiang Jiang Jian
8da9eb5168
Merge branch 'ci/reenable_bootloader_sections_test_esp32c2' into 'master'
...
ci(system): re-enable bootloader_sections test for ESP32-C2
See merge request espressif/esp-idf!29852
2024-04-01 23:13:00 +08:00
jgujarathi
c5d8acc40a
feat(esp_wifi): Showcase roaming_app capabalities through dedicated example
...
- Shows use of roaming app through dedicated example : roaming_app_example.
- Changes the location of the earlier roaming example by moving it into the roaming_11kvr.
- Please note that this feature is still experimental and still being optimised
and tuned.
2024-04-01 23:00:01 +08:00
Marius Vikhammer
b8a254f33f
test(storage): fixed failing c-file api test
2024-04-01 15:14:22 +08:00
zwx
d2e0b9419f
fix(CI): fix CI to pass fast build app
2024-03-29 16:03:24 +08:00
morris
1ed64afddd
Merge branch 'refactor/remove_unused_periph_module_enable' into 'master'
...
remove orphaned clk_gate_ll.h on esp32p4
Closes IDF-8094
See merge request espressif/esp-idf!29906
2024-03-29 14:50:34 +08:00
Jiang Jiang Jian
d434034513
Merge branch 'bugfix/storage_spelling' into 'master'
...
fix(storage,esp_pm): spelling fixes by codespell pre-commit hook
See merge request espressif/esp-idf!29898
2024-03-29 11:59:48 +08:00