Adding support to Macro support to DPH
- Added layout files for 50 key and kishsaver - Not yet working (some USB issues on AVR to debug) - Fixed an OSX issue when building AVR - Cleanup
This commit is contained in:
parent
3b06d8f6ae
commit
dd9c018378
9 changed files with 166 additions and 300 deletions
|
@ -67,6 +67,10 @@ else ()
|
|||
endif ()
|
||||
|
||||
|
||||
#| Only Teensy based AVRs supported
|
||||
set ( TEENSY 1 )
|
||||
|
||||
|
||||
#| Extra Compiler Sources
|
||||
#| Mostly for convenience functions like interrupt handlers
|
||||
set( COMPILER_SRCS
|
||||
|
|
|
@ -7,6 +7,16 @@
|
|||
###
|
||||
|
||||
|
||||
###
|
||||
# Disable -Wl,-search_paths_first for AVR on OSX (not supported by avr-gcc)
|
||||
#
|
||||
|
||||
if ( "${CPU}" STREQUAL "megaAVR" AND APPLE )
|
||||
string ( REPLACE "-Wl,-search_paths_first" "" CMAKE_C_LINK_FLAGS ${CMAKE_C_LINK_FLAGS} )
|
||||
string ( REPLACE "-Wl,-search_paths_first" "" CMAKE_CXX_LINK_FLAGS ${CMAKE_CXX_LINK_FLAGS} )
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
###
|
||||
# Build Targets
|
||||
|
|
|
@ -54,7 +54,7 @@ endforeach ()
|
|||
|
||||
#| If set BaseMap cannot be found, use default map
|
||||
set ( pathname "${PROJECT_SOURCE_DIR}/${ScanModulePath}" )
|
||||
if ( NOT EXISTS "${filename}/${BaseMap}.kll" )
|
||||
if ( NOT EXISTS ${pathname}/${BaseMap}.kll )
|
||||
set ( BaseMap_Args ${BaseMap_Args} ${pathname}/defaultMap.kll )
|
||||
set ( KLL_DEPENDS ${KLL_DEPENDS} ${pathname}/defaultMap.kll )
|
||||
else ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue