view USB/pjrc/setup.cmake @ 69:87658fa6091b

Updating AVR abstraction to be compatible with ARM, nearly ready for ARM files - Very small updates to files, mostly modifying to remove name duplications
author Jacob Alexander <triplehaata@gmail.com>
date Sat, 26 Jan 2013 22:30:36 -0500
parents 9ad7c1a28661
children 8a344117d851
line wrap: on
line source

###| CMake Kiibohd Controller USB Module |###
#
# Written by Jacob Alexander in 2011-2013 for the Kiibohd Controller
#
# Released into the Public Domain
#
###


###
# Module C files
#


#| AVR Compiler
if ( ${COMPILER_FAMILY} MATCHES "avr" )

	set( USB_SRCS
		usb_com.c
		avr/usb_keyboard_debug.c
	)

#| ARM Compiler
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )

	set( USB_SRCS
		usb_com.c
		arm/usb_desc.c
		arm/usb_dev.c
		arm/usb_keyboard.c
		arm/usb_mem.c
		arm/usb_serial.c
	)

endif ( ${COMPILER_FAMILY} MATCHES "avr" )


###
# Module Specific Options
#