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
- popd
install:
- mkdir ../libs
- pushd ../libs
- 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
- git submodule sync --recursive
- git submodule update --init --recursive
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:
irc:
channels:

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

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

@ -6,7 +6,7 @@ HARDWARE_IMPLEMENTATION KeyboardHardware;
void led_set_crgb_at(uint8_t i, cRGB crgb) {
KeyboardHardware.led_set_crgb_at(i,crgb);
}
cRGB led_get_crgb_at(uint8_t i){
cRGB led_get_crgb_at(uint8_t i) {
KeyboardHardware.led_get_crgb_at(i);
}
void led_sync(void) {

@ -5,17 +5,17 @@ BOARD = model01
MCU = atmega32u4
DEVICE_PORT := `ls /dev/cu.usbmodemHID??`
DEVICE_PORT := `ls /dev/cu.usbmodem14?1`
DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem14?1`
DEVICE_PORT := `ls /dev/cu.usbmodem1A12411`
DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem1A12411`
ARDUINO_LIBS =
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
FQBN=arduino:avr:leonardo
BUILD_PATH := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'build')
OUTPUT_PATH=./output
ARDUINO_LOCAL_LIB_PATH=~/Documents/Arduino/libraries
OUTPUT_PATH=../output
ARDUINO_LOCAL_LIB_PATH=../libraries
ARDUINO_IDE_VERSION=100607
VERBOSE= #-verbose
SKETCH=KeyboardioFirmware.ino
Loading…
Cancel
Save