2014-06-28 17:35:54 +00:00
|
|
|
###| CMake Kiibohd Controller Muxed UART and USB Output Module |###
|
|
|
|
#
|
2015-01-26 01:53:48 +00:00
|
|
|
# Written by Jacob Alexander in 2014-2015 for the Kiibohd Controller
|
2014-06-28 17:35:54 +00:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
2015-01-26 01:53:48 +00:00
|
|
|
# Required Submodules
|
2014-06-28 17:35:54 +00:00
|
|
|
#
|
|
|
|
|
2015-01-26 01:53:48 +00:00
|
|
|
AddModule ( Output pjrcUSB )
|
|
|
|
AddModule ( Output uartOut )
|
2014-06-28 17:35:54 +00:00
|
|
|
|
2014-09-28 17:56:01 +00:00
|
|
|
|
2014-06-28 17:35:54 +00:00
|
|
|
###
|
2015-01-26 01:53:48 +00:00
|
|
|
# Module C files
|
2014-06-28 17:35:54 +00:00
|
|
|
#
|
|
|
|
|
2015-01-26 01:53:48 +00:00
|
|
|
set( Module_SRCS
|
|
|
|
output_com.c
|
|
|
|
)
|
2014-09-28 17:56:01 +00:00
|
|
|
|
2015-03-07 07:37:09 +00:00
|
|
|
# Remove duplicate output_com.c files from pjrcUSB and uartOut
|
|
|
|
list ( REMOVE_ITEM Output_SRCS
|
|
|
|
Output/pjrcUSB/output_com.c
|
|
|
|
Output/uartOut/output_com.c
|
|
|
|
)
|
|
|
|
|
2014-09-28 17:56:01 +00:00
|
|
|
|
2014-06-28 17:35:54 +00:00
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
2015-01-26 01:53:48 +00:00
|
|
|
set( ModuleCompatibility
|
2014-06-28 17:35:54 +00:00
|
|
|
arm
|
|
|
|
# avr # TODO
|
|
|
|
)
|
|
|
|
|