Move firmware into /source, deps as submodules in /libraries

pull/17/head
Scott Perry 8 years ago
parent 9ebc996661
commit 51eba85906

6
.gitmodules vendored

@ -0,0 +1,6 @@
[submodule "libraries/KeyboardioScanner"]
path = libraries/KeyboardioScanner
url = https://github.com/keyboardio/KeyboardioScanner.git
[submodule "libraries/HID"]
path = libraries/HID
url = https://github.com/keyboardio/HID.git

@ -5,15 +5,10 @@ before_install:
- tar xf arduino-1.6.7-linux64.tar.xz - tar xf arduino-1.6.7-linux64.tar.xz
- popd - popd
install: install:
- mkdir ../libs - git submodule sync --recursive
- pushd ../libs - git submodule update --init --recursive
- git clone https://github.com/keyboardio/KeyboardioScanner.git
- git clone https://github.com/keyboardio/KeyboardioWS2812.git
- git clone https://github.com/keyboardio/HID.git
- git clone https://github.com/keyboardio/KeyboardioSX1509.git
- popd
script: script:
- make compile size ARDUINO_PATH=../arduino-1.6.7 ARDUINO_LOCAL_LIB_PATH=../libs - make compile size ARDUINO_PATH=../arduino-1.6.7
notifications: notifications:
irc: irc:
channels: channels:

@ -0,0 +1 @@
Subproject commit 490350650f9b9bf859ae8d16a0a77eab1d362637

@ -0,0 +1 @@
Subproject commit 9810df50b2f66da02510707126181982692a41b8

@ -5,17 +5,17 @@ BOARD = model01
MCU = atmega32u4 MCU = atmega32u4
DEVICE_PORT := `ls /dev/cu.usbmodemHID??` DEVICE_PORT := `ls /dev/cu.usbmodemHID??`
DEVICE_PORT := `ls /dev/cu.usbmodem14?1` DEVICE_PORT := `ls /dev/cu.usbmodem1A12411`
DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem14?1` DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem1A12411`
ARDUINO_LIBS = ARDUINO_LIBS =
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always) GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)
ARDUINO_PATH=/Applications/Arduino.app/Contents/Java/ ARDUINO_PATH=~/Applications/Arduino.app/Contents/Java/
ARDUINO_TOOLS_PATH=$(ARDUINO_PATH)/hardware/tools ARDUINO_TOOLS_PATH=$(ARDUINO_PATH)/hardware/tools
FQBN=arduino:avr:leonardo FQBN=arduino:avr:leonardo
BUILD_PATH := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'build') BUILD_PATH := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'build')
OUTPUT_PATH=./output OUTPUT_PATH=../output
ARDUINO_LOCAL_LIB_PATH=~/Documents/Arduino/libraries ARDUINO_LOCAL_LIB_PATH=../libraries
ARDUINO_IDE_VERSION=100607 ARDUINO_IDE_VERSION=100607
VERBOSE= #-verbose VERBOSE= #-verbose
SKETCH=KeyboardioFirmware.ino SKETCH=KeyboardioFirmware.ino
Loading…
Cancel
Save