2011-09-29 06:25:51 +00:00
|
|
|
###| CMake Kiibohd Controller USB Module |###
|
|
|
|
#
|
2016-05-31 07:19:45 +00:00
|
|
|
# Written by Jacob Alexander in 2011-2016 for the Kiibohd Controller
|
2011-09-29 06:25:51 +00:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
2013-01-26 20:05:28 +00:00
|
|
|
#| AVR Compiler
|
|
|
|
if ( ${COMPILER_FAMILY} MATCHES "avr" )
|
|
|
|
|
2015-01-26 01:53:48 +00:00
|
|
|
set ( Module_SRCS
|
2014-01-20 00:40:36 +00:00
|
|
|
output_com.c
|
2014-03-31 08:07:48 +00:00
|
|
|
avr/usb_keyboard_serial.c
|
2013-01-26 20:05:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
#| ARM Compiler
|
|
|
|
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
|
|
|
|
2015-01-26 01:53:48 +00:00
|
|
|
set ( Module_SRCS
|
2014-01-20 00:40:36 +00:00
|
|
|
output_com.c
|
2013-01-26 20:05:28 +00:00
|
|
|
arm/usb_desc.c
|
|
|
|
arm/usb_dev.c
|
2015-08-19 07:01:15 +00:00
|
|
|
arm/usb_joystick.c
|
2013-01-26 20:05:28 +00:00
|
|
|
arm/usb_keyboard.c
|
|
|
|
arm/usb_mem.c
|
2015-08-19 07:01:15 +00:00
|
|
|
arm/usb_mouse.c
|
2016-05-31 07:19:45 +00:00
|
|
|
arm/usb_rawio.c
|
2013-01-27 03:30:36 +00:00
|
|
|
arm/usb_serial.c
|
2013-01-26 20:05:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
endif ( ${COMPILER_FAMILY} MATCHES "avr" )
|
2011-09-29 06:25:51 +00:00
|
|
|
|
|
|
|
|
2013-01-30 23:13:49 +00:00
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
2015-01-26 01:53:48 +00:00
|
|
|
set( ModuleCompatibility
|
2013-01-30 23:13:49 +00:00
|
|
|
arm
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|