rsync'd over the changes
This commit is contained in:
		
							parent
							
								
									ead6521b9d
								
							
						
					
					
						commit
						99712e189e
					
				
					 4 changed files with 1498 additions and 0 deletions
				
			
		
							
								
								
									
										1391
									
								
								Scan/avr-capsense/scan_loop.c
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										1391
									
								
								Scan/avr-capsense/scan_loop.c
									
										
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										43
									
								
								Scan/avr-capsense/setup.cmake
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										43
									
								
								Scan/avr-capsense/setup.cmake
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,43 @@
 | 
			
		|||
###| CMake Kiibohd Controller Scan Module |###
 | 
			
		||||
#
 | 
			
		||||
# Written by Jacob Alexander in 2011 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=budkeypad_ModifierMask
 | 
			
		||||
	#-DKEYINDEX_MASK=budkeypad_TheProfosistMap
 | 
			
		||||
	-DKEYINDEX_MASK=budkeypad_DefaultMap
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Compiler Family Compatibility
 | 
			
		||||
#
 | 
			
		||||
set( ScanModuleCompatibility
 | 
			
		||||
	avr
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										39
									
								
								cmake_install.cmake
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										39
									
								
								cmake_install.cmake
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,39 @@
 | 
			
		|||
# Install script for directory: L:/haata/kiibohd
 | 
			
		||||
 | 
			
		||||
# Set the install prefix
 | 
			
		||||
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
 | 
			
		||||
  SET(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/kiibohd_controller")
 | 
			
		||||
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
 | 
			
		||||
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
 | 
			
		||||
 | 
			
		||||
# Set the install configuration name.
 | 
			
		||||
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
 | 
			
		||||
  IF(BUILD_TYPE)
 | 
			
		||||
    STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
 | 
			
		||||
           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
 | 
			
		||||
  ELSE(BUILD_TYPE)
 | 
			
		||||
    SET(CMAKE_INSTALL_CONFIG_NAME "")
 | 
			
		||||
  ENDIF(BUILD_TYPE)
 | 
			
		||||
  MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
 | 
			
		||||
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
 | 
			
		||||
 | 
			
		||||
# Set the component getting installed.
 | 
			
		||||
IF(NOT CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
  IF(COMPONENT)
 | 
			
		||||
    MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
 | 
			
		||||
    SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
 | 
			
		||||
  ELSE(COMPONENT)
 | 
			
		||||
    SET(CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
  ENDIF(COMPONENT)
 | 
			
		||||
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
 | 
			
		||||
IF(CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
  SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
 | 
			
		||||
ELSE(CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
  SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
 | 
			
		||||
ENDIF(CMAKE_INSTALL_COMPONENT)
 | 
			
		||||
 | 
			
		||||
FILE(WRITE "L:/haata/kiibohd/${CMAKE_INSTALL_MANIFEST}" "")
 | 
			
		||||
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
 | 
			
		||||
  FILE(APPEND "L:/haata/kiibohd/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
 | 
			
		||||
ENDFOREACH(file)
 | 
			
		||||
							
								
								
									
										25
									
								
								winbuild.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										25
									
								
								winbuild.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
#temp jo
 | 
			
		||||
#export PATH="/c/WinAVR-20100110/bin:/c/Program Files (x86)/CMake 2.8/bin:${PATH}"
 | 
			
		||||
#echo $PATH
 | 
			
		||||
export PATH="/c/WinAVR-20100110/bin:/c/Program Files (x86)/CMake 2.8/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/system32"
 | 
			
		||||
echo $PATH
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
which cmake.exe
 | 
			
		||||
which -a cmake.exe
 | 
			
		||||
which avr-gcc
 | 
			
		||||
which make
 | 
			
		||||
#alias cmake="cmake.exe"
 | 
			
		||||
#alias make="avr-nm"
 | 
			
		||||
 | 
			
		||||
#cd build
 | 
			
		||||
cmake -G "Unix Makefiles" -D \
 | 
			
		||||
CMAKE_C_COMPILER="C:/WinAVR-20100110/bin/avr-gcc.exe" \
 | 
			
		||||
-D CMAKE_CXX_COMPILER="C:/WinAVR-20100110/bin/avr-g++.exe" .
 | 
			
		||||
#cd ..
 | 
			
		||||
make
 | 
			
		||||
#nm
 | 
			
		||||
 | 
			
		||||
#./buildall.bash
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue