sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 38 forks source link

Platform.txt Missing Quotes on MacOS Causes Upload Failure #476

Closed DigiMaxIO closed 5 months ago

DigiMaxIO commented 1 year ago

If your MacOS hard drive has spaces in its name, then it will fail to upload to any board.

In the Platform.txt file, these lines: tools.svl.pgm.macosx={runtime.platform.path}/tools/uploaders/svl/dist/macosx/svl tools.asb.pgm.macosx={runtime.platform.path}/tools/uploaders/asb/dist/macosx/asb

Should instead be: tools.svl.pgm.macosx="{runtime.platform.path}/tools/uploaders/svl/dist/macosx/svl" tools.asb.pgm.macosx="{runtime.platform.path}/tools/uploaders/asb/dist/macosx/asb"

Which prevents the space from confusing the terminal command. It is like this on all versions of this core and should be fixed.