6328 Commits

Author SHA1 Message Date
Euripedes Rocha
589c800634 change: Makes topic in mqtt publish test unique for case
- Makes each case to subscribe/publish to unique topics
- Makes test to wait for the successful subscription on the runner
2024-12-05 13:58:40 +01:00
Erhan Kurubas
a2f420a36e Merge branch 'fix/test_idf_gdb' into 'master'
test(system): mark gdb test runners properly

See merge request espressif/esp-idf!35413
2024-12-05 17:39:54 +08:00
morris
0d7e589a71 Merge branch 'change/deprecate_gpspi_old_name' into 'master'
spi: don't use sdkconfig.h in hal driver

See merge request espressif/esp-idf!35361
2024-12-05 11:31:47 +08:00
Erhan Kurubas
d195bc67cf change(cmake): use board configuration file for ftdi interface 2024-12-04 22:10:25 +01:00
Erhan Kurubas
d3ffbcb8a5 test(system): mark gdb test runners properly 2024-12-04 22:10:25 +01:00
Fu Hanxi
eea2fdf9a9 ci(target-test): support timeout 4h markers 2024-12-04 15:51:11 +01:00
Euripedes Rocha
72fbf37648 change: Improve mqtt publish connect tests
- Add random client id on each iteration
- Make timeout configuration dependent on more scenario parameters
2024-12-04 15:50:58 +01:00
Euripedes Rocha
881bd1bf66 fix(mqtt): Corrects mqtt test apps dependencies
Test app build rules were missing the mqtt component as a dependency.
2024-12-04 15:46:05 +01:00
Rocha Euripedes
11902d1a6f Merge branch 'feat/mqtt_test_local_broker' into 'master'
feat(mqtt): Add publish stress test with local broker

See merge request espressif/esp-idf!33535
2024-12-04 21:47:11 +08:00
morris
1316d7b741 refactor(spi): hal driver doesn't depend on sdkconfig.h 2024-12-04 19:10:57 +08:00
Erhan Kurubas
62d59751c0 change(tools): enhance expect_reg_dump to support any or specific core values 2024-12-04 18:43:30 +08:00
Ivan Grokhotkov
37652904b4 Merge branch 'feature/std_filesystem_supported' into 'master'
storage: make std::filesystem supported

Closes IDFGH-13239, IDFGH-13431, and IDFGH-12755

See merge request espressif/esp-idf!33826
2024-12-04 18:18:54 +08:00
C.S.M
2b1c27feb4 Merge branch 'feat/custom_flash_component' into 'master'
feature(spi_flash): New customized flash drivers framework, including bootloader📡

Closes IDFGH-8624

See merge request espressif/esp-idf!32774
2024-12-04 18:05:58 +08:00
David Cermak
dd178016b2 feat(mqtt): Add publish stress test with local broker 2024-12-04 17:57:20 +08:00
Ivan Grokhotkov
2ca6d2d4b4
feat(storage): add a test app for std::filesystem features 2024-12-03 15:32:58 +01:00
Mahavir Jain
5462240135 Merge branch 'fix/mfg_gen_encrypted_keys_prefix' into 'master'
feat(mfg_gen): provision for specifying prefix counter for encrypted key files

See merge request espressif/esp-idf!35124
2024-12-03 17:39:21 +08:00
Alexey Lapshin
244c369cd8 fix(xtensa): fix confusing backtrace when PC is invalid
Before this change _invalid_pc_placeholder pointed to address of _init
function from crti.o
This made GDB input a bit confusing:

  0x40080400 in _init ()
  (gdb) bt
  #0  0x40080400 in _init ()
  #1  0x400e519a in test_instr_fetch_prohibited () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_panic.c:271
  #2  0x400d89a7 in app_main () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_app_main.c:116
  #3  0x400e5f22 in main_task (args=0x0) at /home/alex/git/esp-idf/components/freertos/app_startup.c:208
  #4  0x400895a8 in vPortTaskWrapper (pxCode=0x400e5eb0 <main_task>, pvParameters=0x0) at /home/alex/git/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139

After the change GDB prints output that contains a hint:

  _invalid_pc_placeholder () at /home/alex/git/esp-idf/components/xtensa/xtensa_vectors.S:2235
  2235	    UNREACHABLE_INSTRUCTION_CHECK_PREVIOUS_FRAMES
  (gdb) bt
  #0  _invalid_pc_placeholder () at /home/alex/git/esp-idf/components/xtensa/xtensa_vectors.S:2235
  #1  0x400e519e in test_instr_fetch_prohibited () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_panic.c:271
  #2  0x400d89ab in app_main () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_app_main.c:116
  #3  0x400e5f26 in main_task (args=0x0) at /home/alex/git/esp-idf/components/freertos/app_startup.c:208
  #4  0x400895a8 in vPortTaskWrapper (pxCode=0x400e5eb4 <main_task>, pvParameters=0x0) at /home/alex/git/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139
2024-12-02 21:36:00 +07:00
Alexey Lapshin
6d945bf0f6 fix(ldgen): extend section name regex to include '_' (e.g.: used by picolibc) 2024-12-02 21:36:00 +07:00
Alexey Lapshin
888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +07:00
Alexey Lapshin
22a38779fb fix(wpa_supplicant): remove duplicated code (endian.h) that exists in newlib component 2024-12-02 20:26:26 +07:00
Alexey Lapshin
bfe3511493 fix(panic): fix HWSG testcase to avoid freertos watchpoint trap 2024-12-02 20:26:26 +07:00
Alexey Lapshin
1596369b44 fix(tools): fix ld_non_contiguous_memory test includes 2024-12-02 20:26:26 +07:00
C.S.M
190732c461 feat(spi_flash): refactor customize spi flash example for overriding more contents 2024-12-02 17:49:54 +08:00
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