进一步迭代优化统一管理

This commit is contained in:
冯佳
2026-01-23 14:35:51 +08:00
parent 988cc7ad4a
commit 075e8299cf
36 changed files with 6146 additions and 1590 deletions

View File

@ -37,16 +37,16 @@ const bsp_board_config_t* bsp_board_get_by_name(const char* name);
/**
* @brief Set current board configuration by index
* @param index: Board configuration index
* @retval 0 if successful, -1 if invalid index
* @retval HAL status code
*/
int8_t bsp_board_set_by_index(uint8_t index);
hal_ret_t bsp_board_set_by_index(uint8_t index);
/**
* @brief Set current board configuration by name
* @param name: Board name string
* @retval 0 if successful, -1 if not found
* @retval HAL status code
*/
int8_t bsp_board_set_by_name(const char* name);
hal_ret_t bsp_board_set_by_name(const char* name);
/**
* @brief Get current board configuration