-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I would like to create a project, and I would like others to be able to use the makefile, etc., as-is but I also want to maintain Visual Teensy support so that the makefiles can be generated.
Currently, it makes some parts of the code like this:
# makefile
# [...]
MCU := imxrt1062
LIBS_SHARED_BASE := C:\Users\Widget\Documents\Arduino\libraries # absolute path to my home directory
LIBS_SHARED :=
# [...]
I think most of the Arduino/Teensyduino files have a "standard" installation that would always put them in the same place on everyone's Windows installs at least.
On Windows, you can use ${UserProfile}
in makefiles to get the equivalent of C:\Users\Widget
, from which you can get the regular Arduino library path.
tasks.json
makes references to files that aren't guaranteed to exist on other peoples' computers. Telling people to use their own make.exe
s might be fine, if it supports searching the path. Otherwise, the binaries provided by Visual Teensy could be bundled into the project, but I could see people not wanting to bundle random third-party binaries.