此帖出自ARM技术论坛
最新回复
需要在函数中添加:
#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 can add his own implementation to report the file name and line number, ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
/* Infinite loop */ while (1) { }}#endif
复制代码
详情
回复
发表于 2012-7-7 09:45
| ||
|
||
| |
|
|
此帖出自ARM技术论坛
| ||
个人签名我的博客
|
||
曾经的版主且威望大于2000,或对EEWORLD论坛有突出贡献的坛友
EEWorld Datasheet 技术支持