Tweaks to build scripts

This commit is contained in:
Scott Lahteine
2021-02-27 22:38:57 -06:00
parent 54ccfcc705
commit 903d0b91fc
28 changed files with 77 additions and 37 deletions

View File

@ -8,9 +8,7 @@ from __future__ import print_function
target_filename = "FIRMWARE.CUR"
target_drive = "REARM"
import os
import getpass
import platform
import os,getpass,platform
current_OS = platform.system()
Import("env")
@ -33,9 +31,8 @@ try:
#
# platformio.ini will accept this for a Windows upload port designation: 'upload_port = L:'
# Windows - doesn't care about the disk's name, only cares about the drive letter
import subprocess
import subprocess,string
from ctypes import windll
import string
# getting list of drives
# https://stackoverflow.com/questions/827371/is-there-a-way-to-list-all-the-available-drive-letters-in-python

View File

@ -16,7 +16,7 @@
# location: <https://www.gnu.org/licenses/>.
from __future__ import print_function
import argparse, re, sys
import argparse,re,sys
usage = '''
This program extracts line segments from a SVG file and writes