Fixing bugs in mk20dx128vlf5 support
This commit is contained in:
parent
02b919a4cb
commit
b9fa9c8672
3 changed files with 22 additions and 11 deletions
|
@ -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}" )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue