We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8a0dba commit fa7787fCopy full SHA for fa7787f
builder/main.py
@@ -129,14 +129,17 @@
129
)
130
131
if build_core == "teensy4":
132
+ # Get the key and default to an empty string
133
+ custom_secure_key = env.GetProjectConfig().get("env:" + env["PIOENV"], "custom_secure_key", "")
134
env.Append(
135
BUILDERS=dict(
136
HexToEhex=Builder(
137
action=env.VerboseAction(" ".join([
138
"$TEENSYSECURE",
139
"encrypthex",
140
board_config.id.upper(),
- "$SOURCES"
141
+ "$SOURCES",
142
+ custom_secure_key
143
]), "Encrypting $TARGET"),
144
suffix=".ehex"
145
0 commit comments