上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页
摘要: makefile:2: *** missing separator. Stop. 错误: makefile内容: *************** main.o :main.c gcc -g -c main.c *************** make 回车 makefile:2: *** missi 阅读全文
posted @ 2020-12-12 23:01 流水江湖 阅读(896) 评论(0) 推荐(0)
摘要: 方法主要有两种:1) SDK编译 2)源码编译 1.SDK编译软件安装包IPK 从上边的教程我们已经可以看到怎么去获得SDK包了,然后怎么使用这个包,看教程: http://my.oschina.net/hevakelcj/blog/410633 这个教程已经详实地介绍了编译的步骤,步骤是没有问题的 阅读全文
posted @ 2020-12-12 22:35 流水江湖 阅读(3816) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/duval_yang/article/details/50222555 https://blog.csdn.net/qq_20448859/article/details/54633125 OpenWrt固件编译、软件包Ipk的编译 1.下载源码 2.更新 阅读全文
posted @ 2020-12-12 22:25 流水江湖 阅读(2173) 评论(0) 推荐(0)
摘要: #define OLED0561_ADD 0x78 // OLED的I2C地址(禁止修改)#define COM 0x00 // OLED 指令(禁止修改)#define DAT 0x40 // OLED 数据(禁止修改) void WriteCmd(unsigned char I2C_Comman 阅读全文
posted @ 2020-10-24 19:13 流水江湖 阅读(1519) 评论(0) 推荐(0)
摘要: HAL库调用RTC芯片SD3178代码如下: 1、用到函数 HAL_I2C_Mem_Write(); //带设备地址,寄存器地址 extern I2C_HandleTypeDef hi2c2; /****************** 本地变量 **********************/ u8 d 阅读全文
posted @ 2020-10-23 13:37 流水江湖 阅读(758) 评论(0) 推荐(0)
摘要: 刚接触C++,在尝试从 dll 中导出函数时,发现导出的函数名都“乱码”了。 导出过程如下: 新建一个Win32项目: 新建的解决方案里有几个导出的示例: // 下列 ifdef 块是创建使从 DLL 导出更简单的 // 宏的标准方法。此 DLL 中的所有文件都是用命令行上定义的 DLLEXPORT 阅读全文
posted @ 2020-10-22 22:37 流水江湖 阅读(960) 评论(0) 推荐(0)
摘要: #include "lwip/debug.h" #include "lwip/stats.h" #include "lwip/tcp.h" #include "usart.h" #if LWIP_TCP static struct tcp_pcb *tcp_echoserver_pcb; /* EC 阅读全文
posted @ 2020-10-17 15:07 流水江湖 阅读(490) 评论(0) 推荐(0)
摘要: 在math.h中 加入#include "stm32f4xx_hal.h"#include "stdio.h"用于支持printf 及 一些 HAL 定义的 数据结构在uart.c 文件中加入如下代码,用于把printf输出到串口1 /* USER CODE BEGIN 0 */ int fputc 阅读全文
posted @ 2020-10-17 14:38 流水江湖 阅读(461) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u012523921/article/details/105411008 https://jiejie.blog.csdn.net/article/details/80563422 1、查询(基本不用) 2、中断 3、中断+DMA 操作分3个步骤 1、设置 阅读全文
posted @ 2020-10-02 07:18 流水江湖 阅读(3617) 评论(0) 推荐(0)
摘要: IO引脚在stm32f1xx_hal_msp.c里面。 关于HAL库中stm32f1xx_hal_msp.c文件的认知 https://www.stmcu.org.cn/module/forum/thread-620752-1-3.html typedef uint8_t u8; typedef u 阅读全文
posted @ 2020-09-28 15:09 流水江湖 阅读(2776) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页