Compilation fails for Arduino Nano Every
assemblu opened this issue · comments
assemblu commented
Hi,
I downloaded the latest release (not pre-release) and currently running a firmware that has MonoOutput class to it. However, compilation fails due to error 'MonoOutput' has not been declared
Any help would be appreciated.
Mr Sensorium commented
Hi Emir,
MonoOutput is part of the current code on Github, it's not used in the release. It's been a long time since a release, and I recommend using the developing code on Github.
Tim
… On 23 Jul 2021, at 9:02 pm, Emir ***@***.***> wrote:
Hi,
I downloaded the latest release (not pre-release) and currently running a firmware that has MonoOutput class to it. However, compilation fails due to error 'MonoOutput' has not been declared
Any help would be appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#131>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AANW2N7LYGVPZRMJ72SXD4TTZFD4RANCNFSM5A3ZFEQA>.
Giel Berkers commented
Hi, I also get this error when trying to compile for Arduino Nano Every.
I downloaded the ZIP file from GitHub (not from releases), and I checked and it looks like the master
-branch has the latest code on it. But still I'm getting the error:
In file included from /.../Arduino/libraries/Mozzi-master/MozziGuts.h:207:0,
from /.../Arduino/mozzi_tst/mozzi_tst.ino:1:
/.../Arduino/libraries/Mozzi-master/AudioOutput.h: In function 'void audioOutput(MonoOutput)':
/.../Arduino/libraries/Mozzi-master/AudioConfigStandardPlus.h:20:41: error: 'OCR1A' was not declared in this scope
#define AUDIO_CHANNEL_1_OUTPUT_REGISTER OCR1A
^
/.../Arduino/libraries/Mozzi-master/AudioOutput.h:365:3: note: in expansion of macro 'AUDIO_CHANNEL_1_OUTPUT_REGISTER'
AUDIO_CHANNEL_1_OUTPUT_REGISTER = f.l()+AUDIO_BIAS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Arduino Nano Every.
If I try to compile for a "regular" Arduino Nano it shows no errors.