view Scan/SKM67001/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 8a344117d851
children 8dab4014c398
line wrap: on
line source

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


###
# Module C files
#

#| XXX Requires the ../ due to how the paths are constructed
set( SCAN_SRCS
	../matrix/matrix_scan.c
	../matrix/scan_loop.c
)


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

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=skm67001_ModifierMask
	#-DKEYINDEX_MASK=skm67001_DefaultMap
	-DKEYINDEX_MASK=skm67001_ColemakMap
)


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