Alexey Lapshin
2f8f397d6b
fix(test): reduce gdb_loadable_elf binary size
2024-10-10 10:12:31 +08:00
Alexey Lapshin
40d7068a95
fix(build): fix orphan sections warning kconfig variable
2024-10-01 12:18:56 +07:00
Alexey Lapshin
9d3cdebddb
fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file
2024-09-25 15:34:50 +07:00
Alexey Lapshin
13ec7d2b24
fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list
2024-09-06 18:27:09 +07:00
Alexey Lapshin
86484c14e6
fix(newlib): fix include sys/dirent.h breaking change
2024-08-01 20:08:23 +07:00
Alexey Lapshin
6a9e8278a1
feat(examples): upgrade esp_cam_sensor component for isp/auto_focus
2024-07-25 09:34:22 +08:00
Alexey Lapshin
b07a1470c5
feat(tools): update toolchain version to esp-13.2.0_20240530
2024-06-04 18:35:17 +04:00
Alexey Lapshin
89218b35e4
fix(system): place idf's stray sections while linking
2024-05-20 13:31:04 +04:00
Alexey Lapshin
9fd92e8bf4
fix(cxx): use __cxa_throw() stub in case exceptions disabled
...
Reduces binary size since the linker will drop some code due to --gc-sections.
2024-05-07 08:52:36 +04:00
Alexey Lapshin
d42e894a74
fix(system): discard eh_frame sections if disabled in sdkconfig
2024-05-07 08:52:36 +04:00
Alexey Lapshin
64a1ed07d9
Merge branch 'fix/fix_load_store_failure_mepc' into 'master'
...
fix(system): esp32p4: fix mepc when load/store failure occurred
See merge request espressif/esp-idf!30252
2024-04-19 03:37:45 +08:00
Alexey Lapshin
6f2de1fb23
fix(system): esp32p4: fix mepc when load/store failure occurred
2024-04-18 19:49:19 +04:00
Alexey Lapshin
c01a842a84
Merge branch 'feature/update-gdb-to-14.2_20240403' into 'master'
...
feat(tools): update gdb version to 14.2_20240403
See merge request espressif/esp-idf!30037
2024-04-16 20:24:21 +08:00
Alexey Lapshin
851216b1a4
feat(tools): update gdb version to 14.2_20240403
2024-04-16 16:17:28 +08:00
Alexey Lapshin
5a40bb8746
Merge branch 'feature/update-esp32ulp-elf-to-2.38_20240113' into 'master'
...
feat(tools): update esp32ulp-elf version to 2.38_20240113
See merge request espressif/esp-idf!28451
2024-04-06 03:23:43 +08:00
Alexey Lapshin
4879bac36c
feat(ulp): use --mcpu=esp32s3 for esp32s3
2024-04-04 16:12:39 +08:00
Alexey Lapshin
68464aad11
feat(tools): update esp32ulp-elf version to 2.38_20240113
2024-04-04 16:12:39 +08:00
Alexey Lapshin
bcd753994b
Merge branch 'feature/introduce-esp_rom_libc_stubs_h' into 'master'
...
feat(esp_rom): add esp_rom_libc_stubs.h
See merge request espressif/esp-idf!29769
2024-04-04 03:18:15 +08:00
Alexey Lapshin
9ff7ad2173
feat(esp_rom): add esp_rom_libc_stubs.h
2024-04-03 18:34:44 +04:00
Alexey Lapshin
11eeca6c98
Merge branch 'fix/gcov_fault' into 'master'
...
fix(gcov): fix exceptions on gcov task_tick_hook
Closes IDFGH-12501
See merge request espressif/esp-idf!29962
2024-04-02 20:24:07 +08:00
Alexey Lapshin
26b728a5f8
fix(gcov): fix exceptions on gcov task_tick_hook
...
Closes https://github.com/espressif/esp-idf/issues/13511
2024-04-01 13:06:21 +04:00
Alexey Lapshin
0e3673a2bd
Merge branch 'feature/esp32p4-coredump-support' into 'master'
...
esp32p4: panic tests support
Closes IDF-7565, IDF-7861, IDF-9035, and IDF-9075
See merge request espressif/esp-idf!28586
2024-03-21 21:12:25 +08:00
Alexey Lapshin
e845d9e0eb
feat(esp_system): allow .data to spill over into L2MEM above 0x4ff40000
...
It may be usefull when .rodata placed into .dram1.data
2024-03-21 15:36:39 +04:00
Alexey Lapshin
cb82161dae
feat(system): esp32p4: support panic tests
2024-03-21 15:36:36 +04:00
Alexey Lapshin
13b55386bf
feat(system): esp32p4: support hw stack guard
2024-03-21 14:30:21 +04:00
Alexey Lapshin
00b55a654c
Merge branch 'feature/cleanup-linker-scripts' into 'master'
...
feat(system): refactor linker scripts
See merge request espressif/esp-idf!29515
2024-03-20 02:25:11 +08:00
Alexey Lapshin
40be44f827
feat(system): refactor linker scripts
...
- move .tbss to NOLOAD section
- remove xtensa-specific entities from riscv scripts
- explicit eh_frame terminator instead of "align magic"
- 80 characters line length limit
- refactor comments
- discard .rela sections (the rela data will go to relates sections)
2024-03-19 13:27:11 +04:00
Alexey Lapshin
994b4ed459
Merge branch 'feature/update-toolchain-to-esp-13.2.0_20240305' into 'master'
...
feat(tools): update toolchain version to esp-13.2.0_20240305
Closes IDFGH-2549
See merge request espressif/esp-idf!29430
2024-03-18 16:58:39 +08:00
Alexey Lapshin
31a951268a
feat(newlib): get rid of dirent.h in favor of toolchain
2024-03-15 12:36:00 +04:00
Alexey Lapshin
4ac07fc575
feat(cxx): get rid of _Unwind_SetEnableExceptionFdeSorting
2024-03-15 12:36:00 +04:00
Alexey Lapshin
4f09fba127
fix(newlib): fix esp32/esp32s3 atomics on PSRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2024-03-15 12:36:00 +04:00
Alexey Lapshin
174e9f582b
feat(tools): update toolchain version to esp-13.2.0_20240305
2024-03-15 12:35:09 +04:00
Alexey Lapshin
27085260c8
Merge branch 'fix/gdbstub_psram_for_esp32p4' into 'master'
...
feat(gdbstub): fix access to PSRAM for esp32p4
See merge request espressif/esp-idf!29586
2024-03-13 04:36:24 +08:00
Alexey Lapshin
18e0fe7842
feat(gdbstub): fix access to PSRAM for esp32p4
2024-03-12 18:10:32 +04:00
Alexey Lapshin
3359694717
Merge branch 'update/rom-elfs-to-20240305' into 'master'
...
feat(tools): update esp-rom-elf to version 20240305
See merge request espressif/esp-idf!29428
2024-03-06 18:01:06 +08:00
Alexey Lapshin
044f667a9b
feat(tools): update esp-rom-elf to version 20240305
2024-03-05 19:32:53 +04:00
Alexey Lapshin
fdb7a43752
Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
...
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4
See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Alexey Lapshin
97702b3579
Merge branch 'fix/xtensa-memset-memcpy_inlining' into 'master'
...
fix(tools): do not use builtin memcpy/memset/strcpy on xtensa chips
Closes IDFGH-12173
See merge request espressif/esp-idf!29232
2024-02-29 07:39:13 +08:00
Alexey Lapshin
824c8e0593
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
...
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:
- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data
If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):
.dram0.bss (NOLOAD) :
{
arrays[dram0_bss]
mapping[dram0_bss]
} > sram_low
.dram1.bss (NOLOAD) :
{
/* do not place here arrays[dram0_bss] because it may be splited
* between segments */
mapping[dram0_bss]
} > sram_high
2024-02-28 19:41:25 +04:00
Alexey Lapshin
04b73368e5
fix(tools): do not use builtin memcpy/memset/strcpy on xtensa chips
...
Closes https://github.com/espressif/esp-idf/issues/13228
2024-02-27 02:09:54 +08:00
Alexey Lapshin
5eb058ea0f
Merge branch 'ci/fix_p4_build_failures' into 'master'
...
ci: fix ESP32-P4 build failures in CI
See merge request espressif/esp-idf!29249
2024-02-27 02:09:08 +08:00
Alexey Lapshin
2a9813e19c
Merge branch 'fix/esp32p4-cpu-stall' into 'master'
...
fix(hw_support): fix esp32p4 cpu stall/unstall
See merge request espressif/esp-idf!28426
2024-01-16 00:50:45 +08:00
Alexey Lapshin
ac2705b60a
fix(hw_support): fix esp32p4 cpu stall/unstall
2024-01-15 23:25:07 +08:00
Alexey Lapshin
0ce3de700b
Merge branch 'feature/tools_fix_arm64_arm32_detection' into 'master'
...
fix(idf_tools): Fix platform detection - arm64 hardware but it's running in arm32 environment
See merge request espressif/esp-idf!27987
2024-01-12 23:07:16 +08:00
Alexey Lapshin
3ac31855b2
Merge branch 'contrib/github_pr_12683' into 'master'
...
fix(tools): fix path delimiter in gdbinit for Windows
Closes IDFGH-11562
See merge request espressif/esp-idf!27485
2023-11-30 04:57:07 +08:00
Alexey Lapshin
d501c67458
Merge branch 'feature/update-gdb-to-12.1_20231023' into 'master'
...
feat(tools): update gdb version to 12.1_20231023
Closes GCC-311 and GCC-334
See merge request espressif/esp-idf!26646
2023-11-10 22:51:17 +08:00
Alexey Lapshin
fc7ac87b61
feat(tools): update gdb version to 12.1_20231023
2023-11-10 06:37:33 +00:00
Alexey Lapshin
2eb5123403
Merge branch 'feature/add-newlib-sbom' into 'master'
...
feat(newlib): Add sbom manifest file
Closes IDF-8221
See merge request espressif/esp-idf!26418
2023-10-16 16:36:19 +08:00
Alexey Lapshin
b41b175a59
feat(newlib): Add sbom manifest file
2023-10-13 19:15:03 +04:00
Alexey Lapshin
2585e53d54
Merge branch 'feature/update-toolchain-to-esp-13.1.0_new_newlib' into 'master'
...
Update toolchain to esp-13.2.0_20230919
Closes GCC-250, GCC-322, GCC-324, GCC-327, GCC-330, and IDF-8287
See merge request espressif/esp-idf!25073
2023-10-10 08:18:33 +08:00
Alexey Lapshin
7f4de13644
fix(perfmon): fix test_app false-positive memory leak detection
2023-10-09 12:13:02 +04:00
Alexey Lapshin
47a902c813
fix(build_system): disable shrink-wrapping in Og builds to reduce binary size
2023-10-09 12:13:02 +04:00
Alexey Lapshin
33d9fd629d
fix(xtensa): fix registers curruption on context switch
...
a6, a7 registers may be corrupted on multicore ESP chips while FreeRTOS
Kernel SMP context switch
2023-10-09 12:13:02 +04:00
Alexey Lapshin
e381041a52
change(app_trace): decrease leaks in test to save ci time
2023-10-09 12:13:02 +04:00
Alexey Lapshin
73742dcdaa
fix(console): fix linenoise flushing in dumb mode
2023-10-09 12:13:02 +04:00
Alexey Lapshin
9dcc9a73f6
fix(esp_rom): fix libc_stubs.h includes
2023-10-09 12:13:02 +04:00
Alexey Lapshin
932040e08c
fix(newlib): fix esp32-spiram-rom-functions entries name
2023-10-09 12:13:02 +04:00
Alexey Lapshin
fdc6d0d813
change(newlib): use GCC builtin subword atomics
2023-10-09 12:13:02 +04:00
Alexey Lapshin
a43c509d4b
change(newlib): update newlib according to new internal structures
2023-10-09 12:13:02 +04:00
Alexey Lapshin
c94d443a1b
feat(newlib): add iterator into test output
2023-10-09 12:13:02 +04:00
Alexey Lapshin
6f9901817f
fix(app_trace): fix sysview_tracing_heap_log test
2023-10-09 12:13:02 +04:00
Alexey Lapshin
0172df94ac
fix(app_trace): fix gcov for gcc 13.1.0
2023-10-09 12:13:02 +04:00
Alexey Lapshin
8bbcc224dd
fix(espcoredump): fix gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Alexey Lapshin
6a94453a18
fix(bt): fix gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Alexey Lapshin
76dfcac597
fix(esp_system): fix gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Alexey Lapshin
295f9cdd56
fix(esp_system): add no_sanitize_undefined for init functions
...
Something wrong with -Og optimization. It started to fail without
reason.
2023-10-09 12:13:02 +04:00
Alexey Lapshin
5c41edb863
fix(tools): fix panic test gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Alexey Lapshin
a41e3d408f
fix(wpa_supplicant): fix sys/types include
2023-10-09 12:13:02 +04:00
Alexey Lapshin
71713bcdb5
fix(mbedtls): fix gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Alexey Lapshin
98199d50d6
change(tools): update gcc toolchain version to 13.2.0
...
Add Kconfig option to supress new gcc warnings
Update docs with migration guide
2023-10-09 12:13:00 +04:00
Alexey Lapshin
ce7848acb3
Merge branch 'fix/gdbstub-getting-freertos-tbc-pointer' into 'master'
...
fix(gdbstub): fix getting FreeRTOS TCB pointer
Closes IDFCI-1807
See merge request espressif/esp-idf!26079
2023-09-21 17:14:38 +08:00
Alexey Lapshin
e74193f405
fix(gdbstub): fix getting FreeRTOS TCB pointer
2023-09-20 15:28:34 +04:00
Alexey Lapshin
23c89cdab3
Merge branch 'fix/skip-test-gdbstub-runtime-xtensa-stepping-bug' into 'master'
...
fix(gdbstub): skip xtensa_stepping_bug testcase until fixed
Closes IDFCI-1777
See merge request espressif/esp-idf!25207
2023-08-04 15:22:54 +08:00
Alexey Lapshin
16f34704cb
fix(gdbstub): skip xtensa_stepping_bug testcase until fixed
2023-08-04 07:41:21 +04:00
Alexey Lapshin
a120ea823e
Merge branch 'contrib/github_pr_11569' into 'master'
...
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)
Closes IDF-7846 and IDFGH-10309
See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00
Alexey Lapshin
47e400c296
feature(gdbstub): Move runtime gdbstub out of panic config
...
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Alexey Lapshin
5f07ed87f6
Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'
...
fix(freertos): enable esp32c2 runtime-gdbstub
See merge request espressif/esp-idf!24858
2023-07-28 15:41:07 +08:00
Alexey Lapshin
99ac68246e
fix(freertos): enable esp32c2 runtime-gdbstub
2023-07-18 12:15:33 +04:00
Alexey Lapshin
e270427367
Merge branch 'feature/hw_stack_guard_for_riscv' into 'master'
...
esp_system: implement hw stack guard for riscv chips
Closes IDF-7124 and IDF-3839
See merge request espressif/esp-idf!23808
2023-07-03 20:17:09 +08:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Alexey Lapshin
f92908ceb1
Merge branch 'fix/segger_sysview_build' into 'master'
...
fix(app_trace): Fix SystemView build
Closes IDF-7661
See merge request espressif/esp-idf!24430
2023-06-30 01:12:07 +08:00
Alexey Lapshin
ef699e70ad
fix(app_trace): Fix SystemView build
2023-06-28 18:28:36 +04:00
Alexey Lapshin
07c7fe929b
tools: process progression for flash action output
2023-06-12 13:56:59 +04:00
Alexey Lapshin
072b70bed9
Merge branch 'fix/hints-print-control-characters' into 'master'
...
tools: fix control characters print if hints enabled
Closes IDFGH-10075
See merge request espressif/esp-idf!23872
2023-05-23 14:19:16 +08:00
Alexey Lapshin
59206e39a0
tools: fix control characters print if hints enabled
...
Closes https://github.com/espressif/esp-idf/issues/11351
2023-05-22 20:18:02 +08:00
Alexey Lapshin
a77f723962
Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
...
esp_gdbstub: implement runtime gdbstub for riscv
Closes IDF-5621
See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
Alexey Lapshin
af1334782c
esp_gdbstub: fix bp and wp numbers
2023-05-19 20:15:58 +08:00
Alexey Lapshin
71cd5cb2a1
esp_gdbstub: fix build for USB serial/jtag protocol
2023-05-19 20:15:58 +08:00
Alexey Lapshin
9220eea4e4
test: gdbstub_runtime: initial commit
2023-05-19 20:15:58 +08:00
Alexey Lapshin
96768d7596
test: panic: use gdb-no-python to have ability to send signals
2023-05-19 20:15:58 +08:00
Alexey Lapshin
6a54c25823
esp_gdbstub: add tests for riscv jump instructions decoding
2023-05-19 20:15:58 +08:00
Alexey Lapshin
9322c2b82d
esp_gdbstup: implement runtime gdbstub for riscv
2023-05-19 20:15:58 +08:00
Alexey Lapshin
36588c4b35
riscv: remove outdated macros
2023-05-19 20:15:58 +08:00
Alexey Lapshin
a89b799642
riscv: fix trigger add from trap handlers
2023-05-19 20:15:58 +08:00
Alexey Lapshin
d41d12fe7a
riscv: fix & refactor triggers add/delete
2023-05-19 20:15:58 +08:00
Alexey Lapshin
2327c5cd00
Merge branch 'feature/remove_coredump_tests' into 'master'
...
coredump: remove tests (moved to esp-coredump repo)
See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
Alexey Lapshin
0b078f5cd3
coredump: remove tests (moved to esp-coredump repo)
2023-05-11 12:13:52 +08:00
Alexey Lapshin
e634137a03
Merge branch 'feature/libstd++-use-posix-pthread' into 'master'
...
tools: enable libstd++ to use idf posix-semaphores
Closes GCC-305 and IDFGH-9209
See merge request espressif/esp-idf!23588
2023-05-10 20:06:16 +08:00
Alexey Lapshin
f51b55dabb
tools: enable libstd++ to use idf posix-semaphores
...
Closes https://github.com/espressif/esp-idf/issues/10598
2023-05-05 13:37:49 +08:00
Alexey Lapshin
dfcab42a01
pthread: fix restrict keyword usage in function declarations
...
See https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html
2023-05-05 13:35:19 +08:00