/** ****************************************************************************** * @file bsp_led.c * @author fire * @version V1.0 * @date 2015-xx-xx * @brief led应用函数接口 ****************************************************************************** * @attention * * 实验平台:野火 STM32 F429 开发板 * 论坛 :http://www.firebbs.cn * 淘宝 :https://fire-stm32.taobao.com * ****************************************************************************** */ #include #include #include "./flash/bsp_qspi_flash.h" #include "RES_MGR.h" /*=========================================================================================*/ /** * @brief 从FLASH中的目录查找相应的资源位置 * @param res_base 目录在FLASH中的基地址 * @param res_name[in] 要查找的资源名字 * @retval -1表示找不到,其余值表示资源在FLASH中的基地址 */ int GetResOffset(const char *res_name) { int i,len; CatalogTypeDef dir; len =strlen(res_name); for(i=0;i