#define configMINIMAL_STACK_SIZE ( ( uint16_t ) 128 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2 * 1024 ) )
configuration file 里面 这两个选项是按照 nucleo 提供的 例子…
#define configMINIMAL_STACK_SIZE ( ( uint16_t ) 128 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2 * 1024 ) )
configuration file 里面 这两个选项是按照 nucleo 提供的 例子…
刚才我后台用软件做了一个抽奖,现在公布抽奖获奖的10位用户名单,他们每人将获得ARM工具一套:
| 编号 | 用户名 |
|---|---|
| 1 | orima |
| 2 | zyd |
| 3 | ecson_2006 |
| 4 | crushonme |
| 5 | moyanming2013 |
| 6 | sacq |
| 7 | audier |
| 8 | zhangbolily |
| 9 | zhangdaijin |
| 10 | xiangxinziji |
下面是我的程序,我想让一个led灯亮灭交替闪烁,然后我在MDK里面仿真的时候,这个IO口电平是会交替变化的,但我把程序写进stm32的时候,它就什么反应都没有了,请问这是为什么啊?麻烦各位帮帮忙看一下程序。
谢谢你们了。
#include <sys.h>
#include "stm32f10x_rcc.h"
#include "stm32f10x_flash.h"
#include "delay.h"
int main (void)
{
…
学了stm32一阵子,知道了有两种方法设置时钟。一个是用systemInit(),里面打包好了rcc设置的东西,另外一种途径就是使用st提供的各种RCC函数,一个个rcc寄存器去操作。两种方法最终目的都一样。但这两种方法当中,都有对中断向量表进行配置的语句
#ifdef VECT_TAB_RAM
MY_NVIC_SetVectorTable(0x20000000, 0x0);
#else
MY_NVIC_SetVectorTable(0x08000000…