5893 Commits

Author SHA1 Message Date
Roland Dobai
81010cff35 fix(idf_tools.py): Upgrade pip and setuptools separately
This way the setuptools version dependency resolution will be done by
the upgraded pip.
2024-12-18 12:57:20 +01:00
Alexey Gerenkov
a7c987e450 Merge branch 'fix/test_idf_gdb_v5.3' into 'release/v5.3'
test(system): mark gdb test runners properly (v5.3)

See merge request espressif/esp-idf!35587
2024-12-17 21:43:34 +08:00
Island
0b7cbb40ca Merge branch 'bugfix/fix_hid_crash_v5.3' into 'release/v5.3'
fix(ble): Fix crash issue during logging (v5.3)

See merge request espressif/esp-idf!35510
2024-12-12 09:06:15 +08:00
Erhan Kurubas
e29f06bb2b change(cmake): use board configuration file for ftdi interface 2024-12-11 18:50:09 +01:00
Erhan Kurubas
b63cafb1a6 test(system): mark gdb test runners properly 2024-12-11 18:50:09 +01:00
Erhan Kurubas
dfc248d66d change(tools): enhance expect_reg_dump to support any or specific core values 2024-12-09 16:23:39 +01:00
Erhan Kurubas
ef14d7ab64 test(coredump): fix failed core dump tests 2024-12-09 15:52:59 +01:00
Erhan Kurubas
5f3d3f5e92 ci(panic): extend extram_stack tests 2024-12-09 15:52:59 +01:00
Erhan Kurubas
c753271de1 ci(panic): add coredump tcb corrupted test 2024-12-09 15:52:58 +01:00
zhanghaipeng
6718fc73b1 feat(bt): Add support for converting BT HCI logs to btsnoop format 2024-12-09 17:55:37 +08:00
Alexey Lapshin
782e04e2dc fix(tools): fix idf.py gdb execution in case app was not built 2024-12-06 23:34:54 +07:00
Roland Dobai
0a62a9078c Merge branch 'change/sysview_test_config_v5.3' into 'release/v5.3'
change(sysview): run heap_log tracing tests on existing cores (v5.3)

See merge request espressif/esp-idf!35196
2024-12-06 19:56:48 +08:00
Roland Dobai
22162a45e9 Merge branch 'feature/move-gdb-options-to_project_description_json_v5.3' into 'release/v5.3'
feat(debugging): move gdbinit generation to CMake (v5.3)

See merge request espressif/esp-idf!35176
2024-12-06 19:29:12 +08:00
Roland Dobai
3a3396dcc1 Merge branch 'feat/size_unify_sections_v5.3' into 'release/v5.3'
feat(tools): unify sections in idf.py size reports for NG version (v5.3)

See merge request espressif/esp-idf!34856
2024-12-06 17:35:38 +08:00
Roland Dobai
5ce9a7f07d Merge branch 'fix/import_error_msg_v5.3' into 'release/v5.3'
fix(tools): re-raise ImportError without module name (v5.3)

See merge request espressif/esp-idf!35074
2024-12-06 17:35:26 +08:00
Alexey Lapshin
3af39a0ab0 feat(debugging): move gdbinit generation to CMake
This feature is useful for 3rd-party software to run GDB with predefined
options that described in project_description.json file

allow to pass custom options to "idf.py gdb":

  --gdb-commands: command line arguments for gdb. (without changes)
  -ex: pass command to gdb.
  -x: pass gdbinit file to gdb. Alias for old --gdbinit command
2024-12-06 05:07:52 +08:00
Marius Vikhammer
9d7f2d69f5 change(version): Update version to 5.3.2 2024-12-05 15:30:21 +08:00
Erhan Kurubas
e2db600c8c fix(sysview): add prefix to the module desc to avoid stuck in Segger SystemView app
Closes https://github.com/espressif/esp-idf/issues/10483
2024-11-26 10:56:02 +01:00
Frantisek Hrbata
8d768f675b fix(tools): re-raise ImportError without module name
The ImportError or ModuleNotFoundError might be raised without
specifying a module name. In this not so common situation, re-raise the
exception to print all the information that could assist in identifying
the problem.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-21 09:37:22 +01:00
Frantisek Hrbata
63c565d95d feat(tools): unify sections in idf.py size reports for NG version
By default, esp-idf-size.ng displays all sections individually. This can
be confusing, especially if CONFIG_SOC_MEM_NON_CONTIGUOUS_SRAM is
enabled, resulting in sections like .dram0.data and .dram1.data being
abbreviated as two .data sections in the size report. To avoid confusion
for idf.py and cmake users, pass the --unify option to the underlying
esp_idf_size.ng by default.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-15 21:17:53 +08:00
Jiang Jiang Jian
61c5b1151a Merge branch 'ci/diff_manifest_with_sha' into 'release/v5.3'
CI: Diff manifest (v5.3)

See merge request espressif/esp-idf!34746
2024-11-14 18:59:49 +08:00
Jiang Jiang Jian
004e1b5c24 Merge branch 'ci/fix_macos_ccache_v5.3' into 'release/v5.3'
CI: Fix failing ccache and show ccache statistics for macOS tests (v5.3)

See merge request espressif/esp-idf!33937
2024-11-14 18:55:25 +08:00
Fu Hanxi
773ce3de55
ci: remove gitlab api call while generating pytest target-test child pipeline 2024-11-13 20:46:01 +01:00
Fu Hanxi
91feda824b
ci: generate new report if old one failed to be updated 2024-11-13 20:46:01 +01:00
Fu Hanxi
c9971bea59
ci: support diff manifest sha with the base commit 2024-11-07 10:40:23 +01:00
WanqQixiang
20ee7e18f4 fix(tools/esp_prov): Fix hostname resolving for IPv6-only host 2024-11-05 17:44:46 +08:00
Jiang Jiang Jian
e6fcf6632c Merge branch 'fix/gdbstub_runtime_test_requiers_elf_file_v5.3' into 'release/v5.3'
fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file (v5.3)

