summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-06-03 01:02:58 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2016-06-03 01:02:58 (GMT)
commit87559a74527a60870e1be35d90f8b7a325459275 (patch)
treefa2327c74feaaada7185c124b69ca7aa40163642
parent84194edb31762c5b6845c6378fca834700fdf378 (diff)
moved to minumu32 for firmware
-rw-r--r--firmware/Makefile4
-rw-r--r--firmware/blinkyfications.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 87d0b99..877a90b 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -20,7 +20,7 @@
##
NAME := blinkyfications
-BOARD_TYPE := teensy2
+BOARD_TYPE := minimus32
CXX_OBJ := $(NAME).o
LIBS := util led lufa-descriptor-usbserial usbio
CXX_LIBS := arduino-stub
@@ -28,7 +28,7 @@ EXTERNAL_LIBS := fastled lufa
SPREADAVR_PATH := ../contrib/avr-utils
FASTLED_PATH := $(SPREADAVR_PATH)/contrib/FastLED-3.1.0
-FASTLED_OPTS := -DCORE_TEENSY
+FASTLED_OPTS :=
LUFA_PATH := $(SPREADAVR_PATH)/contrib/lufa-LUFA-151115
LUFA_OPTS = -D USB_DEVICE_ONLY
diff --git a/firmware/blinkyfications.cpp b/firmware/blinkyfications.cpp
index 03f53ee..1fc1e84 100644
--- a/firmware/blinkyfications.cpp
+++ b/firmware/blinkyfications.cpp
@@ -34,7 +34,7 @@
#define NUM_LEDS 8
-#define DATA_PIN 23 // PD5 @ Atmega32U4
+#define DATA_PIN 1 // PB1 @ Atmega32U2
CRGB leds[NUM_LEDS];