Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
controller/Output/pjrcUSB/setup.cmake
Jacob Alexander 15ec4ff71c Adding CLI and CDC Serial support for Teensy 2.0 and Teensy 2.0++
- Includes serial putchar and getchar cleanup (overall)
- Moved avr-capsense to DPH (renaming)
- Basic cleanup for including CLI on the avr architecture
2014-03-31 01:07:48 -07:00

50 lines
655 B
CMake

###| 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_serial.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
)