Skip to content

Commit 4d1ad09

Browse files
committed
Unbreak building firmwares with no framework (baremetal)
1 parent 651837d commit 4d1ad09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def new_check_size(target, source, env):
349349
)
350350
)
351351

352-
is_arduino_pico_build = env.BoardConfig().get("build.core", "arduino") == "earlephilhower" and "arduino" in env.get("PIOFRAMEWORK")
352+
is_arduino_pico_build = env.BoardConfig().get("build.core", "arduino") == "earlephilhower" and "arduino" in env.get("PIOFRAMEWORK", [])
353353
if is_arduino_pico_build:
354354
pubkey = join(env.subst("$PROJECT_SRC_DIR"), "public.key")
355355
if isfile(pubkey):

0 commit comments

Comments
 (0)