12 2023 档案

摘要:1. 修改diskio.c /* */ /* Low level disk I/O module SKELETON for FatFs (C)ChaN, 2019 */ /* */ /* If a working storage control module is available, it sho 阅读全文
posted @ 2023-12-29 16:32 妖岭 阅读(91) 评论(0) 推荐(0) 编辑
摘要:1.keil(ARMCLANG编译器)编译C++的Vector,将在主堆空间; 2.stm32cubeide(arm-none-eabi-g++)编译C++的Vector,将在RAM空间; 阅读全文
posted @ 2023-12-29 15:00 妖岭 阅读(27) 评论(0) 推荐(0) 编辑
摘要:Arm® Compiler6 支持C/C++混编 C++不支持Use MicroLIB,解决Keil的printf问题,现象:Debug下,点击三次run可以运行,烧入芯片独立运行死机 #ifdef __cplusplus extern "C" { #endif #define DEFAULT_HA 阅读全文
posted @ 2023-12-05 17:43 妖岭 阅读(186) 评论(0) 推荐(0) 编辑
摘要:Ntrip通讯协议1.0 1. Ntrip协议 CORS(Continuously Operating Reference Stations)就是网络基准站,通过网络收发GPS差分数据。用户访问CORS后,不用单独架设GPS基准站,即可实现GPS流动站的差分定位。 访问CORS系统,就需要网络通讯协 阅读全文
posted @ 2023-12-05 14:25 妖岭 阅读(394) 评论(0) 推荐(0) 编辑
摘要:1. 测试 //ATK-SIM900A 各项测试(拨号测试、短信测试、GPRS测试)共用代码 //sim900a发送命令后,检测接收到的应答 //str:期待的应答结果 //返回值:0,没有得到期待的应答结果 // 其他,期待应答结果的位置(str的位置) uint8_t* sim900a_chec 阅读全文
posted @ 2023-12-05 13:46 妖岭 阅读(86) 评论(0) 推荐(0) 编辑
摘要:Debug点击三次run才能运行,直接烧录后无法运行/重上电也不行 纯C可以勾选“Use MicroLIB” C/C++混合,勾选“Use MicroLIB”会报错,需换如下方式: #define unprintf(...) utnprintf(&huart1, __VA_ARGS__)#defin 阅读全文
posted @ 2023-12-04 09:39 妖岭 阅读(55) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示