发布时间:2013-04-10 10:05:24
1. .\Output\Q-SYS.axf: Error: L6915E: Library reports error: __use_no_semihosting was requested, but _ttywrch was referenced解决的代码如下: //不使用半主机模式#if 1 //如果没有这段,则需要在target选项中选择使用USE microLIB#pragma import(__use_no_semihosting)struct __FILE {int handle;.........【阅读全文】
发布时间:2013-05-09 10:35:40
1. 文件名: startup_stm32f10x_hd_rtos.s, 代码如下点击(此处)折叠或打开; Tailor this value to your application needs; <h> Stack Configuration; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>; </h>Stac.........【阅读全文】
发布时间:2013-04-15 13:40:13
1. 修改代码后, 系统运行了1个多小时, 异常报告 IDLE任务异常. signed char *pcGetCurTaskName(void);void HardFaultException(unsigned int * hardfault_args,unsigned int *sp){#ifdef HAVE_LCD#if OS_USE_UCOSsprintf(str, "Hard fault: task: %s", OSTCBPrioTbl[OSTCBCur->OSTCBPrio]->OSTCBTaskName);#el.........【阅读全文】
发布时间:2013-03-13 16:15:19
/* 外部调用: delay_init(72); //系统主频, 单位为MHZ, 仅对 SYSTICK_DELAY 有效 delay_ms(1000);*/#include "stm32f10x.h"//#define SOFT_DELAY &n.........【阅读全文】