Moving USB to Output in preparation for additional Output types.
* Initial cli code
This commit is contained in:
parent
e9aa3880a6
commit
59f13f8f4f
23 changed files with 164 additions and 33 deletions
49
Output/pjrcUSB/setup.cmake
Normal file
49
Output/pjrcUSB/setup.cmake
Normal file
|
@ -0,0 +1,49 @@
|
|||
###| CMake Kiibohd Controller USB Module |###
|
||||
#
|
||||
# Written by Jacob Alexander in 2011-2013 for the Kiibohd Controller
|
||||
#
|
||||
# Released into the Public Domain
|
||||
#
|
||||
###
|
||||
|
||||
|
||||
###
|
||||
# Module C files
|
||||
#
|
||||
|
||||
|
||||
#| AVR Compiler
|
||||
if ( ${COMPILER_FAMILY} MATCHES "avr" )
|
||||
|
||||
set( OUTPUT_SRCS
|
||||
output_com.c
|
||||
avr/usb_keyboard_debug.c
|
||||
)
|
||||
|
||||
#| ARM Compiler
|
||||
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
||||
|
||||
set( OUTPUT_SRCS
|
||||
output_com.c
|
||||
arm/usb_desc.c
|
||||
arm/usb_dev.c
|
||||
arm/usb_keyboard.c
|
||||
arm/usb_mem.c
|
||||
arm/usb_serial.c
|
||||
)
|
||||
|
||||
endif ( ${COMPILER_FAMILY} MATCHES "avr" )
|
||||
|
||||
|
||||
###
|
||||
# Module Specific Options
|
||||
#
|
||||
|
||||
###
|
||||
# Compiler Family Compatibility
|
||||
#
|
||||
set( OutputModuleCompatibility
|
||||
arm
|
||||
avr
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue