1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/pic32-wifire/Makefile.include
Francois Berder bc0346e2d2 boards: pic32-wifire: Add missing FLASHFILE definition
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 20:17:51 +00:00

28 lines
796 B
Makefile

APPDEPS += $(RIOTCPU)/$(CPU)/$(CPU_MODEL)/$(CPU_MODEL).S
USE_UHI_SYSCALLS = 1
PORT_LINUX ?= /dev/ttyUSB0
include $(RIOTMAKE)/tools/serial.inc.mk
# use pic32prog by default to program this board
PROGRAMMER ?= pic32prog
ifeq ($(PROGRAMMER),pic32prog)
# pic32prog
#
# For PICkit3:
#
# * Connect the chipKIT-Wi-Fire to USB
# * Connect the PICkit3 to ICSP holes
# * https://docs.creatordev.io/wifire/guides/wifire-programming/
# * The triangle `▶` goes into the port number 1 (a hole with a square around it)
# opposite side of the JP1 ICSP text.
FLASHFILE ?= $(HEXFILE)
include $(RIOTMAKE)/tools/pic32prog.inc.mk
else ifeq ($(PROGRAMMER),jlink)
FLASHFILE ?= $(HEXFILE)
JLINK_DEVICE = PIC32MZ2048EFG100
JLINK_IF = JTAG
include $(RIOTMAKE)/tools/jlink.inc.mk
endif