]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Output/uartOut/setup.cmake
Initial code for ARM UART output module (mainly for CLI)
[kiibohd-controller.git] / Output / uartOut / setup.cmake
1 ###| CMake Kiibohd Controller UART Output Module |###
2 #
3 # Written by Jacob Alexander in 2014 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/uart_serial.c
21         )
22
23 #| ARM Compiler
24 elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
25
26         set( OUTPUT_SRCS
27                 output_com.c
28                 arm/uart_serial.c
29         )
30
31 endif ()
32
33
34 ###
35 # Module Specific Options
36 #
37
38 ###
39 # Compiler Family Compatibility
40 #
41 set( OutputModuleCompatibility
42         arm
43 #       avr # TODO
44 )
45