File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 176
176
ASFLAGS = env .get ("CCFLAGS" , [])[:]
177
177
)
178
178
179
-
180
- if (isfile (
179
+ if isfile (
181
180
join (
182
181
platform .get_package_dir ("tool-teensy" ) or "" ,
183
- "teensy_loader_cli" )) and
184
- env .BoardConfig ().id_ not in ("teensy35" , "teensy36" )):
182
+ "teensy_loader_cli" )):
185
183
env .Append (
186
184
UPLOADER = "teensy_loader_cli" ,
187
185
UPLOADERFLAGS = [
196
194
REBOOTER = "teensy_reboot" ,
197
195
UPLOADER = "teensy_post_compile" ,
198
196
UPLOADERFLAGS = [
199
- "-file=firmware" ,
200
- '-path="$BUILD_DIR"' ,
197
+ "-file=firmware" , '-path="$BUILD_DIR"' ,
201
198
'-tools="%s"' % (platform .get_package_dir ("tool-teensy" ) or "" )
202
199
],
203
- UPLOADHEXCMD = '$UPLOADER $UPLOADERFLAGS'
204
- )
200
+ UPLOADHEXCMD = '$UPLOADER $UPLOADERFLAGS' )
205
201
206
202
#
207
203
# Target: Build executable and linkable firmware
215
211
target_firm = env .ElfToHex (join ("$BUILD_DIR" , "firmware" ), target_elf )
216
212
217
213
AlwaysBuild (env .Alias ("nobuild" , target_firm ))
218
- target_buildprog = env .Alias ("buildprog" , target_firm )
214
+ target_buildprog = env .Alias ("buildprog" , target_firm , target_firm )
219
215
220
216
#
221
217
# Target: Print binary size
Original file line number Diff line number Diff line change 13
13
"type" : " git" ,
14
14
"url" : " https://github.com/platformio/platform-teensy.git"
15
15
},
16
- "version" : " 1.2.1 " ,
16
+ "version" : " 1.2.2 " ,
17
17
"packageRepositories" : [
18
18
" https://dl.bintray.com/platformio/dl-packages/manifest.json" ,
19
19
" https://sourceforge.net/projects/platformio-storage/files/packages/manifest.json/download" ,
53
53
"tool-teensy" : {
54
54
"type" : " uploader" ,
55
55
"optional" : true ,
56
- "version" : " >=1.1 .0"
56
+ "version" : " ~1.3 .0"
57
57
}
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments