Commit Graph

5810 Commits

Author SHA1 Message Date
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
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