aaio

AVR All-In-One helper C library for Arduino boards
git clone git://git.luxferre.top/aaio.git
Log | Files | Refs

commit bb7c827087aa2edd1f9c9da77a1103577ad6f468
parent a226c2a4337c9766150952fe22709715de78ede8
Author: Luxferre <lux@ferre>
Date:   Sat, 23 Nov 2024 18:22:11 +0200

debug some programmer options

Diffstat:
MMakefile | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,15 +7,20 @@ SERIALDEV = /dev/ttyUSB0 #MCUDEFS = -DF_CPU=16000000UL -DAAIO_MEGA2560 #PROG_PARAMS = -c wiring -P $(SERIALDEV) -D -#MCU = atmega328p -#MCUSHORT = m328p -#MCUDEFS = -DF_CPU=8000000UL -DAAIO_NANO -#PROG_PARAMS = -c wiring -P $(SERIALDEV) -D +#MCU = atmega328pb +#MCUSHORT = m328pb +#MCUDEFS = -DF_CPU=16000000UL -DAAIO_NANO +#PROG_PARAMS = -c arduino -P $(SERIALDEV) -D MCU = atmega168pa MCUSHORT = m168pa MCUDEFS = -DF_CPU=16000000UL -DAAIO_NANO -PROG_PARAMS = -c urclock -P $(SERIALDEV) -D +PROG_PARAMS = -c arduino -P $(SERIALDEV) -D + +#if you use urboot +#PROG_PARAMS = -c urclock -P $(SERIALDEV) -D + +# if you use a hardware USB programmer #PROG_PARAMS = -c usbasp SUDOCMD = doas