2020-02-22 09:37:09 +01:00
|
|
|
APPDEPS += $(RIOTCPU)/$(CPU)/$(CPU_MODEL)/$(CPU_MODEL).S
|
2020-02-22 09:36:29 +01:00
|
|
|
USE_UHI_SYSCALLS = 1
|
2018-12-19 18:53:48 +01:00
|
|
|
|
2018-05-31 17:00:08 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
2019-09-17 21:35:54 +02:00
|
|
|
# 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.
|
|
|
|
include $(RIOTMAKE)/tools/pic32prog.inc.mk
|
|
|
|
else ifeq ($(PROGRAMMER),jlink)
|
|
|
|
FLASHFILE ?= $(HEXFILE)
|
2020-03-03 11:56:38 +01:00
|
|
|
JLINK_DEVICE = PIC32MZ2048EFG100
|
2020-03-03 16:14:54 +01:00
|
|
|
JLINK_IF = JTAG
|
2019-09-17 21:35:54 +02:00
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
endif
|