Rename asc board to aerofc

This commit is contained in:
Lucas De Marchi
2016-11-28 09:21:12 +01:00
committed by Lorenz Meier
parent 4b90daf605
commit 0cd7984b7f
19 changed files with 16 additions and 15 deletions
@@ -32,15 +32,15 @@
#
############################################################################
px4_add_module(
MODULE drivers__boards__asc-v1
MODULE drivers__boards__aerofc-v1
COMPILE_FLAGS
SRCS
../common/board_name.c
asc_init.c
asc_timer_config.c
asc_spi.c
asc_usb.c
asc_led.c
aerofc_init.c
aerofc_timer_config.c
aerofc_spi.c
aerofc_usb.c
aerofc_led.c
DEPENDS
platforms__common
)
@@ -64,7 +64,7 @@
* Name: stm32_spiinitialize
*
* Description:
* Called to configure SPI chip select GPIO pins for the tap-v1 board.
* Called to configure SPI chip select GPIO pins for the AEROFC-v1 board.
*
************************************************************************************/
@@ -197,4 +197,4 @@ __EXPORT void stm32_spi4select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
__EXPORT uint8_t stm32_spi4status(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
{
return SPI_STATUS_PRESENT;
}
}
@@ -37,7 +37,7 @@
* @author David Sidrane <david_s5@nscdg.com>
* @author Lorenz Meier <lorenz@px4.io>
*
* TAP_V1 internal definitions
* AEROFC_V1 internal definitions
*/
#pragma once
@@ -201,7 +201,7 @@
#define HRT_TIMER 3 /* use timer8 for the HRT */
#define HRT_TIMER_CHANNEL 4 /* use capture/compare channel */
#define BOARD_NAME "TAP_V1"
#define BOARD_NAME "AEROFC_V1"
/* By Providing BOARD_ADC_USB_CONNECTED this board support the ADC
* system_power interface, and herefore provides the true logic
+2 -1
View File
@@ -219,7 +219,7 @@
/* no GPIO driver on the PX4_STM32F4DISCOVERY board */
#endif
#ifdef CONFIG_ARCH_BOARD_ASC_V1
#ifdef CONFIG_ARCH_BOARD_AEROFC_V1
/* no GPIO driver on the ASC board */
#endif
@@ -239,6 +239,7 @@
!defined(CONFIG_ARCH_BOARD_SITL) && \
!defined(CONFIG_ARCH_BOARD_TAP_V1) && \
!defined(CONFIG_ARCH_BOARD_ASC_V1) && \
!defined(CONFIG_ARCH_BOARD_AEROFC_V1) && \
!defined(CONFIG_ARCH_BOARD_CRAZYFLIE)
# error No CONFIG_ARCH_BOARD_xxxx set
#endif