[conf] lisa/m 1.0 led defaults: LED2 for RADIO_CONTROL_LED, LED3 for AHRS_ALIGNER_LED

This commit is contained in:
Felix Ruess
2012-05-09 23:00:02 +02:00
parent 43cd6df2a1
commit ba448b885f
5 changed files with 8 additions and 8 deletions
@@ -4,10 +4,9 @@
<firmware name="rotorcraft">
<target name="ap" board="lisa_m_2.0">
<define name="ACTUATORS_START_DELAY" value="3"/>
<configure name="AHRS_ALIGNER_LED" value="3"/>
<subsystem name="actuators" type="pwm_supervision"/>
<define name="SERVO_HZ" value="400"/>
<subsystem name="actuators" type="pwm_supervision">
<define name="SERVO_HZ" value="400"/>
</subsystem>
</target>
<target name="sim" board="pc">
<subsystem name="fdm" type="nps"/>
@@ -5,7 +5,6 @@
<firmware name="rotorcraft">
<target name="ap" board="lisa_m_1.0">
<define name="ACTUATORS_START_DELAY" value="3"/>
<configure name="AHRS_ALIGNER_LED" value="3"/>
</target>
<target name="sim" board="pc">
<subsystem name="fdm" type="nps"/>
@@ -6,7 +6,6 @@
<target name="ap" board="lisa_m_1.0">
<define name="ACTUATORS_START_DELAY" value="3"/>
<define name="USE_INS_NAV_INIT"/>
<configure name="AHRS_ALIGNER_LED" value="3"/>
<!--configure name="USE_NEW_I2C_DRIVER" value="1"/-->
</target>
+2 -2
View File
@@ -34,7 +34,7 @@ endif
# default LED configuration
#
ifndef RADIO_CONTROL_LED
RADIO_CONTROL_LED = none
RADIO_CONTROL_LED = 2
endif
ifndef BARO_LED
@@ -42,7 +42,7 @@ BARO_LED = none
endif
ifndef AHRS_ALIGNER_LED
AHRS_ALIGNER_LED = none
AHRS_ALIGNER_LED = 3
endif
ifndef GPS_LED
+3
View File
@@ -6,18 +6,21 @@
#define AHB_CLK 72000000
/* Onboard LEDs */
/* red */
#define LED_1_BANK
#define LED_1_GPIO GPIOB
#define LED_1_GPIO_CLK RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO
#define LED_1_GPIO_PIN GPIO_Pin_4
#define LED_1_AFIO_REMAP GPIO_PinRemapConfig(GPIO_Remap_SWJ_NoJTRST, ENABLE)
/* blue */
#define LED_2_BANK
#define LED_2_GPIO GPIOC
#define LED_2_GPIO_CLK RCC_APB2Periph_GPIOC
#define LED_2_GPIO_PIN GPIO_Pin_5
#define LED_2_AFIO_REMAP ((void)0)
/* blue */
#define LED_3_BANK
#define LED_3_GPIO GPIOC
#define LED_3_GPIO_CLK RCC_APB2Periph_GPIOC