1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

OP-896: rename RevoMini to Revolution

This commit is contained in:
Oleg Semyonov 2013-04-14 01:34:43 +02:00
parent 6afbef01eb
commit 399cafe7d7
37 changed files with 30 additions and 31 deletions

View File

@ -198,14 +198,14 @@ export OPUAVSYNTHDIR := $(BUILD_DIR)/uavobject-synthetics/flight
export OPGCSSYNTHDIR := $(BUILD_DIR)/openpilotgcs-synthetics
# Define supported board lists
ALL_BOARDS := coptercontrol oplinkmini sensortest revomini osd simposix
ALL_BOARDS := coptercontrol oplinkmini sensortest revolution osd simposix
ALL_BOARDS_BU := coptercontrol oplinkmini simposix
# Friendly names of each board (used to find source tree)
coptercontrol_friendly := CopterControl
oplinkmini_friendly := OPLinkMini
sensortest_friendly := SensorTest
revomini_friendly := RevoMini
revolution_friendly := Revolution
osd_friendly := OSD
simposix_friendly := SimPosix
@ -213,7 +213,7 @@ simposix_friendly := SimPosix
coptercontrol_short := 'cc '
oplinkmini_short := 'oplm'
sensortest_short := 'stst'
revomini_short := 'rm '
revolution_short := 'revo'
osd_short := 'osd '
simposix_short := 'posx'

View File

@ -23,9 +23,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef STM32103CB_CC_H_
#define STM32103CB_CC_H_
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
//------------------------
// Timers and Channels Used
@ -275,4 +274,5 @@ extern uint32_t pios_com_debug_id;
#define PIOS_USB_DETECT_GPIO_PORT GPIOC
#define PIOS_USB_MAX_DEVS 1
#define PIOS_USB_DETECT_GPIO_PIN GPIO_Pin_15
#endif /* STM32103CB_CC_H_ */
#endif /* PIOS_BOARD_H */

View File

@ -23,8 +23,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef STM32103CB_OPLINKMINI_H
#define STM32103CB_OPLINKMINI_H
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
#define ADD_ONE_ADC
@ -312,4 +312,4 @@ extern uint32_t pios_packet_handler;
#define PIOS_FLASH_EEPROM_ADDR (PIOS_FLASH_EEPROM_START_ADDR + PIOS_FLASH_SIZE - PIOS_FLASH_PAGE_SIZE)
#define PIOS_FLASH_EEPROM_LEN PIOS_FLASH_PAGE_SIZE
#endif /* STM32103CB_OPLINKMINI_H */
#endif /* PIOS_BOARD_H */

View File

@ -26,7 +26,6 @@
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
#include <stdbool.h>
// *****************************************************************
@ -292,5 +291,4 @@ extern uint32_t pios_i2c_flexiport_adapter_id;
#define PIOS_FUNLINK(filename) DFS_UnlinkFile(&PIOS_SDCARD_VolInfo, (uint8_t *)filename, PIOS_SDCARD_Sector)
#endif /* PIOS_BOARD_H */

View File

@ -26,8 +26,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef STM3210E_INS_H_
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
#include <stdbool.h>
@ -301,7 +301,8 @@ extern uint32_t pios_packet_handler;
#define PIOS_USB_ENABLED 1 /* Should remove all references to this */
#define PIOS_USB_HID_MAX_DEVS 1
#endif /* STM3210E_INS_H_ */
#endif /* PIOS_BOARD_H */
/**
* @}
* @}

View File

@ -26,9 +26,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef STM3210E_INS_H_
#define STM3210E_INS_H_
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
#include <stdbool.h>
@ -263,7 +262,8 @@ extern uint32_t pios_com_vcp_id;
#define PIOS_USB_ENABLED 1 /* Should remove all references to this */
#define PIOS_USB_HID_MAX_DEVS 1
#endif /* STM3210E_INS_H_ */
#endif /* PIOS_BOARD_H */
/**
* @}
* @}

View File

@ -1,12 +1,15 @@
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
/*
* Generic pios_board.h header.
* There is no #ifdef guard here since only one of headers should be included.
* All they share the same guard define to prevent double inclusion.
*/
#if USE_STM32103CB_CC_Rev1
#include "STM32103CB_CC_Rev1.h"
#elif USE_STM32103CB_OPLINKMINI
#include "STM32103CB_OPLinkMini_Rev1.h"
#elif USE_STM32F4xx_RM
#include "STM32F4xx_RevoMini.h"
#include "STM32F4xx_Revolution.h"
#elif USE_STM32F4xx_OSD
#include "STM32F4xx_OSD.h"
#elif USE_STM32F4xx_OP
@ -16,5 +19,3 @@
#else
#error Board definition has not been provided.
#endif
#endif /* PIOS_BOARD_H */

View File

@ -26,10 +26,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SIM_POSIX_H_
#define SIM_POSIX_H_
#ifndef PIOS_BOARD_H
#define PIOS_BOARD_H
/**
* glue macros for file IO
@ -256,7 +254,8 @@ extern uint32_t pios_com_vcp_id;
//#define PIOS_USB_ENABLED 1 /* Should remove all references to this */
//#define PIOS_USB_HID_MAX_DEVS 1
#endif /* SIM_POSIX_H_ */
#endif /* PIOS_BOARD_H */
/**
* @}
* @}

View File

@ -7,7 +7,7 @@
* @{
* @addtogroup OpenPilotCore OpenPilot Core
* @{
* @brief Defines board specific static initializers for hardware for the RevoMini board.
* @brief Defines board specific static initializers for hardware for the Revolution board.
*****************************************************************************/
/*
* This program is free software; you can redistribute it and/or modify

View File

@ -578,7 +578,7 @@ bool UploaderGadgetWidget::autoUpdate()
filename = "fw_sensortest";
break;
case 0x903:
filename = "fw_revomini";
filename = "fw_revolution";
break;
default:
emit autoUpdateSignal(FAILURE,QVariant());