#| You _MUST_ clean the build directory if you change this value
#|
set( CHIP
- "mk20dx128vlf5" # McHCK mk20dx128vlf5
+ #"mk20dx128vlf5" # McHCK mk20dx128vlf5
+ "mk20dx256vlh7" # Kiibohd-dfu mk20dx256vlh7
)
+
+###
+# Compiler Selection
+#
+
+#| *** EXPERIMENTAL ***
+#| Stick with gcc unless you know what you're doing
+#| Currently only arm is supported with clang
+set( COMPILER
+ "gcc" # arm-none-eabi-gcc / avr-gcc - Default
+# "clang" # arm-none-eabi
+ CACHE STRING "Compiler Type" )
+
+
+
###
# Bootloader Configuration
#
#
set( SRCS
main.c
+ debug.c # TODO only compile in if necessary
dfu.c
dfu.desc.c
flash.c