6405 Commits

Author SHA1 Message Date
Laukik Hase
420810ee77
feat(esp_tee): Support for ESP-TEE - tools directory 2024-12-02 12:20:05 +05:30
morris
09ca9dfd2c feat(ci): add ast-grep rules to lint kconfig in the hal 2024-11-29 22:41:12 +08:00
Aditya Patwardhan
308bad9bf4 Merge branch 'bug/wifi_provisioning_failure_even_after_connecting' into 'master'
fix(esp_wifi_prov): Provisioning App failure on first failed attempt

Closes IDF-11451

See merge request espressif/esp-idf!34411
2024-11-29 17:46:26 +08:00
hrushikesh.bhosale
6590cf9560 fix(esp_wifi_prov): Send failure msg on first fail
Added new sta state WIFI_PROV_ATTEMPT_FAILED, which is
returned on first failure with attemps_remaining field.
2024-11-28 15:00:54 +05:30
Armando
4c2b9909c4 ci(flash): added 120M supported runner 2024-11-28 14:53:19 +08:00
sanika.inamdar
3bab2010ee feat(mfg_gen): provision for specifying prefix counter for encrypted key files 2024-11-27 18:02:02 +05:30
Roland Dobai
31b7ac775f Merge branch 'fix/env_var_idf_path_old_not_set_in_ps1' into 'master'
fix(tools): IDF_PATH_OLD not found in PowerShell

See merge request espressif/esp-idf!35214
2024-11-26 22:42:42 +08:00
Marek Fiala
d7d1cc7c23 fix(tools): IDF_PATH_OLD not found in PowerShell 2024-11-26 12:40:46 +01:00
Armando (Dou Yiwen)
8214dc4efd Merge branch 'change/use_uart0_for_ram_app_c5' into 'master'
ci(ram_app): use uart0 config

Closes IDFCI-2552 and IDFCI-2389

See merge request espressif/esp-idf!35190
2024-11-26 17:21:30 +08:00
Erhan Kurubas
06e8ee2893 Merge branch 'change/sysview_test_config' into 'master'
change(sysview): run heap_log tracing tests on existing cores

Closes IDFGH-9080 and IDF-6744

See merge request espressif/esp-idf!35005
2024-11-26 15:47:21 +08:00
Armando
af6e15cca3 ci(ram_app): use uart0 config 2024-11-26 14:19:50 +08:00
Roland Dobai
a2c399c098 Merge branch 'feat/add_idf_path_setting_info' into 'master'
feat(tools): Add info message to install/export scripts about IDF_PATH being set/change.

Closes IDF-9355

See merge request espressif/esp-idf!34748
2024-11-25 17:20:55 +08:00
Roland Dobai
46e37515b8 Merge branch 'feat/examples_minimal_build' into 'master'
switch examples to build just with required components

Closes IDF-11308, IDF-7940, and IDF-11289

See merge request espressif/esp-idf!33825
2024-11-25 16:27:29 +08:00
Marek Fiala
cad15b50c4 feat(tools): Inform user about IDF_PATH set/change in install/export scripts 2024-11-25 15:56:16 +08:00
Alexey Lapshin
91858ef3e4 Merge branch 'feature/update-toolchain-to-esp-14.2.0_20241119' into 'master'
feat(tools): update toolchain version to esp-14.2.0_20241119

Closes GCC-384

See merge request espressif/esp-idf!35051
2024-11-23 15:33:16 +08:00
Kapil Gupta
b7d412ce87 Merge branch 'fix/lwip_remove_unused_flags' into 'master'
fix(lwip): Remove unused LWIP flags from test configs

See merge request espressif/esp-idf!34056
2024-11-22 19:42:54 +08:00
morris
24272610b2 refactor(soc): reformat code with astyle 2024-11-22 11:09:38 +08:00
Erhan Kurubas
64bcffd313 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-21 20:30:26 +01:00
Zhang Hai Peng
39eb6732b2 Merge branch 'feat/support_bt_hci_debug_tool' into 'master'
feat(bt): Add support for converting BT HCI logs to btsnoop format

Closes BLERP-1261

