This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2011-09-29 06:25:51 +00:00
|
|
|
###| CMake Kiibohd Controller USB Module |###
|
|
|
|
#
|
2013-01-26 20:05:28 +00:00
|
|
|
# Written by Jacob Alexander in 2011-2013 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" )
|
|
|
|
|
|
|
|
set( USB_SRCS
|
|
|
|
usb_com.c
|
|
|
|
avr/usb_keyboard_debug.c
|
|
|
|
)
|
|
|
|
|
|
|
|
#| ARM Compiler
|
|
|
|
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
|
|
|
|
|
|
|
set( USB_SRCS
|
|
|
|
usb_com.c
|
|
|
|
arm/usb_desc.c
|
|
|
|
arm/usb_dev.c
|
|
|
|
arm/usb_keyboard.c
|
|
|
|
arm/usb_mem.c
|
|
|
|
)
|
|
|
|
|
|
|
|
endif ( ${COMPILER_FAMILY} MATCHES "avr" )
|
2011-09-29 06:25:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module Specific Options
|
|
|
|
#
|
|
|
|
|