Merge branch 'public-export-build' into fmuv2_bringup

This commit is contained in:
Lorenz Meier
2013-04-28 14:54:57 +02:00
13 changed files with 60 additions and 35 deletions
+8
View File
@@ -86,9 +86,17 @@ __EXPORT void stm32_boardinitialize(void)
stm32_configgpio(GPIO_SERVO_PWR_EN);
stm32_configgpio(GPIO_RELAY1_EN);
stm32_configgpio(GPIO_RELAY2_EN);
/* turn off - all leds are active low */
stm32_gpiowrite(GPIO_LED1, true);
stm32_gpiowrite(GPIO_LED2, true);
stm32_gpiowrite(GPIO_LED3, true);
/* LED config */
stm32_configgpio(GPIO_LED1);
stm32_configgpio(GPIO_LED2);
stm32_configgpio(GPIO_LED3);
stm32_configgpio(GPIO_ACC_OC_DETECT);
stm32_configgpio(GPIO_SERVO_OC_DETECT);
stm32_configgpio(GPIO_BTN_SAFETY);
+3 -1
View File
@@ -32,7 +32,9 @@
****************************************************************************/
/**
* @file PX4IO hardware definitions.
* @file px4io_internal.h
*
* PX4IO hardware definitions.
*/
#pragma once
@@ -1,6 +1,6 @@
############################################################################
#
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
# Copyright (c) 2012, 2013 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -32,7 +32,7 @@
############################################################################
#
# Makefile to build the LED driver.
# Build the LED driver.
#
include $(APPDIR)/mk/app.mk
SRCS = led.cpp