Hey guys! Hope everyone is safe and secure during these uncertain and unpleasant times.
I'm facing an issue with my Nano's code not compiling.
Don't really know if this is relevant but I have recently moved from a 2012 MacBook Pro to the new M1 2020 Macbook Pro. Was running Mojave on the older machine and now the new laptop has the latest version of Big Sur installed.
The code was uploading perfectly without issues onto the Nano with my older laptop, however it is giving me issues on the new one. Find the error message posted below for your reference to help diagnose the problem.
Arduino: 1.8.13 (Mac OS X), Board: "Arduino Nano, ATmega328P" fork/exec /Users/Taran/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++: bad CPU type in executable Error compiling for board Arduino Nano. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Because my new laptop does not have a USB-A port, I am using a USB-C to USB-A dongle for the arduino cable.
What could this be and how can it be resolved?
Hope to sort this out soon,
Thanks in advance,