Description
Hi there,
I've been trying out this library in PlatformIO for use with a Portenta H7, since I saw it was referenced in the Nicla Voice documentation from Arduino, and figured I'd give it a shot on the Portenta.
I got the library to compile by undefining Arduino's absolute value implementation and defining use int24 from int
#undef abs
#define USE_INT24_FROM_INT
#include "AudioTools.h"
However I ran into an issue where I2SStream is not defined by default. I then tried defining STM32
to enable the STM32 mode:
#define STM32
But that results in an error saying I am then missing the stm32-i2s.h
header.
Just for fun, and not expecting it to work since the Arduino I2S library doesn't support the Portenta :/ I defined USE_I2S
, but since the Arduino I2S library is not present it obviously does not compile.
So, if the Portenta is supported, what am I missing, otherwise, would there be any plans to support it in the future? I recognize it's fairly new and stuck in between Arduino and ST's ecosystems so it's not the easiest board in the world.
Thanks