]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Output/uartOut/setup.cmake
17cc2784821eb24e76c1edc004458a0e06f70970
[kiibohd-controller.git] / Output / uartOut / setup.cmake
1 ###| CMake Kiibohd Controller UART Output Module |###
2 #
3 # Written by Jacob Alexander in 2014-2015 for the Kiibohd Controller
4 #
5 # Released into the Public Domain
6 #
7 ###
8
9
10 ###
11 # Module C files
12 #
13
14 #| AVR Compiler
15 if ( ${COMPILER_FAMILY} MATCHES "avr" )
16
17         set ( Module_SRCS
18                 output_com.c
19                 avr/uart_serial.c
20         )
21
22 #| ARM Compiler
23 elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
24
25         set ( Module_SRCS
26                 output_com.c
27                 arm/uart_serial.c
28         )
29
30 endif ()
31
32
33 ###
34 # Compiler Family Compatibility
35 #
36 set( ModuleCompatibility
37         arm
38 #       avr # TODO
39 )
40