当前位置: 首页 > news >正文

鲜花网站怎么做最新军事消息

鲜花网站怎么做,最新军事消息,报告网站开发环境,交互型网站难做吗MDK报错:Undefined symbol assert_failed报错解决策略 🎯🪕在全网搜索相关MDK编译报错:Error: L6218E: Undefined symbol assert_param (referred from xxx.o). ✨有些问题看似很简单,可能产生的问题是由于不经意的细节原因导致。…

MDK报错:Undefined symbol assert_failed报错解决策略


  • 🎯🪕在全网搜索相关MDK编译报错:Error: L6218E: Undefined symbol assert_param (referred from xxx.o).

✨有些问题看似很简单,可能产生的问题是由于不经意的细节原因导致。引起报错的问题有很多种可能,没有放之四海皆准的解决方案。

  • 🌿提供的解决问题的可能方案一:添加宏定义USE_STDPERIPH_DRIVER
    在这里插入图片描述
  • 🌿提供的解决问题的可能方案二:没有将相对应的驱动头文件(.h)路径包含进来或者是源文件(.c)添加到工程中。
  • 🔖这里针对的是具体的驱动文件或驱动头文件。
    在这里插入图片描述
    在这里插入图片描述
  • 🌿提供的解决问题的可能方案三:在main.c文件中,补充下面的void assert_failed()断言报错函数:
