COSMIC for STM8 无限制版

2019-12-14 12:00发布

CXSTM8 4.2.8 无需License,去除16K限制,由于还没正式用STM8只简单测试了一下,有兴趣的朋友可以试试,如有问题请跟帖,谢谢!
点击此处下载 ourdev_423629.rar(文件大小:7.35M) (原文件名:CXSTM8.rar)
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
98条回答
hl1200aa
2019-12-20 01:20
【19楼】 kankanxiong  
在main函数下面加入这些代码:

/**
  * @brief Reports the name of the source file and the source line number where
  * the assert error has occurred.
  * User can add his own implementation to report the file name and line number.
  * ex: printf("Wrong parameters value: file %s on line %d ", file, line)
  * @retval void None
  * @par Required preconditions:
  * None
  * @par Called functions:
  * None
  */
#ifdef FULL_ASSERT
void assert_failed(u8 *file, u16 line)
#else
void assert_failed(void)
#endif
{
  /* Add your own code to manage an assert error */
  /* Infinite loop */
  while (1)
  {
  }
}

一周热门 更多>