I got the SAMD11 build working after a moment’s look at the error messages.
- In the subcompilation, NeoPixels.c wasn’t finding NeoPixels.h, so I changed
#include <NeoPixels.h>
to#include "NeoPixels.h"
; - Then, in the main compilation,
main.c
wasn’t finding NeoPixels.h, so I changed#include <NeoPixels.h>
to#include "NeoPixel/NeoPixels.h"
(and#include <ytxHeader.h>
to#include "ytxHeader.h"
, pre-emptively).asf.h
didn’t require a change.
I don’t know how exactly Atmel Studio tweaks the Visual Studio base but it looks as though src/NeoPixel
wasn’t getting added to the project path (which is very weird as I see it in the .cproj
file under <armgcc.compiler.directories.IncludePaths>
). Anyway, easy fix, and now I can poke at the aux code too. Thanks for your help!