首页
专题
作品集
产品
开放数据
Hugh
不在沉默中爆发,就在沉默中老去!
微信号
RYMCU
QQ 号
hugh@rymcu.com
关注
聊天
文章
作品集
关注用户
粉丝
Error: [stm32f1x.cpu] clearing lockup after double fault处理
待分类
vscode platform 开发 stm32 报错:处理方法,将 startup_stm32f103xe.s 从根目录放到 Core/Src 目录下即可。
Hugh
10 天前
28
vscode stm32 cubeMX FATFS paltformio.ini配置案例
待分类
; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library s
Hugh
10 天前
14
PlatformIO STM32 cubeMX printf 无法打印浮点数
待分类
使用了 GCC 编译器默认不支持浮点数输出,在 platformio.ini 中增加代码如下: build_flags = -Wl,-u_printf_float
Hugh
12 天前
15
GNU、GCC、gcc、g++
待分类
GNU 是一个类 Unix 操作系统,GNU 是 GNU is NOT Unix 的递归首字母缩写。 GCC--GNU Compiler Collection,GNU 编译器集合,支持 C,C++,Objective-C,Fortran,Ada,GO 等语语言。gcc/g++,分别为 GCC 编译器 C,C++ 语言前端,分别编译 C 和 C++ 源码,并交给 GCC 后端生成机器码。https:
Hugh
12 天前
26
在cubeMx工程基础上创建并更改工程名字
待分类
新建工程文件夹,点击 File 选择 save project As... 另存为此文件夹,并点击 GNERATE CODE,生成的新工程名字和文件夹名称一样了。
Hugh
13 天前
16
RT-thread nano移植Finsh组件无法输入只返回一个字符bug处理办法
RT-Thread
如题,在常规串口调试助手调试有该 bug:注释掉 board.c 函数 rt_hw_console_getchar(void) 中 10ms 延时,如下:#ifdef RT_USING_FINSH char rt_hw_console_getchar(void) { /* Note: the initial value of ch must < 0 */ int ch = -1;
Hugh
14 天前
25
RT-Thread创建线程报错assertion failed at function:rt_timer_control
RT-Thread
线程堆栈太小,128 改成 256 及以上即可:task1 = rt_thread_create("task1", task1_entry, RT_NULL, 128, 20, 10);
Hugh
15 天前
22
RT-Thread undefined reference to `rt_thread_create'
RT-Thread
rt_thread_create 属于动态线程,需要开启内存管理在 rtconfig.h 开启:#define RT_USING_HEAP#define RT_USING_SMALL_MEM
Hugh
15 天前
8
RT-Thread怎么消除这个 warning: #550-D: variable “obj” was set but never used
RT-Thread
在 rtconfig.h 启用 #define RT_DEBUG
Hugh
15 天前
8
vscde platformio移植RT-Thread的platformio.ini配置案例
RT-Thread
; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library s
Hugh
15 天前
13
RT-Thread VScode platform移植攻略
RT-Thread
创建工程步骤: 1)按cubeMX教程操作,生成时Toolchain/IDE选择Makefile 教程1:https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-nano/nano-port-cube/an0041-nano-port-cube.md 教程2:https://rymcu.com/article/11
Hugh
15 天前
7
platformio unknown upload protocol cmsis-dap
RT-Thread
STM32 官方开发板默认不支持 cmsis-dap,找到系统中对应 .json 文件,添加相应代码即可,例子如下图。
Hugh
16 天前
12
上一页
1
2
3
4
5
6
9
下一页