Fixing bugs in mk20dx128vlf5 support

This commit is contained in:
Jacob Alexander 2015-05-25 17:50:32 -07:00
parent 02b919a4cb
commit b9fa9c8672
3 changed files with 22 additions and 11 deletions

View file

@ -60,7 +60,6 @@ include( initialize )
#
set( SRCS
main.c
debug.c # TODO only compile in if necessary
dfu.c
dfu.desc.c
flash.c
@ -68,6 +67,14 @@ set( SRCS
usb.c
)
# Only compile in if necessary
if( CHIP STREQUAL "mk20dx256vlh7" )
set( SRCS ${SRCS}
debug.c
)
endif()
message( STATUS "Bootloader Source Files:" )
message( "${SRCS}" )