summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/stm32f303disc/board_stm32f303disc.c6
-rw-r--r--hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/hw/bsp/stm32f303disc/board_stm32f303disc.c b/hw/bsp/stm32f303disc/board_stm32f303disc.c
index d2f6244f7..e4afbf8ce 100644
--- a/hw/bsp/stm32f303disc/board_stm32f303disc.c
+++ b/hw/bsp/stm32f303disc/board_stm32f303disc.c
@@ -97,6 +97,12 @@ void board_led_control(bool state)
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_9, state);
}
+uint32_t board_button_read(void)
+{
+ // TODO implement
+ return 0;
+}
+
/*------------------------------------------------------------------*/
/* TUSB HAL MILLISECOND
*------------------------------------------------------------------*/
diff --git a/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c b/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c
index d7b4a4bd3..2622dde11 100644
--- a/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c
+++ b/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c
@@ -91,6 +91,12 @@ void board_led_control(bool state)
}
}
+uint32_t board_button_read(void)
+{
+ // TODO implement
+ return 0;
+}
+
/*------------------------------------------------------------------*/
/* TUSB HAL MILLISECOND