Browse Source

Rename board configuration to PD Buddy Sink

That's the name of the board now, so the configuration should match.
Clara Hobbs 5 years ago
parent
commit
eb6ebe0b7c

+ 1
- 1
Makefile View File

@@ -87,7 +87,7 @@ include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_stm32f0xx.mk
87 87
 # HAL-OSAL files (optional).
88 88
 include $(CHIBIOS)/os/hal/hal.mk
89 89
 include $(CHIBIOS)/os/hal/ports/STM32/STM32F0xx/platform.mk
90
-include $(CHIBIOS)/../boards/PD_BUDDY/board.mk
90
+include $(CHIBIOS)/../boards/PD_BUDDY_SINK/board.mk
91 91
 include $(CHIBIOS)/os/hal/osal/rt/osal.mk
92 92
 # RTOS files (optional).
93 93
 include $(CHIBIOS)/os/rt/rt.mk

+ 0
- 5
boards/PD_BUDDY/board.mk View File

@@ -1,5 +0,0 @@
1
-# List of all the board related files.
2
-BOARDSRC = $(CHIBIOS)/../boards/PD_BUDDY/board.c
3
-
4
-# Required include directories
5
-BOARDINC = $(CHIBIOS)/../boards/PD_BUDDY

boards/PD_BUDDY/board.c → boards/PD_BUDDY_SINK/board.c View File


boards/PD_BUDDY/board.h → boards/PD_BUDDY_SINK/board.h View File

@@ -41,14 +41,14 @@
41 41
 #define BOARD_H
42 42
 
43 43
 /*
44
- * Setup for PD Buddy board.
44
+ * Setup for PD Buddy Sink board.
45 45
  */
46 46
 
47 47
 /*
48 48
  * Board identifier.
49 49
  */
50
-#define BOARD_PD_BUDDY
51
-#define BOARD_NAME                  "PD Buddy"
50
+#define BOARD_PD_BUDDY_SINK
51
+#define BOARD_NAME                  "PD Buddy Sink"
52 52
 
53 53
 /*
54 54
  * Board oscillators-related settings.

+ 5
- 0
boards/PD_BUDDY_SINK/board.mk View File

@@ -0,0 +1,5 @@
1
+# List of all the board related files.
2
+BOARDSRC = $(CHIBIOS)/../boards/PD_BUDDY_SINK/board.c
3
+
4
+# Required include directories
5
+BOARDINC = $(CHIBIOS)/../boards/PD_BUDDY_SINK

boards/PD_BUDDY/cfg/board.chcfg → boards/PD_BUDDY_SINK/cfg/board.chcfg View File

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<!--PD Buddy ChibiOS board configuration-->
2
+<!--PD Buddy Sink ChibiOS board configuration-->
3 3
 <board
4 4
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 5
   xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32f0xx_board.xsd">
@@ -8,12 +8,12 @@
8 8
     <output_path>..</output_path>
9 9
     <hal_version>3.0.x</hal_version>
10 10
   </configuration_settings>
11
-  <board_name>PD Buddy</board_name>
12
-  <board_id>PD_BUDDY</board_id>
11
+  <board_name>PD Buddy Sink</board_name>
12
+  <board_id>PD_BUDDY_SINK</board_id>
13 13
   <board_functions></board_functions>
14 14
   <subtype>STM32F072xB</subtype>
15 15
   <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0"
16
-  	LSEBypass="false" LSEDrive="3 High Drive (default)" />
16
+  	LSEBypass="false" LSEDrive="3 High Drive (default)" ></clocks>
17 17
   <ports>
18 18
     <GPIOA>
19 19
       <pin0

Loading…
Cancel
Save