Adding UART and UART + USB muxed CLI output.

- The UART out may be useful for Bluetooth keyboards at some point
This commit is contained in:
Jacob Alexander 2014-06-28 10:35:54 -07:00
parent 6f563bdc9f
commit dd8b04dce2
5 changed files with 468 additions and 13 deletions

View file

@ -0,0 +1,48 @@
###| CMake Kiibohd Controller Muxed UART and USB 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
)
#| ARM Compiler
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
set( OUTPUT_SRCS
output_com.c
../pjrcUSB/arm/usb_desc.c
../pjrcUSB/arm/usb_dev.c
../pjrcUSB/arm/usb_keyboard.c
../pjrcUSB/arm/usb_mem.c
../pjrcUSB/arm/usb_serial.c
../uartOut/arm/uart_serial.c
)
endif ()
###
# Module Specific Options
#
###
# Compiler Family Compatibility
#
set( OutputModuleCompatibility
arm
# avr # TODO
)