Skip to content

Commit b351b55

Browse files
committed
[CI] Fix build failed management
Since arduino-cli v0.11.0 '-o' options has been removed. The script does not handle properly this case which raised a command usage error. Error: unknown shorthand flag: 'o' in -o Usage: arduino-cli compile [flags] So this fix allows to properly handle it. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent b12a554 commit b351b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI/build/arduino-cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def check_status(status, build_conf, boardKo):
491491
# Check if failed due to a region overflowed
492492
logFile = os.path.join(build_conf[3], sketch_name + ".log")
493493
# error or fatal error
494-
error_pattern = re.compile(r":\d+:\d+:\s.*error:\s")
494+
error_pattern = re.compile(r":\d+:\d+:\s.*error:\s|^Error:")
495495
ld_pattern = re.compile("arm-none-eabi/bin/ld:")
496496
overflow_pattern = re.compile(
497497
r"(will not fit in |section .+ is not within )?region( .+ overflowed by [\d]+ bytes)?"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy