I was quickly confronted with a problem of insufficient memory which pushed me to find a microcontroller with similar properties and with more memory.
I bought the "Adafruit Metro ESP32-S2 Express" board because according to my research the ESP32-S2 is native usb.
When I try to upload my code I get the following error message:
Code: Select all
WARNING: The MIDIUSB library claims to be executable on the avr, sam, samd architecture(s) and may be incompatible with your current board which runs on esp32.
In file included from sketch/MyProject.h:32,
from sketch/MyProject2.h:51,
from sketch/MyProject3.h:25,
from [PATH]/MyProject/MyProject.ino:25:
[PATH]/MIDIUSB.h:18:2: error: #error MIDIUSB can only be used with an USB MCU.
#error MIDIUSB can only be used with an USB MCU.
^~~~~
In file included from sketch/MyProject.h:32,
from sketch/MyProject2.h:51,
from sketch/MyProject3.h:25,
from
PATH]/MIDIUSB.h:78:2: error: #error "Unsupported architecture"
#error "Unsupported architecture"
^~~~~
exit status 1
Compilation error for Adafruit Metro ESP32-S2" board
Thanks