From 2c0c6ebeab82b975779de38fcb447847f5ae5d57 Mon Sep 17 00:00:00 2001 From: Sylwester <6614616+DatanoiseTV@users.noreply.github.com> Date: Thu, 26 Jan 2023 02:50:50 +0100 Subject: [PATCH 1/2] Update PJRC Teensy template to work with Teensy 4.x --- src/generators/templates/teensyAudio.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generators/templates/teensyAudio.ml b/src/generators/templates/teensyAudio.ml index 543abf9a..df115e90 100644 --- a/src/generators/templates/teensyAudio.ml +++ b/src/generators/templates/teensyAudio.ml @@ -63,9 +63,9 @@ let header (params : params) (code : Pla.t) : Pla.t = #include #include "vultin.h" #include "<#tables#s>.tables.h" -#include -#include - +#include "core_pins.h" +#include "AudioStream.h" +#include "Arduino.h" <#code#> class <#output#s> : public AudioStream From 2b479ac56dd64bd0d182ee39094e839af0ac83db Mon Sep 17 00:00:00 2001 From: Sylwester <6614616+DatanoiseTV@users.noreply.github.com> Date: Thu, 26 Jan 2023 02:54:45 +0100 Subject: [PATCH 2/2] Update teensyAudio.ml --- src/generators/templates/teensyAudio.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generators/templates/teensyAudio.ml b/src/generators/templates/teensyAudio.ml index df115e90..0a962ff4 100644 --- a/src/generators/templates/teensyAudio.ml +++ b/src/generators/templates/teensyAudio.ml @@ -63,9 +63,9 @@ let header (params : params) (code : Pla.t) : Pla.t = #include #include "vultin.h" #include "<#tables#s>.tables.h" -#include "core_pins.h" -#include "AudioStream.h" -#include "Arduino.h" +#include +#include +#include <#code#> class <#output#s> : public AudioStream