summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Maslowski <info@orangecms.org>2021-04-24 17:41:55 +0200
committerDamien George <damien@micropython.org>2021-04-28 00:18:04 +1000
commitf452b9c26569a4e05e026a668dd336f80203f06d (patch)
tree64c2db6f205787974192aac8178a1c1e8e39e041
parentc5cbfd545ab436ef526e7fce7fafab89ac1b69f8 (diff)
pic16bit/Makefile: Make the XC compiler version user-configurable.
-rw-r--r--ports/pic16bit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/pic16bit/Makefile b/ports/pic16bit/Makefile
index fa6de38e3..3c2bd54ea 100644
--- a/ports/pic16bit/Makefile
+++ b/ports/pic16bit/Makefile
@@ -6,7 +6,8 @@ QSTR_DEFS = qstrdefsport.h
# include py core make definitions
include $(TOP)/py/py.mk
-XC16 = /opt/microchip/xc16/v1.35
+XCVERSION ?= 1.35
+XC16 ?= /opt/microchip/xc16/v$(XCVERSION)
CROSS_COMPILE ?= $(XC16)/bin/xc16-
PARTFAMILY = dsPIC33F