view Scan/DPH/setup.cmake @ 123:0c5d1fe99302

Adding CLI and CDC Serial support for Teensy 2.0 and Teensy 2.0++ - Includes serial putchar and getchar cleanup (overall) - Moved avr-capsense to DPH (renaming) - Basic cleanup for including CLI on the avr architecture
author Jacob Alexander <haata@kiibohd.com>
date Mon, 31 Mar 2014 01:07:48 -0700
parents
children 8dab4014c398
line wrap: on
line source

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


###
# Module C files
#

set( SCAN_SRCS
	scan_loop.c
)


###
# Module H files
#
set( SCAN_HDRS
	scan_loop.h
)


###
# File Dependency Setup
#
ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
#add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
#add_file_dependencies( macro.c keymap.h avrcapsense.h )


###
# Module Specific Options
#
add_definitions( -I${HEAD_DIR}/Keymap )

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=avrcapsense_ModifierMask
	#-DKEYINDEX_MASK=avrcapsense_ColemakMap
	-DKEYINDEX_MASK=avrcapsense_DefaultMap
)


###
# Compiler Family Compatibility
#
set( ScanModuleCompatibility
	avr
)