See merge request espressif/esp-idf!33815
2024-10-28 12:12:32 +08:00
Jiang Jiang Jian
8d41e65110 Merge branch 'fix/kconfig-option-orphan_sections_warning_v5.3' into 'release/v5.3'
fix(build): fix orphan sections warning kconfig variable (v5.3)

See merge request espressif/esp-idf!33941
2024-10-28 11:53:16 +08:00
Rodrigo Silva
c52114bb0b 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-10-25 17:50:10 +08:00
Jiang Jiang Jian
817495b1ff Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20241016_v5.3' into 'release/v5.3'
feat(tools): update openocd version to v0.12.0-esp32-20241016 (v5.3)

See merge request espressif/esp-idf!34393
2024-10-24 11:21:28 +08:00
Alexey Gerenkov
854dfb45d4 feat(tools): update openocd version to v0.12.0-esp32-20241016 2024-10-23 10:04:56 +02:00
Roland Dobai
431cf92fed fix(tools): Print message about GDBGUI being not supported with Python 3.13 2024-10-22 16:00:42 +02:00
Martin Vychodil
5510aa6f08 Merge branch 'bugfix/nvs_entry_sanity_check_v5.3' into 'release/v5.3'
Bugfix/added nvs entry header sanity checks (v5.3)

See merge request espressif/esp-idf!34289
2024-10-22 19:51:53 +08:00
Aditya Patwardhan
9b6d574c95 Merge branch 'feature/add_compiler_no_merge_constants_v5.3' into 'release/v5.3'
feat: add compiler config for not merging const sections (v5.3)

See merge request espressif/esp-idf!34086
2024-10-18 18:37:03 +08:00
radek.tandler
7668a321db fix(storage/nvs): Fixed hadling of inconsistent values in NVS entry header
feat(storage/nvs): Added test cases for damaged entries with correct CRC
2024-10-18 10:48:24 +02:00
Marek Fiala
2bfcfda7d4 feat(tools): Exclude modified folders by rebuild 2024-10-16 15:05:52 +08:00
Marek Fiala
02d90f2784 feat(tools): Update tools: cmake, ninja, ccache
cmake  v3.24.0 -> v3.30.2
ninja  v1.11.1 -> v1.12.1
ccache v4.8    -> v4.10.2

Closes https://github.com/espressif/esp-idf/pull/14376
2024-10-16 15:05:52 +08:00
Mahavir Jain
bfd037e87e feat: add compiler config for not merging const sections
Probably GCC-13.x and on-wards uses "-fmerge-constants" to merge
the const section (string/floating-point) across compilation units.
This makes it difficult to properly analyze the size output of rodata
section across libraries, the merged section (big in size) is showed
across a single library.

The config option added here can help to disable this compiler behavior
and help to provide better size analysis. It can be used during
development phase only as it increases rodata section size.
2024-10-15 13:35:35 +08:00
Roland Dobai
3f62cc4af8 Merge branch 'fix/ldgen_sort_v5.3' into 'release/v5.3'
fix(ldgen): enable default name SORT in linker fragment (v5.3)

See merge request espressif/esp-idf!34074
2024-10-14 15:20:19 +08:00
Frantisek Hrbata
e32914f972 fix(ldgen): enable default name SORT in linker fragment
Currently, the `SORT` flag mandates the inclusion of at least the
`sort_by_first` argument in the grammar, despite the documentation[1]
indicating that `SORT` can be utilized without any arguments, defaulting
to sorting input sections by name. Fix this by modifying the grammar
to allow a default `SORT` and update a test accordingly.

[1] https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/
    linker-script-generation.html

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-10-10 09:12:27 +02:00
Alexey Lapshin
2f8f397d6b fix(test): reduce gdb_loadable_elf binary size 2024-10-10 10:12:31 +08:00
Roland Dobai
90ca8e7cb7 Merge branch 'fix/idfpy_uf2_fail_v5.3' into 'release/v5.3'
fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app] (v5.3)

See merge request espressif/esp-idf!33948
2024-10-02 20:32:11 +08:00
Jan Beran
519322de5f fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app] 2024-10-01 13:37:17 +02:00
Erhan Kurubas
67e49f542a test(esp-coredump): add test for the soft sha config 2024-10-01 10:07:04 +02:00
Alexey Lapshin
40d7068a95 fix(build): fix orphan sections warning kconfig variable 2024-10-01 12:18:56 +07:00
Peter Macko
044b34475a fix(macos): ccache: re-enable, show stats, set CCACHE_DIR, limit CCACHE_MAXSIZE 2024-09-30 17:57:33 +02:00
Chen Jichang
84f024478c fix(ci): rerun pre-commit to fix readme files 2024-09-27 11:12:55 +08:00
Alexey Lapshin
9d3cdebddb fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file 2024-09-25 15:34:50 +07:00
morris
81d0122ede Merge branch 'ci/remove_c5_build' into 'release/v5.3'
ci(esp32c5,esp32c61): stop building c5 and c61 on 5.3

See merge request espressif/esp-idf!33525
2024-09-23 13:16:36 +08:00
Konstantin Kondrashov
da77828786 fix(examples): Increases partition table offset for SBV2+FE test 2024-09-18 09:58:10 +03:00