调整适配目录层级
This commit is contained in:
@ -39,6 +39,15 @@ typedef struct {
|
||||
hal_gpio_pull_t pull; /*!< LED GPIO pull configuration */
|
||||
} bsp_led_config_t;
|
||||
|
||||
/**
|
||||
* @brief Board LEDs configuration structure
|
||||
*/
|
||||
typedef struct {
|
||||
uint8_t enable; /*!< LEDs enable flag */
|
||||
uint8_t count; /*!< Number of LEDs */
|
||||
const bsp_led_config_t* leds; /*!< Pointer to LEDs configuration array */
|
||||
} bsp_leds_config_t;
|
||||
|
||||
/**
|
||||
* @brief Board button configuration structure
|
||||
*/
|
||||
@ -278,7 +287,7 @@ typedef struct {
|
||||
bsp_board_hw_info_t hw_info; /*!< Hardware information */
|
||||
|
||||
/* Peripheral configurations */
|
||||
bsp_led_config_t led; /*!< LED configuration */
|
||||
bsp_leds_config_t leds; /*!< LEDs configuration */
|
||||
bsp_buttons_config_t buttons; /*!< Buttons configuration */
|
||||
bsp_w25qxx_config_t w25qxx; /*!< W25QXX configuration */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user