We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfaf979 commit 6c32917Copy full SHA for 6c32917
builder/main.py
@@ -136,13 +136,19 @@
136
else:
137
encrypt_message = "Encrypting $TARGET with default key"
138
139
+ # Choose the correct board name for teensy_secure
140
+ if board_config.id == "teensymm":
141
+ board_name = "TEENSY_MICROMOD"
142
+ else:
143
+ board_name = board_config.id.upper()
144
+
145
env.Append(
146
BUILDERS=dict(
147
HexToEhex=Builder(
148
action=env.VerboseAction(" ".join([
149
"$TEENSYSECURE",
150
"encrypthex",
- board_config.id.upper(),
151
+ board_name,
152
"$SOURCES",
153
custom_secure_key
154
]), encrypt_message),
0 commit comments