We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd1c48 commit bb8065eCopy full SHA for bb8065e
builder/main.py
@@ -129,6 +129,11 @@
129
if build_core == "teensy4":
130
# Get the key and default to an empty string
131
custom_secure_key = env.GetProjectConfig().get("env:" + env["PIOENV"], "custom_secure_key", "")
132
+ if custom_secure_key:
133
+ encrypt_message = f"Encrypting $TARGET with key at {custom_secure_key}"
134
+ else:
135
+ encrypt_message = "Encrypting $TARGET with default key"
136
+
137
env.Append(
138
BUILDERS=dict(
139
HexToEhex=Builder(
@@ -138,7 +143,7 @@
143
board_config.id.upper(),
144
"$SOURCES",
140
145
custom_secure_key
141
- ]), "Encrypting $TARGET"),
146
+ ]), encrypt_message),
142
147
suffix=".ehex"
148
)
149
0 commit comments