arduino / ArduinoCore-mbed

346 stars 199 forks source link

Arduino IDE Compile Issue #634

Open AllisonSimpson opened 1 year ago

AllisonSimpson commented 1 year ago

when trying to compile for any of the mbed boards I get the error

error: 'analogin_config_t' does not name a type; did you mean 'analogin_init'?
 extern analogin_config_t adcCurrentConfig;
        ^~~~~~~~~~~~~~~~~
        analogin_init
exit status 1
Error compiling for board Arduino Nano 33 BLE.

Has anyone encountered this before?

alessandromrc commented 1 year ago

Hi @AllisonSimpson could you actually show us what code did you use to get that error?