Preparing for Teensy 3 (ARM) integration, abstracting code hierarchy

- Abstracted USB Module
- Abstracted compiler specific includes for Scan, Macro, Debug, and USB modules
- Updated CMake build files to support changes
- Added abstractions necessary to main.c as well as a compiler specific include file
This commit is contained in:
Jacob Alexander 2013-01-26 15:05:28 -05:00
parent b368b13240
commit 14158009b2
28 changed files with 323 additions and 700 deletions

View file

@ -95,7 +95,7 @@ set( GENDEPFLAGS "-MMD" )
#| Compiler Flags
add_definitions( "-mcpu=${CPU} -DF_CPU=${F_CPU} -O${OPT} ${TUNING} ${WARN} ${CSTANDARD} ${GENDEPFLAGS}" )
add_definitions( "-mcpu=${CPU} -DF_CPU=${F_CPU} -D_${CHIP}_=1 -O${OPT} ${TUNING} ${WARN} ${CSTANDARD} ${GENDEPFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}" )
#| Linker Flags