arduino / ArduinoCore-megaavr

Arduino Core for the ATMEGA4809 CPU
103 stars 62 forks source link

Nano Every, ATMEGA328 emulation mode not working correctly #49

Closed hiduino closed 4 years ago

hiduino commented 4 years ago

It appears the ATMEGA328 emulation mode is not being included in the Arduino.h core file.

The Arduino.h has an entry for the UNO_WIFI_REV2_328MODE check for the include file.

ifdef UNO_WIFI_REV2_328MODE

include

endif

But it seems to be missing a similar check for AVR_NANO_4809_328MODE. Should have something similar like;

ifdef AVR_NANO_4809_328MODE

include

endif