Hello, I successfully uploaded bootloader and blink sketch using Arduino nano to program Atmega8A on breadboard.
But the problem occurred whenever I added #include <LowPower.h> library in my code and tried to upload a sketch then the compiler shown some errors.
compiling for board Arduino NG or older:
Error while detecting libraries included by C:\Users\chand\Documents\Arduino\libraries\LowPower\LowPower.cpp
Generating function prototypes...
C:\Users\chand\Documents\Arduino\libraries\LowPower/LowPower.h:148:6: error: #error "Please ensure chosen MCU is either 88, 168, 168P, 328P, 32U4, 2560 or 256RFR2."
#error "Please ensure chosen MCU is either 88, 168, 168P, 328P, 32U4, 2560 or 256RFR2."
^~~~~
Using library LowPower at version 1.6 in folder: C:\Users\chand\Documents\Arduino\libraries\LowPower
exit status 1
Error compiling for board Arduino NG or older.
The following error with minicore->Atmega8::
C:\Users\chand\Documents\Arduino\libraries\LowPower/LowPower.h:148:6: error: #error "Please ensure chosen MCU is either 88, 168, 168P, 328P, 32U4, 2560 or 256RFR2."
#error "Please ensure chosen MCU is either 88, 168, 168P, 328P, 32U4, 2560 or 256RFR2."
^~~~~
Using library LowPower at version 1.6 in folder: C:\Users\chand\Documents\Arduino\libraries\LowPower
exit status 1
Error compiling for board ATmega8.