diff --git a/dist/tools/insufficient_memory/add_insufficient_memory_board.sh b/dist/tools/insufficient_memory/add_insufficient_memory_board.sh index 1219e6efcc..ed3ffabd14 100755 --- a/dist/tools/insufficient_memory/add_insufficient_memory_board.sh +++ b/dist/tools/insufficient_memory/add_insufficient_memory_board.sh @@ -58,7 +58,10 @@ for app in ${APPLICATIONS}; do # as this is exactly what we want here # shellcheck disable=SC2086 if ! make BOARD="${BOARD}" ${LOCAL_MAKE_ARGS} -C "${RIOTBASE}/${application}" > "$TMPFILE" 2>&1; then - if grep -e overflowed -e "not within region" "$TMPFILE" > /dev/null; then + if grep -e overflowed \ + -e "not within region" \ + -e "wraps around address space" \ + "$TMPFILE" > /dev/null; then printf "${CBIG}%s${CRESET}\n" "too big" make -f "$(dirname "$0")"/Makefile.for_sh DIR="${RIOTBASE}/${application}" BOARD="${BOARD}" Makefile.ci > /dev/null elif grep -e "not whitelisted" \ diff --git a/dist/tools/insufficient_memory/create_makefile.ci.sh b/dist/tools/insufficient_memory/create_makefile.ci.sh index e20331ba70..4f58861338 100755 --- a/dist/tools/insufficient_memory/create_makefile.ci.sh +++ b/dist/tools/insufficient_memory/create_makefile.ci.sh @@ -53,7 +53,10 @@ for BOARD in $(EXTERNAL_BOARD_DIRS="" make --no-print-directory info-boards-sup # as this is exactly what we want here # shellcheck disable=SC2086 if ! make BOARD="${BOARD}" ${LOCAL_MAKE_ARGS} clean all -C "${APP_DIR}" > "$TMPFILE" 2>&1; then - if grep -e overflowed -e "not within region" "$TMPFILE" > /dev/null; then + if grep -e overflowed \ + -e "not within region" \ + -e "wraps around address space" \ + "$TMPFILE" > /dev/null; then printf "${CBIG}%s${CRESET}\n" "too big" BOARDS="${BOARDS} ${BOARD}" elif grep -e "not whitelisted" \