Revert "Adds APA102 to CI"

Unfortunately the "build.extra_flags" option doesn't include the USB flags specified in the boards.txt file, overwriting them instead which breaks compilation with the Leonardo. Reversing this until I can think of a better solution. This reverts commit bd8c3f6739.
This commit is contained in:
David Madison 2018-10-18 18:41:36 -04:00
parent bd8c3f6739
commit f2a4031e2c
2 changed files with 1 additions and 9 deletions

View File

@ -5,9 +5,6 @@ env:
matrix: matrix:
include: include:
- name: "WS2812B" - name: "WS2812B"
env: BUILD_FLAGS="-DDEBUG_CI -DLED_CHIPSET=WS2812B"
- name: "APA102"
env: BUILD_FLAGS="-DDEBUG_CI -DLED_CHIPSET=APA102 -DPIN_CLOCK=7"
before_install: before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
@ -27,7 +24,7 @@ before_install:
- CYAN="\033[36m"; YELLOW="\033[33m"; NOC="\033[0m"; - CYAN="\033[36m"; YELLOW="\033[33m"; NOC="\033[0m";
- buildSketchPath() { - buildSketchPath() {
echo -e "\n${CYAN}Building sketch ${1##*/}${NOC}"; echo -e "\n${CYAN}Building sketch ${1##*/}${NOC}";
arduino --verify --board $BOARD --pref build.extra_flags="$BUILD_FLAGS" "$1"; arduino --verify --board $BOARD "$1";
} }
- buildAllSketches() { - buildAllSketches() {
for f in $(find $PWD -name '*.ino'); for f in $(find $PWD -name '*.ino');

View File

@ -93,11 +93,6 @@ static unsigned long
lastAckTime; lastAckTime;
// Debug macros initialized // Debug macros initialized
#ifdef DEBUG_CI
#undef LED_TYPE
#define LED_TYPE LED_CHIPSET // Use command line chipset definition
#endif
#ifdef DEBUG_LED #ifdef DEBUG_LED
#define ON 1 #define ON 1
#define OFF 0 #define OFF 0