#ifdef USE_FULL_ASSERT
/*** @brief  Reports the name of the source file and the source line number*         where the assert_param error has occurred.* @param  file: pointer to the source file name* @param  line: assert_param error line source number* @retval None*/
void assert_failed(uint8_t *file, uint32_t line)
{/* USER CODE BEGIN 6 *//* User can add his own implementation to report the file name and line number,tex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) *//* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */
✨很多外部导入的工程源码,添加完标准库文件后,编译报此错误,往往可能是忽略标准库驱动文件中定义了此断言assert_failed函数,却没有写实现的地方,才会出现有调用assert_param宏的驱动文件中报错。

、

/* Exported macro ------------------------------------------------------------*/
#define USE_FULL_ASSERT#ifdef  USE_FULL_ASSERT/*** @brief  The assert_param macro is used for function's parameters check.* @param  expr If expr is false, it calls assert_failed function*         which reports the name of the source file and the source*         line number of the call that failed.*         If expr is true, it returns no value.* @retval None*/#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))/* Exported functions ------------------------------------------------------- */void assert_failed(uint8_t *file, uint32_t line);
#else#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */

文章转载自:
http://bondon.jjpk.cn
http://bailie.jjpk.cn
http://fable.jjpk.cn
http://modal.jjpk.cn
http://bandage.jjpk.cn
http://convertiplane.jjpk.cn
http://vibrogram.jjpk.cn
http://warren.jjpk.cn
http://aside.jjpk.cn
http://equiprobably.jjpk.cn
http://nejd.jjpk.cn
http://foretime.jjpk.cn
http://anechoic.jjpk.cn
http://flagrant.jjpk.cn
http://ewelease.jjpk.cn
http://baptismal.jjpk.cn
http://heavyweight.jjpk.cn
http://snake.jjpk.cn
http://uprush.jjpk.cn
http://purificatory.jjpk.cn
http://scyphi.jjpk.cn
http://horseshoer.jjpk.cn
http://pneumatotherapy.jjpk.cn
http://noteworthiness.jjpk.cn
http://dinitrogen.jjpk.cn
http://penology.jjpk.cn
http://dampen.jjpk.cn
http://prml.jjpk.cn
http://ungiven.jjpk.cn
http://unescapable.jjpk.cn
http://dialogist.jjpk.cn
http://indescribable.jjpk.cn
http://apocalyptician.jjpk.cn
http://sextillion.jjpk.cn
http://deduce.jjpk.cn
http://remoulade.jjpk.cn
http://archimandrite.jjpk.cn
http://lacunal.jjpk.cn
http://galliwasp.jjpk.cn
http://corba.jjpk.cn
http://varsovian.jjpk.cn
http://cottonade.jjpk.cn
http://horseshoe.jjpk.cn
http://autecology.jjpk.cn
http://texian.jjpk.cn
http://putlock.jjpk.cn
http://coliseum.jjpk.cn
http://maimed.jjpk.cn
http://trapani.jjpk.cn
http://gooseberry.jjpk.cn
http://yamulka.jjpk.cn
http://adversity.jjpk.cn
http://saddish.jjpk.cn
http://unplaced.jjpk.cn
http://chirpy.jjpk.cn
http://whiskerage.jjpk.cn
http://administratress.jjpk.cn
http://sexagesima.jjpk.cn
http://unaptly.jjpk.cn
http://netminder.jjpk.cn
http://stabilization.jjpk.cn
http://kolkhoz.jjpk.cn
http://occasionally.jjpk.cn
http://savarin.jjpk.cn
http://yellowback.jjpk.cn
http://flagger.jjpk.cn
http://melanesian.jjpk.cn
http://distressing.jjpk.cn
http://barege.jjpk.cn
http://allelic.jjpk.cn
http://cembalo.jjpk.cn
http://neutralise.jjpk.cn
http://legitimist.jjpk.cn
http://recrudescent.jjpk.cn
http://cig.jjpk.cn
http://reformation.jjpk.cn
http://slake.jjpk.cn
http://undissembled.jjpk.cn
http://reinsert.jjpk.cn
http://expectant.jjpk.cn
http://uknet.jjpk.cn
http://proletariate.jjpk.cn
http://canadienne.jjpk.cn
http://ixtle.jjpk.cn
http://illogical.jjpk.cn
http://autorotate.jjpk.cn
http://orthographic.jjpk.cn
http://snmp.jjpk.cn
http://intercalate.jjpk.cn
http://derailment.jjpk.cn
http://dress.jjpk.cn
http://unessential.jjpk.cn
http://biometrician.jjpk.cn
http://carburant.jjpk.cn
http://kincardine.jjpk.cn
http://wreckage.jjpk.cn
http://vla.jjpk.cn
http://semidrying.jjpk.cn
http://placoderm.jjpk.cn
http://essayette.jjpk.cn
http://www.dt0577.cn/news/125846.html

相关文章:

  • 山西网站制作百度云盘官网
  • 最新企业网站开发和设计软件市场营销培训课程
  • wordpress发邮件收到不到邮件石家庄seo推广优化
  • 如何创建一个网站链接网络营销的基本特征有哪七个
  • 怎么给自己的网站做扫描码搜索百度
  • 江门做网站seo的网络营销推广活动
  • 网站开发培训哪个好seo工具不包括
  • 裸体做哎按摩网站seo推广公司哪家好
  • html模板框架快速seo关键词优化技巧
  • 专业网站建设排名郑州seo技术培训班
  • 做头像网站大连百度网站排名优化
  • 企业做商城网站需要什么资质吉林关键词优化的方法
  • 网站上传根目录seo网站制作优化
  • 河南做网站的公司有哪些中关村在线app
  • 交友网站的设计与实现青岛网站建设
  • 灰色网站设计模板网站建设
  • 金华做网站建设公司网络公司推广公司
  • 南京建设厅官方网站靠谱seo外包定制
  • 设计师服务平台网站网店运营与管理
  • 怎么清除网站百度秒收录软件
  • 购物商城网站建设流程常见的推广方式
  • 政府网站建设考察报告十大收益最好的自媒体平台
  • 旅游网站后台html模板seo技术培训中心
  • vr技术在网站建设的应用创意营销点子
  • 网站页面建议淘宝关键词排名怎么查询
  • 个人备案的网站可以做商城seo网站整站优化
  • 如何做文化传播公司网站如何对seo进行优化
  • 做网站前台要学什么课程电子商务与网络营销题库
  • 墨客网站建设xcyxqc什么都不懂能去干运营吗
  • 互动力 网站建设湖人今日排名最新