Skip to content

Commit

Permalink
More Target Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kc10kevin committed Feb 21, 2016
1 parent 94ae675 commit 2990d93
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion fake_travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ targets=("PUBLISHMETA=True" \
"TARGET=MOTOLAB" \
"TARGET=IRCFUSIONF3" \
"TARGET=ALIENFLIGHTF1" \
"TARGET=ALIENFLIGHTF3")
"TARGET=ALIENFLIGHTF3" \
"TARGET=KKNG")

#fake a travis build environment
export TRAVIS_BUILD_NUMBER=$(date +%s)
Expand Down
8 changes: 4 additions & 4 deletions src/main/target/KKNG/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
#define USE_BARO_BMP280

#define USE_SPI

#define USE_SPI_DEVICE_1
/*
#define SPI1_GPIO GPIOA
#define SPI1_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOA
#define SPI1_NSS_PIN Pin_4
Expand All @@ -63,7 +63,7 @@
#define SPI1_MISO_PIN_SOURCE GPIO_PinSource6
#define SPI1_MOSI_PIN GPIO_Pin_7
#define SPI1_MOSI_PIN_SOURCE GPIO_PinSource7

*/
#define USE_SPI_DEVICE_2 // PB12,13,14,15 on AF5

#define M25P16_CS_GPIO GPIOB
Expand Down Expand Up @@ -164,8 +164,8 @@
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER

#define BLACKBOX
#define DISPLAY
#define GPS
//#define DISPLAY
//#define GPS
#define SERIAL_RX
#define TELEMETRY
#define USE_SERVOS
Expand Down
3 changes: 2 additions & 1 deletion top_makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ALL_TARGETS += motolab
ALL_TARGETS += rmdo
ALL_TARGETS += ircfusionf3
ALL_TARGETS += afromini
ALL_TARGETS += kkng

CLEAN_TARGETS := $(addprefix clean_, $(ALL_TARGETS))

Expand All @@ -29,7 +30,7 @@ clean_motolab motolab : opts := TARGET=MOTOLAB
clean_rmdo rmdo : opts := TARGET=RMDO
clean_ircfusionf3 ircfusionf3 : opts := TARGET=IRCFUSIONF3
clean_ircfusionf3 ircfusionf3 : opts := TARGET=AFROMINI

clean_kkng kkng : opts := TARGET=KKNG

.PHONY: all clean
all: everything
Expand Down

0 comments on commit 2990d93

Please sign in to comment.