自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 ucosii入门验证

ucosii入门验证验证代码#include "sys.h"#include "delay.h"#include "usart.h"#include "led.h"#include "includes.h"#define START_TASK_PRIO 10#define START_STK_SIZE 128OS_STK START_TASK_STK[START_STK_SIZE];void start_task(void *pdata);#define LED0_

2021-01-21 21:52:38 363

原创 变量补漏(一)

变量补漏(一)验证代码/*test_func.c*/#include <stdio.h>extern int a;extern int b;void func(){ int test = 10; printf("in func a = %d\n", a); printf("in func b = %d\n", b);}/*static_test*/#include <stdio.h>int a = 10;static int b = 0;

2021-01-20 22:44:04 103

原创 UCOSIII入门(移植验证)

UCOSIII入门(一)

2021-01-20 18:52:45 231

原创 指针、变量补漏(一)

线程指针需要初始化后再赋值,类似于C# New一下,不然指针未指向变量,无实际指向的内存,导致segment faultpthread_t *th;//pthread_create(th, NULL, func, NULL);//th未初始化赋值,发生segment fault=========》》pthread_t th;//pthread_create(&th, NULL, func, NULL);验证代码#include <stdio.h>#include

2021-01-19 23:07:43 89

ucosii移植验证.7z

ucosii移植验证,自学

2021-01-21

ucosiii移植验证.7z

ucosiii移植学习验证

2021-01-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除