Skip to content

Commit

Permalink
Differentiate Kakute F7 V15, HDV, Mini2 (#329)
Browse files Browse the repository at this point in the history
* KakuteF7 V15, HDV, MINI2
  • Loading branch information
Kaiowarez committed Jul 23, 2020
1 parent 0e00bca commit 995d0d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/target/KAKUTEF7HDV/KAKUTEF7V15.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#KAKUTEF7V15.mk file
8 changes: 7 additions & 1 deletion src/main/target/KAKUTEF7HDV/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#if defined(KAKUTEF7MINIV2)
#define TARGET_BOARD_IDENTIFIER "KF7M"
#define USBD_PRODUCT_STRING "KakuteF7 Mini V2"
#elif defined(KAKUTEF7V15)
#define TARGET_BOARD_IDENTIFIER "KTF7"
#define USBD_PRODUCT_STRING "Kakutef7 v15"
#else
#define TARGET_BOARD_IDENTIFIER "KTF7"
#define USBD_PRODUCT_STRING "KakuteF7 HD"
Expand Down Expand Up @@ -116,12 +119,15 @@
#define SPI4_MISO_PIN PE5
#define SPI4_MOSI_PIN PE6

#if defined(KAKUTEF7V15) || defined(KAKUTEF7MINIV2)
#define CAMERA_CONTROL_PIN PB3

#define USE_MAX7456
#define MAX7456_SPI_INSTANCE SPI2
#define MAX7456_SPI_CS_PIN SPI2_NSS_PIN
#define MAX7456_SPI_CLK (SPI_CLOCK_STANDARD) // 10MHz
#define MAX7456_RESTORE_CLK (SPI_CLOCK_FAST)

#endif
#if defined(KAKUTEF7MINIV2)
#define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT
#define USE_FLASHFS
Expand Down

0 comments on commit 995d0d6

Please sign in to comment.