OK,
I have some difficulties installing the system (better compiling)
Windows 10
sketch
Code:
#include "Arduino.h"
//#include "core_pins.h" // this call also kinetis.h
#include "Audio.h"
AudioInputAnalog acq(0);
AudioRecordQueue queue;
AudioConnection patchCord(acq, queue);
void setup()
{
AudioMemory (10);
pinMode(LED_BUILTIN,OUTPUT);
}
void loop()
{
digitalWriteFast(LED_BUILTIN,!digitalReadFast(LED_BUILTIN));
delay(100);
}
c_pp_properties.json
Code:
{
"configurations": [
{
"name": "VisualTeensy",
"includePath": [
"${workspaceFolder}/src/**",
"C:/Users/Walter/Documents/arduino-1.8.7/hardware/teensy/avr/cores/teensy3/**",
"C:/Users/Walter/Documents/arduino-1.8.7/hardware/teensy/avr/library/audio/**"
],
"defines": [
"__MK66FX1M0__",
"TEENSYDUINO=144",
"F_CPU=180000000",
"USB_SERIAL",
"LAYOUT_US_ENGLISH"
],
"compilerPath": "C:/Users/Walter/Documents/arduino-1.8.7/hardware/tools/arm/arm-none-eabi/bin/bin/arm-none-eabi-gcc.exe",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
error
Code:
> Executing task: C:/Users/Walter/Desktop/Luni/make.exe all <
[CC] CORE usb_serial.c
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [makefile:120: bin\core/usb_serial.o] Error 258
The terminal process terminated with exit code: 1
the incriminating line is
Code:
@if not exist $(dir $@) @mkdir "$(dir $@)"
interesting, if I add as makefile target
I get
Code:
PS C:\Users\Walter\Documents\Arduino\Test_Code> make test
ls
bin makefile src
dir
process_begin: CreateProcess(NULL, dir, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [makefile:104: test] Error 2
PS C:\Users\Walter\Documents\Arduino\Test_Code>
that is only the Linux command ls is known to make but not the windows dir (both give on PS the same result)