feat add gpio for hc32f4a0 board

This commit is contained in:
Liu_Weichao
2022-12-05 11:23:56 +08:00
parent d0902ca37f
commit dc8244cc5d
7 changed files with 1019 additions and 0 deletions
@@ -34,6 +34,10 @@ Modification:
#include <hc32_ll.h>
#include <connect_usart.h>
#ifdef BSP_USING_GPIO
#include <connect_gpio.h>
#endif
#ifdef BSP_USING_SDIO
#include <connect_sdio.h>
#endif
@@ -149,6 +153,9 @@ void SysTick_Handler(void)
struct InitSequenceDesc _board_init[] =
{
#ifdef BSP_USING_GPIO
{ "hw_pin", HwGpioInit },
#endif
#ifdef BSP_USING_SDIO
{ "sdio", HwSdioInit },
#endif