mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
dist/tools/insufficient_memory: add RISC-V failure mode
On RISC-V a RAM overlow is reported as: /opt/xpack-riscv-none-elf-gcc-13.2.0-2/bin/../lib/gcc/riscv-none-elf/13.2.0/../../../../riscv-none-elf/bin/ld: section .stack VMA [80003f00,80003fff] overlaps section .bss VMA [800000a8,80003fb7] This extends the list of patters detecting RAM overflow. Co-authored-by: benpicco <benpicco@googlemail.com>
This commit is contained in:
parent
270aa7012f
commit
3718f48bc2
@ -56,6 +56,7 @@ for BOARD in $(EXTERNAL_BOARD_DIRS="" make --no-print-directory info-boards-sup
|
||||
if grep -e overflowed \
|
||||
-e "not within region" \
|
||||
-e "wraps around address space" \
|
||||
-e "overlaps section" \
|
||||
"$TMPFILE" > /dev/null; then
|
||||
printf "${CBIG}%s${CRESET}\n" "too big"
|
||||
BOARDS="${BOARDS} ${BOARD}"
|
||||
|
@ -64,6 +64,7 @@ for application in ${APPLICATIONS}; do
|
||||
if grep -e overflowed \
|
||||
-e "not within region" \
|
||||
-e "wraps around address space" \
|
||||
-e "overlaps section" \
|
||||
"$TMPFILE" > /dev/null; then
|
||||
printf "${CBIG}%s${CRESET}\n" "too big"
|
||||
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${RIOTBASE}/${application}" ADD_BOARDS="${BOARD}" Makefile.ci > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user