上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 1、在一个函数上右键选择预览,出现了预览框,可是文件也自动换成了目标文件,奇葩的是文件名还是原来的文件名,保存后原来的文件被替换了: https://www.zhihu.com/question/279135940 删掉原先的GBKtoUTF8插件 阅读全文
posted @ 2021-10-01 09:47 olivertian 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 在设置中搜索,C_Cpp.errorSquiggles,然后下拉点击disable 阅读全文
posted @ 2021-10-01 09:23 olivertian 阅读(886) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/asty9000/article/details/90202510?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1.no_search_l 阅读全文
posted @ 2021-09-13 20:44 olivertian 阅读(851) 评论(0) 推荐(0) 编辑
摘要: strtok用法,以空格为分隔符为例1、cmd_buf以空格开头,p总是指向第一个不为空格的字符,比如cmd_buf="空格空格空格set"p会指向set的s,而不会指向前面的某个空格2、cmd_buf以空格开头,开头的空格不会替换成'\0',而中间的空格会被替换成'\0'但连续的空格只有第一个会被 阅读全文
posted @ 2021-08-23 23:00 olivertian 阅读(306) 评论(0) 推荐(0) 编辑
摘要: printf("\b "); printf("\b"); 小小功能摸索了半天,第一个printf是\b后面加个空格,第二个没有空格,只有\b,两个printf都要写才能实现功能 或直接写成printf("\b \b"); 阅读全文
posted @ 2021-08-22 20:09 olivertian 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 关键点: 1、进入PendSV前,硬件自动压栈了PSR、PC、LR、R12、R3~R0的寄存器(使用PSP指针,压入任务堆栈,即硬件自动保存“调用者保存寄存器”),对应图中的① 2、进入PendSV后,手动保存R4-R11,对应xPortPendSVHandler函数中的stmdb r0!, {r4 阅读全文
posted @ 2021-07-30 11:02 olivertian 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: 个人记录,保存在此处,逻辑能用,但是通讯速率只能小于5K,但是可以优化(改为用寄存器操作) /* USER CODE BEGIN Header */ /** *********************************************************************** 阅读全文
posted @ 2021-06-25 11:56 olivertian 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 相应的视频教程:https://www.bilibili.com/video/BV1pW411p7ae?p=1 ;****************************************************************************** ;* File Name : 阅读全文
posted @ 2021-06-01 20:12 olivertian 阅读(415) 评论(0) 推荐(0) 编辑
摘要: #include <linux/compat.h> //否则报compat_alloc_user_space找不到 //compact_ioctl中先对arg做些处理,然后直接调用ioctl即可 long compact_ioctl(struct file *file, unsigned int c 阅读全文
posted @ 2021-05-12 17:26 olivertian 阅读(384) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/gotodsp/articles/3630008.html 阅读全文
posted @ 2021-05-12 10:01 olivertian 阅读(60) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页