Initial code for ARM UART output module (mainly for CLI)
This commit is contained in:
parent
99d4aaba84
commit
6f563bdc9f
8 changed files with 619 additions and 23 deletions
45
Output/uartOut/setup.cmake
Normal file
45
Output/uartOut/setup.cmake
Normal file
|
@ -0,0 +1,45 @@
|
|||
###| CMake Kiibohd Controller UART Output Module |###
|
||||
#
|
||||
# Written by Jacob Alexander in 2014 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/uart_serial.c
|
||||
)
|
||||
|
||||
#| ARM Compiler
|
||||
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
||||
|
||||
set( OUTPUT_SRCS
|
||||
output_com.c
|
||||
arm/uart_serial.c
|
||||
)
|
||||
|
||||
endif ()
|
||||
|
||||
|
||||
###
|
||||
# Module Specific Options
|
||||
#
|
||||
|
||||
###
|
||||
# Compiler Family Compatibility
|
||||
#
|
||||
set( OutputModuleCompatibility
|
||||
arm
|
||||
# avr # TODO
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue