Closed fabltd closed 7 years ago
Yes, definitely use 1.6.8-beta-b0 (the release link is for an older version of the bootloader anyway). Be sure to download both the Arduino SAMD Boards package, as well as the MattairTech M0+ Boards (1.6.8-beta-b0+).
I have just corrected the makefile to work on Windows. It looks like the Windows version of the Arduino IDE does not install the stock tools from arduino into the Arduino15\packages\MattairTech_Arduino\tools\ directory, instead relying on the versions in the Arduino15\packages\arduino\tools\ directory. This works fine for compiling and uploading sketches (and installing the bootloader), but the bootloader needed to have the extra arduino tools path added.
Then, download make from http://gnuwin32.sourceforge.net/packages/make.htm (choose the full package w/o source). Make note of the install /bin directory and add it to your PATH or just copy the 3 files in the bin directory to the bootloader root directory (with the Makefile). Be sure that no other version of make is in your PATH (ie: MinGW).
I tested this out on Windows 7 64-bit and it compiled. I have also updated the bootloader documentation with these changes.
The release link does not download the build tools.
The beta link does down load the tools.
How ever the following error is produced:
\1.0.0-mattairtech-1\CMSIS\Device\ATMEL\samd21\include\samd21g18a.h(237,26): error: core_cm0plus.h: No such file or directory