摘要:
project右键 properties c/c++ general paths and symbols source location 这里面就可以添加源文件夹了。 阅读全文
posted @ 2020-03-09 14:47
ramlife
阅读(4872)
评论(0)
推荐(0)
|
摘要:
project右键 properties c/c++ general paths and symbols source location 这里面就可以添加源文件夹了。 阅读全文
posted @ 2020-03-09 14:47
ramlife
阅读(4872)
评论(0)
推荐(0)
摘要:
stm32cubeide 是基于 eclipse 开发的软件,所以修改和 eclipse 类似,只要在 window perference keys 里面把 content assist 这个功能绑定到自己喜欢的按键即可。默认是 ctrl + space,我比较喜欢替换为 alt + /, 因为 a 阅读全文
posted @ 2020-03-09 14:44
ramlife
阅读(6210)
评论(2)
推荐(0)
摘要:
在 main.c 里面添加 参考: http://ibotx.com/?p=191 https://blog.csdn.net/mynameislinduan/article/details/83579725 2. 或者基于 en.x cube iap usart\AN4657 STM32Cube_ 阅读全文
posted @ 2020-03-07 18:11
ramlife
阅读(1749)
评论(0)
推荐(0)
摘要:
在 main.c 中增加 注意后面需要加 "\n",不然有可能不显示出来,或者可以用 fflush(stdout)。 浮点数需要开启 浮点数支持,project properties c/c++ build setting tools setting mcu setting use float xx 阅读全文
posted @ 2020-03-07 16:29
ramlife
阅读(1241)
评论(0)
推荐(0)
摘要:
最近在调试 android,使用 串口半双工模式接收数据,碰到的问题是 unistd 中的 read 是block的,怎样才能超时退出。 刚开始找到的资料说是 c_cc[VMIN] = 0, c_cc[VTIME] = 10; 这样就能配置为 1s 超时了。但是实际上并不能够达到超时退出的功能。 后 阅读全文
posted @ 2020-03-06 13:18
ramlife
阅读(323)
评论(0)
推荐(0)
摘要:
一。 类注释 二。 方法注释 到 file settings editor live templates中: 1、点击 右侧 + 号 ,选择 template group 2、输入新建组的名称(随便输入名称),比如 CustomTemplates 3、点击新建的组 4、点击 右侧 + 号 ,选择 l 阅读全文
posted @ 2020-03-05 10:32
ramlife
阅读(1533)
评论(0)
推荐(0)
摘要:
1. 生成 tex 在 org 文件中按键 C c C e l l 这样能够生成 tex 文件 参考: http://tieba.baidu.com/p/3522363035 https://www.dazhuanlan.com/2019/10/16/5da60df92dd09/ https://b 阅读全文
posted @ 2020-03-03 15:36
ramlife
阅读(778)
评论(0)
推荐(0)
摘要:
系统: win7en 在 emacs 文件的开头输入: 这样就可以以 utf 8 的编码进行保存。 还可以在配置文件中加入: (setq default buffer file coding system 'utf 8 unix) 。 具体参考: https://www.cnblogs.com/ta 阅读全文
posted @ 2020-03-03 14:09
ramlife
阅读(250)
评论(0)
推荐(0)
摘要:
texlive 可以从下面两个网址下载 https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/ https://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/ 下载完成之后, 阅读全文
posted @ 2020-02-28 13:54
ramlife
阅读(306)
评论(0)
推荐(0)
摘要:
在 windows 环境下,emacs 的配置目录可以通过下面几种方式来设置: 1. If the environment variableHOME is set, use the directory it indicates. 2. If the registry entry HKCU\SOFTW 阅读全文
posted @ 2020-02-28 10:53
ramlife
阅读(836)
评论(0)
推荐(0)
|