Getting to know audio library, and timing - attempting to update audiostream.h
Using wsl, install libraries
Then attempt make
I believe that the error is related to the (x86) in the path name.
Any suggestions on how to compile the teensy arduino libraries on windows ?
Thank you.
Code:
#ifndef AUDIO_BLOCK_SAMPLES
/*#define AUDIO_BLOCK_SAMPLES 128*/
#define AUDIO_BLOCK_SAMPLES 32
#endif
Using wsl, install libraries
Code:
sudo apt-get install make git gcc-avr binutils-avr gdb-avr avr-libc avrdude
Then attempt make
Code:
:/mnt/c/Program Files (x86)/Arduino/hardware/teensy/avr/cores/teensy4$ make
/mnt/c/Program Files (x86)/Arduino/hardware/tools/arm/bin/arm-none-eabi-gcc -Wall -g -O2 -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb -MMD -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -DUSING_MAKEFILE -D__IMXRT1062__ -DARDUINO=10813 -DTEENSYDUINO=154 -DARDUINO_TEENSY40 -I. -ffunction-sections -fdata-sections -c -o sm_alloc_valid.o sm_alloc_valid.c
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [<builtin>: sm_alloc_valid.o] Error 2
I believe that the error is related to the (x86) in the path name.
Any suggestions on how to compile the teensy arduino libraries on windows ?
Thank you.