paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5082] new file for new board


From: Paul Cox
Subject: [paparazzi-commits] [5082] new file for new board
Date: Tue, 20 Jul 2010 14:14:51 +0000

Revision: 5082
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5082
Author:   paulcox
Date:     2010-07-20 14:14:51 +0000 (Tue, 20 Jul 2010)
Log Message:
-----------
new file for new board

Added Paths:
-----------
    paparazzi3/trunk/conf/autopilot/boards/beth.h

Added: paparazzi3/trunk/conf/autopilot/boards/beth.h
===================================================================
--- paparazzi3/trunk/conf/autopilot/boards/beth.h                               
(rev 0)
+++ paparazzi3/trunk/conf/autopilot/boards/beth.h       2010-07-20 14:14:51 UTC 
(rev 5082)
@@ -0,0 +1,35 @@
+#ifndef CONFIG_BETH_H
+#define CONFIG_BETH_H
+
+#define AHB_CLK 72000000
+
+/* this board uses a crystal for HSE */
+//#define HSE_TYPE RCC_HSE_ON
+
+/* Onboard LEDs */
+#define LED_1_BANK 
+#define LED_1_GPIO GPIOC
+#define LED_1_GPIO_CLK RCC_APB2Periph_GPIOC
+#define LED_1_GPIO_PIN GPIO_Pin_12
+
+#define LED_4_BANK 
+#define LED_4_GPIO GPIOA
+#define LED_4_GPIO_CLK RCC_APB2Periph_GPIOA
+#define LED_4_GPIO_PIN GPIO_Pin_6
+
+#define LED_5_BANK 
+#define LED_5_GPIO GPIOA
+#define LED_5_GPIO_CLK RCC_APB2Periph_GPIOA
+#define LED_5_GPIO_PIN GPIO_Pin_7
+
+#define LED_6_BANK 
+#define LED_6_GPIO GPIOB
+#define LED_6_GPIO_CLK RCC_APB2Periph_GPIOB
+#define LED_6_GPIO_PIN GPIO_Pin_0
+
+#define LED_7_BANK 
+#define LED_7_GPIO GPIOB
+#define LED_7_GPIO_CLK RCC_APB2Periph_GPIOB
+#define LED_7_GPIO_PIN GPIO_Pin_1
+
+#endif /* CONFIG_BETH_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]