]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Output/pjrcUSB/setup.cmake
Adding CLI and CDC Serial support for Teensy 2.0 and Teensy 2.0++
[kiibohd-controller.git] / Output / pjrcUSB / setup.cmake
1 ###| CMake Kiibohd Controller USB Module |###
2 #
3 # Written by Jacob Alexander in 2011-2013 for the Kiibohd Controller
4 #
5 # Released into the Public Domain
6 #
7 ###
8
9
10 ###
11 # Module C files
12 #
13
14
15 #| AVR Compiler
16 if ( ${COMPILER_FAMILY} MATCHES "avr" )
17
18         set( OUTPUT_SRCS
19                 output_com.c
20                 avr/usb_keyboard_serial.c
21         )
22
23 #| ARM Compiler
24 elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
25
26         set( OUTPUT_SRCS
27                 output_com.c
28                 arm/usb_desc.c
29                 arm/usb_dev.c
30                 arm/usb_keyboard.c
31                 arm/usb_mem.c
32                 arm/usb_serial.c
33         )
34
35 endif ( ${COMPILER_FAMILY} MATCHES "avr" )
36
37
38 ###
39 # Module Specific Options
40 #
41
42 ###
43 # Compiler Family Compatibility
44 #
45 set( OutputModuleCompatibility
46         arm
47         avr
48 )
49