Skip to content

Commit

Permalink
rudiments delete
Browse files Browse the repository at this point in the history
  • Loading branch information
SergDoc committed Jan 24, 2017
1 parent d078bc0 commit fb22ebd
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/main/target/F4BY/target.h
Expand Up @@ -18,8 +18,6 @@
#pragma once
#define TARGET_BOARD_IDENTIFIER "F4BY"

#define CONFIG_START_FLASH_ADDRESS (0x08080000) //0x08080000 to 0x080A0000 (FLASH_Sector_8)

#define USBD_PRODUCT_STRING "Swift-Flyer F4BY"

#define LED0 PE3 // Blue LED
Expand Down Expand Up @@ -58,14 +56,6 @@
#define BARO
#define USE_BARO_MS5611

#define SENSORS_SET (SENSOR_ACC|SENSOR_MAG|SENSOR_BARO)

#define OSD
#define USE_MAX7456
#define MAX7456_SPI_INSTANCE SPI3
#define MAX7456_SPI_CS_PIN PA15
#define MAX7456_SPI_CLK (SPI_CLOCK_STANDARD*2)
#define MAX7456_RESTORE_CLK (SPI_CLOCK_FAST)

#define USE_SDCARD

Expand Down Expand Up @@ -111,7 +101,7 @@
#define UART6_RX_PIN PC7
#define UART6_TX_PIN PC6

#define SERIAL_PORT_COUNT 5 //VCP, UART1, UART2, UART3, UART4, UART6
#define SERIAL_PORT_COUNT 6 //VCP, UART1, UART2, UART3, UART4, UART6

#define USE_SPI
#define USE_SPI_DEVICE_1
Expand All @@ -135,7 +125,6 @@

#define USE_I2C
#define I2C_DEVICE (I2CDEV_2)
#define USE_I2C_PULLUP
#define I2C2_SCL PB10
#define I2C2_SDA PB11

Expand All @@ -145,16 +134,13 @@
#define CURRENT_METER_ADC_PIN PC2
#define RSSI_ADC_PIN PC1

#define SENSORS_SET (SENSOR_ACC|SENSOR_MAG|SENSOR_BARO)

#define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_BLACKBOX)
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM

#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT


#define GPS
#define GPS_PROTO_UBLOX_NEO7PLUS


// Number of available PWM outputs
#define MAX_PWM_OUTPUT_PORTS 15

Expand Down

0 comments on commit fb22ebd

Please sign in to comment.