1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/atmega328p-xplained-mini/Makefile.include
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00

14 lines
463 B
Makefile

# configure the terminal program
BAUD ?= 9600
ATMEGA328P_CLOCK ?=
# Allow overwriting programmer via env variables without affecting other boards
PROGRAMMER_BOARD_ATMEGA328P_XPLAINED_MINI = xplainedmini
# ICSP programmer to use for avrdude
AVRDUDE_PROGRAMMER = $(PROGRAMMER_BOARD_ATMEGA328P_XPLAINED_MINI)
ifneq (,$(ATMEGA328P_CLOCK))
CFLAGS += -DCLOCK_CORECLOCK=$(ATMEGA328P_CLOCK)
endif
include $(RIOTBOARD)/common/atmega/Makefile.include