comparison Output/pjrcUSB/setup.cmake @ 104:e84738d174bc

Moving USB to Output in preparation for additional Output types. * Initial cli code
author Jacob Alexander <haata@kiibohd.com>
date Sun, 19 Jan 2014 16:40:36 -0800
parents
children 0c5d1fe99302
comparison
equal deleted inserted replaced
103:6704aba435f0 104:e84738d174bc
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_debug.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