See merge request espressif/esp-idf!35048
2024-11-21 19:45:13 +08:00
zhanghaipeng
decb24f940 feat(bt): Add support for converting BT HCI logs to btsnoop format 2024-11-21 17:21:13 +08:00
Roland Dobai
cef2624e59 Merge branch 'feature/idf_py_at_file_autocomplete' into 'master'
feat(tools): autocomplete @-arguments of idf.py with file names

See merge request espressif/esp-idf!31081
2024-11-21 17:11:58 +08:00
Alexey Lapshin
f052dbc522 feat(tools): update toolchain version to esp-14.2.0_20241119 2024-11-21 11:45:22 +07:00
Alexey Lapshin
ed66c1fb7d fix(tools): fix adding tar.gz archive to tools.json if tar.xz is present 2024-11-21 11:45:22 +07:00
Frantisek Hrbata
da1a99d5ed change(conf): add MINIMAL_BUILD note to menuconfig and sdkconfig
With MINIMAL_BUILD enabled, menuconfig will only display configuration
options for components included in the build through main component
dependencies. This means that configuration options for excluded
components will not appear in menuconfig. This might be confusing, as
most examples currently do not use a trimmed build, and all components
detected by the build system are available in menuconfig, even if their
configuration has no effect because the components may not be linked or
used. Adding a note in the components menu of menuconfig could help
users realize they need to add a component to the main component
requirements to see its configuration options. Unfortunately, Kconfig
does not support multiline comments, so there are three separate
comments intended to adequately describe the potentially missing
component configurations.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
c28b7dc9ac change(ci): disable MINIMAL_BUILD for test_build_cmake_library_psram_workaround
The test_build_cmake_library_psram_workaround verifies that the
mfix-esp32-psram-cache-issue flag is applied to all compile commands in
compile_commands.json when CONFIG_SPIRAM_CACHE_WORKAROUND=y. Although
the import_lib does not need the esp_psram component, this test does. To
avoid adding the esp_psram dependency to the import_lib, disable
MINIMAL_BUILD for this test by explicitly setting the COMPONENTS
variable.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
8d248d8903 change(ci): disable MINIMAL_BUILD for check_public_headers.py
The check_public_headers.py script does not function well with
MINIMAL_BUILD enabled, as some headers from excluded components may be
missing. While it might be possible to address this issue with
exclusions, it is likely more effective and provides more coverage to
include all components, not just those required by the blink example.
Therefore, MINIMAL_BUILD has been disabled for this test, ensuring that
all registered components are included in the build. If defined, the
COMPONENTS variable takes precedence over the MINIMAL_BUILD property, so
setting "-DCOMPONENTS=" overrides the MINIMAL_BUILD property.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
f6fcfbb9e6 feat(cmake): introduce MINIMAL_BUILD build property
Introduce a MINIMAL_BUILD property to streamline the build process by
including only the main component and its direct and indirect
dependencies. This serves as a convenient shortcut for using
set(COMPONENTS main). The MINIMAL_BUILD build property is ignored if the
COMPONENTS variable is defined, as COMPONENTS takes precedence.

To enable a minimal build, add "idf_build_set_property(MINIMAL_BUILD ON)"
to the project's CMake configuration.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Frantisek Hrbata
ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Frantisek Hrbata
496e9cdff8 fix(hints): handle multiple missing headers in the output
The object files are compiled simultaneously, which can result in
several error messages about missing headers. The current regex used to
find missing headers in the compiler's output employs a greedy search,
potentially capturing multiple error messages from different compilation
units. This can cause bug reports where the original component cannot be
identified. Strengthen the regex to ensure it only processes the first
reported error.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 18:41:55 +08:00
Roland Dobai
e3ceabfa1b Merge branch 'feat/uart_line_ending' into 'master'
feat(console): change line endings on standard input and output

Closes IDF-11467

See merge request espressif/esp-idf!34459
2024-11-20 15:36:01 +08:00
Alexey Lapshin
2a6e08431b Merge branch 'feature/move-gdb-options-to_project_description_json' into 'master'
feat(debugging): move gdbinit generation to CMake

Closes IDF-11489

