Archim: PIO upload on Windows, Arduino IDE LCD (#17405)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
Ryan
2020-04-11 18:39:02 -07:00
committed by GitHub
parent e4903396d4
commit a97ae51cc7
3 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,18 @@
#
# Set upload_command
#
# Windows: bossac.exe
# Other: leave unchanged
#
import platform
current_OS = platform.system()
if current_OS == 'Windows':
Import("env")
# Use bossac.exe on Windows
env.Replace(
UPLOADCMD="bossac --info --unlock --write --verify --reset --erase -U false --boot"
)

View File

@ -78,10 +78,6 @@
//! To define a Full speed device
//#define USB_DEVICE_FULL_SPEED
#if MB(ARCHIM1)
#define USB_DEVICE_FULL_SPEED
#endif
//! To authorize the High speed
#ifndef USB_DEVICE_FULL_SPEED
#if (UC3A3||UC3A4)