aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/STM32F7DISC/board_init.c
diff options
context:
space:
mode:
authorDamien George2017-09-06 13:40:51 +1000
committerDamien George2017-09-06 13:40:51 +1000
commit01dd7804b87d60b2deab16712eccb3b97351a9b7 (patch)
tree1aa21f38a872b8e62a3d4e4f74f68033c6f827e4 /stmhal/boards/STM32F7DISC/board_init.c
parenta9862b30068fc9df1022f08019fb35aaa5085f64 (diff)
ports: Make new ports/ sub-directory and move all ports there.
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
Diffstat (limited to 'stmhal/boards/STM32F7DISC/board_init.c')
-rw-r--r--stmhal/boards/STM32F7DISC/board_init.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/stmhal/boards/STM32F7DISC/board_init.c b/stmhal/boards/STM32F7DISC/board_init.c
deleted file mode 100644
index 4530a4706..000000000
--- a/stmhal/boards/STM32F7DISC/board_init.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include STM32_HAL_H
-
-void STM32F7DISC_board_early_init(void) {
- GPIO_InitTypeDef GPIO_InitStructure;
-
- __GPIOK_CLK_ENABLE();
-
- // Turn off the backlight. LCD_BL_CTRL = PK3
- GPIO_InitStructure.Pin = GPIO_PIN_3;
- GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP;
- GPIO_InitStructure.Pull = GPIO_PULLUP;
- GPIO_InitStructure.Speed = GPIO_SPEED_HIGH;
- HAL_GPIO_Init(GPIOK, &GPIO_InitStructure);
- HAL_GPIO_WritePin(GPIOK, GPIO_PIN_3, GPIO_PIN_RESET);
-}