745 Commits

Author SHA1 Message Date
gaoxu
25731d0c1e feat(esp32h21): finnal introduce hello world support 2024-12-30 20:14:40 +08:00
Alexey Lapshin
7f80baa1f6 Merge branch 'feature/esp32c5-esp32c61_enable-panic-tests' into 'master'
feat(panic): support HWSG for esp32c5, esp32c61 and enable testing

Closes IDF-8662 and IDF-9269

See merge request espressif/esp-idf!35816
2024-12-27 19:34:25 +08:00
Alexey Lapshin
b58c9a4219 feat(panic): support HWSG for esp32c5, esp32c61 and enable testing 2024-12-26 12:45:17 +07:00
Jiang Jiang Jian
00db325091 Merge branch 'ci/add_build_test_eco_versions' into 'master'
ci: add build test for eco versions

See merge request espressif/esp-idf!35787
2024-12-21 11:39:49 +08:00
Chen Yudong
8c49748b46 ci: add build test for eco versions 2024-12-19 20:54:16 +08:00
Alexey Lapshin
36e65097cd feat(gdbstub): add riscv xesppie extension support 2024-12-19 14:07:04 +07:00
Erhan Kurubas
a7d5fb698f Merge branch 'fix/coredump-gcc-analyzer-warnings' into 'master'
fix(system): fix GCC-14 analyzer warnings for coredump

Closes GCC-14

See merge request espressif/esp-idf!34809
2024-12-09 21:35:44 +08:00
Rocha Euripedes
9cd94cfe15 Merge branch 'mqtt_test_adjust' into 'master'
Improve mqtt publish connect tests

See merge request espressif/esp-idf!34889
2024-12-05 22:06:02 +08:00
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
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
Erhan Kurubas
62d59751c0 change(tools): enhance expect_reg_dump to support any or specific core values 2024-12-04 18:43:30 +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
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
888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +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
Armando
af6e15cca3 ci(ram_app): use uart0 config 2024-11-26 14:19:50 +08: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
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
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
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
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
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
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
gaoxu
64bbb53b8f feat(esp32h21): introduce target esp32h21(stage 1) 2024-11-12 15:42:27 +08:00
Fu Hanxi
5a3f53a2b5
ci: print esp-coredump output when failed in panic tests 2024-11-08 11:13:43 +01:00
Marius Vikhammer
9c5dde5536 refactor(panic): refactor and unify cache panic errors 2024-11-07 11:39:40 +08:00
Mahavir Jain
765fe330ea
test: add configurable mmu page size test app
Test app to ensure that bootloader and application built with
different flash MMU page size are compatible. This is for the
SoCs that support configurable flash MMU page size.
2024-11-05 20:37:31 +05:30
nilesh.kale
854101959d feat: enable security related testcases for c5 and c61 2024-10-21 14:24:36 +05:30
Tomas Rohlinek
fe51222a02 Merge branch 'feat/simplify_storage_examples' into 'master'
feat(storage/fatfs): update fatfs examples

Closes IDF-5705

See merge request espressif/esp-idf!31174
2024-10-18 15:28:44 +08:00
Armando (Dou Yiwen)
93de26537c Merge branch 'fix/sanitizer_issue' into 'master'
flash: flash ops sanitizer

Closes IDF-9954

See merge request espressif/esp-idf!33859
2024-10-14 10:36:43 +08:00
Tomáš Rohlínek
84ba1a323c fix(storage/fatfs): move test app to correct directory 2024-10-10 16:41:58 +08:00
morris
1b7977194a Merge branch 'refactor/move_freertos_related_kconfig_and_test_to_freertos' into 'master'
refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY

See merge request espressif/esp-idf!32884
2024-10-10 13:24:58 +08:00
Armando
e9bd3c01f0 change(flash): flash ops sanitizer 2024-10-09 15:37:50 +08:00
Konstantin Kondrashov
6cad62594a Merge branch 'feature/adds_new_part_types_subtypes' into 'master'
feat(partitions): Adds new partition types and subtypes for bootloader and partition_table

See merge request espressif/esp-idf!33792
2024-10-09 15:32:34 +08:00
C.S.M
38c36b9d22 Merge branch 'feat/i2c_sleep_retention' into 'master'
feat(i2c): Support i2c sleep retention on esp32c5/p4/c61

Closes IDF-8458

See merge request espressif/esp-idf!33738
2024-10-09 15:08:08 +08:00
morris
aebf700919 refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos 2024-10-09 13:32:03 +08:00
C.S.M
3f061bd557 feat(i2c_master): Support i2c sleep retention on esp32c5/p4/c61 2024-10-08 15:55:48 +08:00
Erhan Kurubas
6d9905a90c feat(esp-coredump): enable esp32c61 tests 2024-10-04 06:58:03 +02:00
Konstantin Kondrashov
d5f37b526d feat(partitions): Adds new partition types and subtypes for bootloader and partition_table 2024-10-01 14:22:22 +03:00
Erhan Kurubas
13c8c2f121 test(esp-coredump): add test for the soft sha config 2024-09-26 13:04:39 +02:00
Chen Ji Chang
3a6a6ecedc Merge branch 'fix/fix_macro_in_memory_ld' into 'master'
fix(psram): fix macro in memory.ld

Closes IDFCI-2382 and IDF-11133

See merge request espressif/esp-idf!33583
2024-09-23 14:07:36 +08:00
Alexey Lapshin
05c1a0cd7b fix(test): reduce gdb_loadable_elf binary size 2024-09-21 17:13:12 +07:00