mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Renamed display to dashboard
This commit is contained in:
parent
229d47943e
commit
5bc1105871
16 changed files with 70 additions and 76 deletions
2
Makefile
2
Makefile
|
@ -561,7 +561,7 @@ HIGHEND_SRC = \
|
||||||
flight/gps_conversion.c \
|
flight/gps_conversion.c \
|
||||||
io/gps.c \
|
io/gps.c \
|
||||||
io/ledstrip.c \
|
io/ledstrip.c \
|
||||||
io/display.c \
|
io/dashboard.c \
|
||||||
sensors/sonar.c \
|
sensors/sonar.c \
|
||||||
sensors/barometer.c \
|
sensors/barometer.c \
|
||||||
telemetry/telemetry.c \
|
telemetry/telemetry.c \
|
||||||
|
|
|
@ -903,8 +903,8 @@ void validateAndFixConfig(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CC3D) && defined(DISPLAY) && defined(USE_UART3)
|
#if defined(CC3D) && defined(DISPLAY) && defined(USE_UART3)
|
||||||
if (doesConfigurationUsePort(SERIAL_PORT_USART3) && feature(FEATURE_DISPLAY)) {
|
if (doesConfigurationUsePort(SERIAL_PORT_USART3) && feature(FEATURE_DASHBOARD)) {
|
||||||
featureClear(FEATURE_DISPLAY);
|
featureClear(FEATURE_DASHBOARD);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ typedef enum {
|
||||||
FEATURE_RX_MSP = 1 << 14,
|
FEATURE_RX_MSP = 1 << 14,
|
||||||
FEATURE_RSSI_ADC = 1 << 15,
|
FEATURE_RSSI_ADC = 1 << 15,
|
||||||
FEATURE_LED_STRIP = 1 << 16,
|
FEATURE_LED_STRIP = 1 << 16,
|
||||||
FEATURE_DISPLAY = 1 << 17,
|
FEATURE_DASHBOARD = 1 << 17,
|
||||||
FEATURE_OSD = 1 << 18,
|
FEATURE_OSD = 1 << 18,
|
||||||
FEATURE_BLACKBOX = 1 << 19,
|
FEATURE_BLACKBOX = 1 << 19,
|
||||||
FEATURE_CHANNEL_FORWARDING = 1 << 20,
|
FEATURE_CHANNEL_FORWARDING = 1 << 20,
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "flight/altitudehold.h"
|
#include "flight/altitudehold.h"
|
||||||
|
|
||||||
#include "io/beeper.h"
|
#include "io/beeper.h"
|
||||||
#include "io/display.h"
|
#include "io/dashboard.h"
|
||||||
#include "io/gps.h"
|
#include "io/gps.h"
|
||||||
#include "io/ledstrip.h"
|
#include "io/ledstrip.h"
|
||||||
#include "io/osd.h"
|
#include "io/osd.h"
|
||||||
|
@ -222,11 +222,11 @@ static void taskCalculateAltitude(uint32_t currentTime)
|
||||||
}}
|
}}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
static void taskUpdateDisplay(uint32_t currentTime)
|
static void taskUpdateDashboard(uint32_t currentTime)
|
||||||
{
|
{
|
||||||
if (feature(FEATURE_DISPLAY)) {
|
if (feature(FEATURE_DASHBOARD)) {
|
||||||
displayUpdate(currentTime);
|
dashboardUpdate(currentTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -307,8 +307,8 @@ void fcTasksInit(void)
|
||||||
#if defined(BARO) || defined(SONAR)
|
#if defined(BARO) || defined(SONAR)
|
||||||
setTaskEnabled(TASK_ALTITUDE, sensors(SENSOR_BARO) || sensors(SENSOR_SONAR));
|
setTaskEnabled(TASK_ALTITUDE, sensors(SENSOR_BARO) || sensors(SENSOR_SONAR));
|
||||||
#endif
|
#endif
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
setTaskEnabled(TASK_DISPLAY, feature(FEATURE_DISPLAY));
|
setTaskEnabled(TASK_DASHBOARD, feature(FEATURE_DASHBOARD));
|
||||||
#endif
|
#endif
|
||||||
#ifdef TELEMETRY
|
#ifdef TELEMETRY
|
||||||
setTaskEnabled(TASK_TELEMETRY, feature(FEATURE_TELEMETRY));
|
setTaskEnabled(TASK_TELEMETRY, feature(FEATURE_TELEMETRY));
|
||||||
|
@ -446,10 +446,10 @@ cfTask_t cfTasks[TASK_COUNT] = {
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
[TASK_DISPLAY] = {
|
[TASK_DASHBOARD] = {
|
||||||
.taskName = "DISPLAY",
|
.taskName = "DASHBOARD",
|
||||||
.taskFunc = taskUpdateDisplay,
|
.taskFunc = taskUpdateDashboard,
|
||||||
.desiredPeriod = 1000000 / 10,
|
.desiredPeriod = 1000000 / 10,
|
||||||
.staticPriority = TASK_PRIORITY_LOW,
|
.staticPriority = TASK_PRIORITY_LOW,
|
||||||
},
|
},
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "io/beeper.h"
|
#include "io/beeper.h"
|
||||||
#include "io/motors.h"
|
#include "io/motors.h"
|
||||||
#include "io/vtx.h"
|
#include "io/vtx.h"
|
||||||
#include "io/display.h"
|
#include "io/dashboard.h"
|
||||||
|
|
||||||
#include "sensors/barometer.h"
|
#include "sensors/barometer.h"
|
||||||
#include "sensors/battery.h"
|
#include "sensors/battery.h"
|
||||||
|
@ -291,13 +291,13 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
|
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
|
||||||
displayDisablePageCycling();
|
dashboardDisablePageCycling();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
|
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
|
||||||
displayEnablePageCycling();
|
dashboardEnablePageCycling();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
|
|
||||||
#include "build/version.h"
|
#include "build/version.h"
|
||||||
#include "build/debug.h"
|
#include "build/debug.h"
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
#include "config/feature.h"
|
#include "config/feature.h"
|
||||||
#include "config/config_profile.h"
|
#include "config/config_profile.h"
|
||||||
|
|
||||||
#include "io/display.h"
|
#include "io/dashboard.h"
|
||||||
|
|
||||||
#include "rx/rx.h"
|
#include "rx/rx.h"
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ controlRateConfig_t *getControlRateConfig(uint8_t profileIndex);
|
||||||
#define PAGE_CYCLE_FREQUENCY (MICROSECONDS_IN_A_SECOND * 5)
|
#define PAGE_CYCLE_FREQUENCY (MICROSECONDS_IN_A_SECOND * 5)
|
||||||
|
|
||||||
static uint32_t nextDisplayUpdateAt = 0;
|
static uint32_t nextDisplayUpdateAt = 0;
|
||||||
static bool displayPresent = false;
|
static bool dashboardPresent = false;
|
||||||
|
|
||||||
static rxConfig_t *rxConfig;
|
static rxConfig_t *rxConfig;
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ static const char* const pageTitles[] = {
|
||||||
#ifdef GPS
|
#ifdef GPS
|
||||||
,"GPS"
|
,"GPS"
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
,"DEBUG"
|
,"DEBUG"
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -116,7 +116,7 @@ const pageId_e cyclePageIds[] = {
|
||||||
#ifndef SKIP_TASK_STATISTICS
|
#ifndef SKIP_TASK_STATISTICS
|
||||||
,PAGE_TASKS
|
,PAGE_TASKS
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
,PAGE_DEBUG,
|
,PAGE_DEBUG,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -144,7 +144,7 @@ typedef struct pageState_s {
|
||||||
static pageState_t pageState;
|
static pageState_t pageState;
|
||||||
|
|
||||||
void resetDisplay(void) {
|
void resetDisplay(void) {
|
||||||
displayPresent = ug2864hsweg01InitI2C();
|
dashboardPresent = ug2864hsweg01InitI2C();
|
||||||
}
|
}
|
||||||
|
|
||||||
void LCDprint(uint8_t i) {
|
void LCDprint(uint8_t i) {
|
||||||
|
@ -562,7 +562,7 @@ void showTasksPage(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
|
|
||||||
void showDebugPage(void)
|
void showDebugPage(void)
|
||||||
{
|
{
|
||||||
|
@ -577,7 +577,7 @@ void showDebugPage(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void displayUpdate(uint32_t currentTime)
|
void dashboardUpdate(uint32_t currentTime)
|
||||||
{
|
{
|
||||||
static uint8_t previousArmedState = 0;
|
static uint8_t previousArmedState = 0;
|
||||||
|
|
||||||
|
@ -623,13 +623,13 @@ void displayUpdate(uint32_t currentTime)
|
||||||
// user to power off/on the display or connect it while powered.
|
// user to power off/on the display or connect it while powered.
|
||||||
resetDisplay();
|
resetDisplay();
|
||||||
|
|
||||||
if (!displayPresent) {
|
if (!dashboardPresent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
handlePageChange();
|
handlePageChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!displayPresent) {
|
if (!dashboardPresent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -666,7 +666,7 @@ void displayUpdate(uint32_t currentTime)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
case PAGE_DEBUG:
|
case PAGE_DEBUG:
|
||||||
showDebugPage();
|
showDebugPage();
|
||||||
break;
|
break;
|
||||||
|
@ -680,13 +680,13 @@ void displayUpdate(uint32_t currentTime)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void displaySetPage(pageId_e pageId)
|
void dashboardSetPage(pageId_e pageId)
|
||||||
{
|
{
|
||||||
pageState.pageId = pageId;
|
pageState.pageId = pageId;
|
||||||
pageState.pageFlags |= PAGE_STATE_FLAG_FORCE_PAGE_CHANGE;
|
pageState.pageFlags |= PAGE_STATE_FLAG_FORCE_PAGE_CHANGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayInit(rxConfig_t *rxConfigToUse)
|
void dashboardInit(rxConfig_t *rxConfigToUse)
|
||||||
{
|
{
|
||||||
delay(200);
|
delay(200);
|
||||||
resetDisplay();
|
resetDisplay();
|
||||||
|
@ -695,36 +695,36 @@ void displayInit(rxConfig_t *rxConfigToUse)
|
||||||
rxConfig = rxConfigToUse;
|
rxConfig = rxConfigToUse;
|
||||||
|
|
||||||
memset(&pageState, 0, sizeof(pageState));
|
memset(&pageState, 0, sizeof(pageState));
|
||||||
displaySetPage(PAGE_WELCOME);
|
dashboardSetPage(PAGE_WELCOME);
|
||||||
|
|
||||||
displayUpdate(micros());
|
dashboardUpdate(micros());
|
||||||
|
|
||||||
displaySetNextPageChangeAt(micros() + (1000 * 1000 * 5));
|
dashboardSetNextPageChangeAt(micros() + (1000 * 1000 * 5));
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayShowFixedPage(pageId_e pageId)
|
void dashboardShowFixedPage(pageId_e pageId)
|
||||||
{
|
{
|
||||||
displaySetPage(pageId);
|
dashboardSetPage(pageId);
|
||||||
displayDisablePageCycling();
|
dashboardDisablePageCycling();
|
||||||
}
|
}
|
||||||
|
|
||||||
void displaySetNextPageChangeAt(uint32_t futureMicros)
|
void dashboardSetNextPageChangeAt(uint32_t futureMicros)
|
||||||
{
|
{
|
||||||
pageState.nextPageAt = futureMicros;
|
pageState.nextPageAt = futureMicros;
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayEnablePageCycling(void)
|
void dashboardEnablePageCycling(void)
|
||||||
{
|
{
|
||||||
pageState.pageFlags |= PAGE_STATE_FLAG_CYCLE_ENABLED;
|
pageState.pageFlags |= PAGE_STATE_FLAG_CYCLE_ENABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayResetPageCycling(void)
|
void dashboardResetPageCycling(void)
|
||||||
{
|
{
|
||||||
pageState.cycleIndex = CYCLE_PAGE_ID_COUNT - 1; // start at first page
|
pageState.cycleIndex = CYCLE_PAGE_ID_COUNT - 1; // start at first page
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayDisablePageCycling(void)
|
void dashboardDisablePageCycling(void)
|
||||||
{
|
{
|
||||||
pageState.pageFlags &= ~PAGE_STATE_FLAG_CYCLE_ENABLED;
|
pageState.pageFlags &= ~PAGE_STATE_FLAG_CYCLE_ENABLED;
|
||||||
}
|
}
|
|
@ -15,7 +15,7 @@
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ENABLE_DEBUG_OLED_PAGE
|
#define ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PAGE_WELCOME,
|
PAGE_WELCOME,
|
||||||
|
@ -30,18 +30,18 @@ typedef enum {
|
||||||
#ifdef GPS
|
#ifdef GPS
|
||||||
PAGE_GPS,
|
PAGE_GPS,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
PAGE_DEBUG,
|
PAGE_DEBUG,
|
||||||
#endif
|
#endif
|
||||||
} pageId_e;
|
} pageId_e;
|
||||||
|
|
||||||
struct rxConfig_s;
|
struct rxConfig_s;
|
||||||
void displayInit(struct rxConfig_s *intialRxConfig);
|
void dashboardInit(struct rxConfig_s *intialRxConfig);
|
||||||
void displayUpdate(uint32_t currentTime);
|
void dashboardUpdate(uint32_t currentTime);
|
||||||
|
|
||||||
void displayShowFixedPage(pageId_e pageId);
|
void dashboardShowFixedPage(pageId_e pageId);
|
||||||
|
|
||||||
void displayEnablePageCycling(void);
|
void dashboardEnablePageCycling(void);
|
||||||
void displayDisablePageCycling(void);
|
void dashboardDisablePageCycling(void);
|
||||||
void displayResetPageCycling(void);
|
void dashboardResetPageCycling(void);
|
||||||
void displaySetNextPageChangeAt(uint32_t futureMicros);
|
void dashboardSetNextPageChangeAt(uint32_t futureMicros);
|
|
@ -39,7 +39,7 @@
|
||||||
#include "sensors/sensors.h"
|
#include "sensors/sensors.h"
|
||||||
|
|
||||||
#include "io/serial.h"
|
#include "io/serial.h"
|
||||||
#include "io/display.h"
|
#include "io/dashboard.h"
|
||||||
#include "io/gps.h"
|
#include "io/gps.h"
|
||||||
|
|
||||||
#include "flight/gps_conversion.h"
|
#include "flight/gps_conversion.h"
|
||||||
|
@ -1072,9 +1072,9 @@ static bool gpsNewFrameUBLOX(uint8_t data)
|
||||||
static void gpsHandlePassthrough(uint8_t data)
|
static void gpsHandlePassthrough(uint8_t data)
|
||||||
{
|
{
|
||||||
gpsNewData(data);
|
gpsNewData(data);
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
if (feature(FEATURE_DISPLAY)) {
|
if (feature(FEATURE_DASHBOARD)) {
|
||||||
displayUpdate(micros());
|
dashboardUpdate(micros());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1088,9 +1088,9 @@ void gpsEnablePassthrough(serialPort_t *gpsPassthroughPort)
|
||||||
if(!(gpsPort->mode & MODE_TX))
|
if(!(gpsPort->mode & MODE_TX))
|
||||||
serialSetMode(gpsPort, gpsPort->mode | MODE_TX);
|
serialSetMode(gpsPort, gpsPort->mode | MODE_TX);
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
if (feature(FEATURE_DISPLAY)) {
|
if (feature(FEATURE_DASHBOARD)) {
|
||||||
displayShowFixedPage(PAGE_GPS);
|
dashboardShowFixedPage(PAGE_GPS);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
#include "io/servos.h"
|
#include "io/servos.h"
|
||||||
#include "io/gimbal.h"
|
#include "io/gimbal.h"
|
||||||
#include "io/ledstrip.h"
|
#include "io/ledstrip.h"
|
||||||
#include "io/display.h"
|
#include "io/dashboard.h"
|
||||||
#include "io/asyncfatfs/asyncfatfs.h"
|
#include "io/asyncfatfs/asyncfatfs.h"
|
||||||
#include "io/serial_cli.h"
|
#include "io/serial_cli.h"
|
||||||
#include "io/transponder_ir.h"
|
#include "io/transponder_ir.h"
|
||||||
|
@ -395,9 +395,9 @@ void init(void)
|
||||||
|
|
||||||
initBoardAlignment(&masterConfig.boardAlignment);
|
initBoardAlignment(&masterConfig.boardAlignment);
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
if (feature(FEATURE_DISPLAY)) {
|
if (feature(FEATURE_DASHBOARD)) {
|
||||||
displayInit(&masterConfig.rxConfig);
|
dashboardInit(&masterConfig.rxConfig);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -585,13 +585,13 @@ void init(void)
|
||||||
if (feature(FEATURE_VBAT | FEATURE_CURRENT_METER))
|
if (feature(FEATURE_VBAT | FEATURE_CURRENT_METER))
|
||||||
batteryInit(&masterConfig.batteryConfig);
|
batteryInit(&masterConfig.batteryConfig);
|
||||||
|
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
if (feature(FEATURE_DISPLAY)) {
|
if (feature(FEATURE_DASHBOARD)) {
|
||||||
#ifdef USE_OLED_GPS_DEBUG_PAGE_ONLY
|
#ifdef USE_OLED_GPS_DEBUG_PAGE_ONLY
|
||||||
displayShowFixedPage(PAGE_GPS);
|
dashboardShowFixedPage(PAGE_GPS);
|
||||||
#else
|
#else
|
||||||
displayResetPageCycling();
|
dashboardResetPageCycling();
|
||||||
displayEnablePageCycling();
|
dashboardEnablePageCycling();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -67,8 +67,8 @@ typedef enum {
|
||||||
#if defined(BARO) || defined(SONAR)
|
#if defined(BARO) || defined(SONAR)
|
||||||
TASK_ALTITUDE,
|
TASK_ALTITUDE,
|
||||||
#endif
|
#endif
|
||||||
#ifdef DISPLAY
|
#ifdef USE_DASHBOARD
|
||||||
TASK_DISPLAY,
|
TASK_DASHBOARD,
|
||||||
#endif
|
#endif
|
||||||
#ifdef TELEMETRY
|
#ifdef TELEMETRY
|
||||||
TASK_TELEMETRY,
|
TASK_TELEMETRY,
|
||||||
|
|
|
@ -89,7 +89,6 @@
|
||||||
#define SENSORS_SET (SENSOR_ACC)
|
#define SENSORS_SET (SENSOR_ACC)
|
||||||
|
|
||||||
#undef GPS
|
#undef GPS
|
||||||
#define DISPLAY
|
|
||||||
#define USE_FLASHFS
|
#define USE_FLASHFS
|
||||||
#define USE_FLASH_M25P16
|
#define USE_FLASH_M25P16
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,6 @@
|
||||||
#undef GPS
|
#undef GPS
|
||||||
#undef USE_SERVOS
|
#undef USE_SERVOS
|
||||||
#define USE_QUAD_MIXER_ONLY
|
#define USE_QUAD_MIXER_ONLY
|
||||||
#define DISPLAY
|
|
||||||
|
|
||||||
|
|
||||||
// IO - assuming all IOs on 48pin package
|
// IO - assuming all IOs on 48pin package
|
||||||
|
|
|
@ -91,7 +91,6 @@
|
||||||
#define SENSORS_SET (SENSOR_ACC)
|
#define SENSORS_SET (SENSOR_ACC)
|
||||||
|
|
||||||
#undef GPS
|
#undef GPS
|
||||||
#define DISPLAY
|
|
||||||
#define USE_FLASHFS
|
#define USE_FLASHFS
|
||||||
#define USE_FLASH_M25P16
|
#define USE_FLASH_M25P16
|
||||||
|
|
||||||
|
|
|
@ -118,8 +118,6 @@
|
||||||
//#define SONAR_TRIGGER_PIN_PWM PB8
|
//#define SONAR_TRIGGER_PIN_PWM PB8
|
||||||
//#define SONAR_ECHO_PIN_PWM PB9
|
//#define SONAR_ECHO_PIN_PWM PB9
|
||||||
|
|
||||||
//#define DISPLAY
|
|
||||||
|
|
||||||
#define USE_UART1
|
#define USE_UART1
|
||||||
#define USE_UART2
|
#define USE_UART2
|
||||||
/* only 2 uarts available on the NAZE, add ifdef here if present on other boards */
|
/* only 2 uarts available on the NAZE, add ifdef here if present on other boards */
|
||||||
|
|
|
@ -130,7 +130,6 @@
|
||||||
#define TELEMETRY
|
#define TELEMETRY
|
||||||
#define SERIAL_RX
|
#define SERIAL_RX
|
||||||
#define AUTOTUNE
|
#define AUTOTUNE
|
||||||
#define DISPLAY
|
|
||||||
#define USE_SERVOS
|
#define USE_SERVOS
|
||||||
#define USE_CLI
|
#define USE_CLI
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (FLASH_SIZE > 128)
|
#if (FLASH_SIZE > 128)
|
||||||
#define DISPLAY
|
#define USE_DASHBOARD
|
||||||
#define TELEMETRY_MAVLINK
|
#define TELEMETRY_MAVLINK
|
||||||
#else
|
#else
|
||||||
#define SKIP_CLI_COMMAND_HELP
|
#define SKIP_CLI_COMMAND_HELP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue