最近看407的数据手册,发现了“The two 2.2 µF ceramic capacitors should not be connected when the voltage regulator is OFF.”想问一下这两个2.2uF的电容要不要接?the voltage regulator is OFF是什么意思?谢谢~
如何解决链接时错误"..objLowCostDA.axf: Error: L6218E: Undefined symbol assert_failed (referred from stm32f10x_flash.o)."?
如果所加入的库是STM32F10xD.LIB(即调试模式库),则需要在无论什么得放添加函数定义
void assert_failed(u8* file, u32 line)
{
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %drn", file, line) */ /* Infinite loop */
while (1)
{
}
}
打开中断的时机不正确,导致无法进行任务切换。
由于我过早地打开了 SysTick 中断,而我在SysTickHandler 中有如下语句:
{
...
OS_ENTER_CRITICAL(); /* Tell uC/OS-II that we are starting an ISR */
OSIntNesting++;
OS_EXIT_CRITICAL();