See merge request espressif/esp-idf!34779
2024-11-20 14:30:40 +08:00
Erhan Kurubas
f3790a01cc Merge branch 'sysview_update_356' into 'master'
feat(sysview): update to version 3.56

Closes IDF-8232 and IDF-11088

See merge request espressif/esp-idf!33236
2024-11-19 18:34:27 +08:00
Alexey Lapshin
48a49c8154 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-11-19 16:41:38 +07:00
Peter Dragun
6495a8318d Merge branch 'monitor_multi_elf' into 'master'
feat(monitor): Add support for decoding output based on multiple ELF files

Closes IDF-11026

See merge request espressif/esp-idf!34858
2024-11-19 17:18:35 +08:00
David Cermak
4449c8bfa2 fix(lwip): Remove unused LWIP flags from test configs 2024-11-18 23:06:17 +08:00
Tomas Rezucha
66596b7f59 feat(hints/usb): Add a hint about too small control transfer size 2024-11-18 21:03:30 +08:00
Peter Dragun
28dcb9a889 feat(monitor): Add support for decoding output based on multiple ELF files 2024-11-18 12:35:45 +01:00
Frantisek Hrbata
cf3802a0ac fix(test_apps): do not check line endings in dut.expect
The default newlib read/write syscalls automatically convert newline
endings from LF to CRLF on stdout. Therefore, the test should not
specifically check for LF in the expected output, as the standard
conversion for stdout is CRLF. While it is possible to change the
expected line ending in the test from LF to CRLF, it seems more
dependable to just avoid verifying line endings entirely.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-18 15:42:29 +08:00
Anton Maklakov
16469297b4 Merge branch 'feature/update-gdb-to-15.2_20241112' into 'master'
feat(tools): update gdb version to 15.2_20241112

Closes IDF-11325

See merge request espressif/esp-idf!34859
2024-11-15 22:17:20 +08:00
Radek Tandler
8255ba29a6 Merge branch 'feature/storage_nvs_bootloader' into 'master'
feat(storage/nvs): NVS bootloader support

See merge request espressif/esp-idf!31753
2024-11-15 00:12:18 +08:00
radek.tandler
c445ec134b feat(nvs_flash): Implemented basic nvs_flash support for bootloader 2024-11-14 11:56:45 +01:00
C.S.M
38b737511c Merge branch 'feat/tsens_support_c61' into 'master'
feat(temperature_sensor): Add temperature sensor support on esp32c61

Closes IDF-9322

See merge request espressif/esp-idf!34326
2024-11-14 17:51:36 +08:00
Gao Xu
bbcfb35d67 Merge branch 'feat/h21_introduce_step1_target' into 'master'
feat(esp32h21): introduce target esp32h21 (stage 1/8) 😐

See merge request espressif/esp-idf!34542
2024-11-14 10:46:44 +08:00
Ivan Grokhotkov
c7f32f80f4
feat(tools): autocomplete @-arguments of idf.py with file names 2024-11-13 11:50:48 +01:00
C.S.M
bff20b5397 feat(temperature_sensor): Add temperature sensor support on esp32c61 2024-11-13 10:52:47 +08:00
Marius Vikhammer
f8ddcee8cd Merge branch 'refactor/cache_err_panic' into 'master'
refactor(panic): refactor and unify cache panic errors

See merge request espressif/esp-idf!34382
2024-11-13 10:19:38 +08:00
Roland Dobai
30b13b132d Merge branch 'update/deprecate_python38' into 'master'
feat: Drop Python 3.8 support

Closes IDF-7579

See merge request espressif/esp-idf!34419
2024-11-13 01:40:58 +08:00
Roland Dobai
5bae0b92ec Merge branch 'fix/import_error_msg' into 'master'
fix(tools): re-raise ImportError without module name

Closes IDF-11648

See merge request espressif/esp-idf!34780
2024-11-13 00:07:05 +08:00
Roland Dobai
542a5d280c Merge branch 'contrib/github_pr_14733' into 'master'
fix(cmake): Prevent overwriting of component properties in output file (GitHub PR)

Closes IDFGH-13891

See merge request espressif/esp-idf!34807
2024-11-12 22:48:54 +08:00