摘要: 一、使用方法 "VSCode" 打开 "ESP" 工程 唤出内置 "PowerShell" 终端(每次打开新的终端都需要部署运行环境) 初始化: esp_env_init <idf 版本> eg: esp_env_init v4.4 <idf 版本> 分为 "分支版本, 如: release/v4. 阅读全文
posted @ 2021-07-02 18:27 Bryce-Hu 阅读(1028) 评论(0) 推荐(0)
摘要: /* */ // 函数指针类型 typedef uint8_t (*myfunction_type)(uint8_t); uint8_t myfunction1(uint8_t param) { ... } myfunction_type myfunction2 = myfunction1; // 阅读全文
posted @ 2021-06-09 10:59 Bryce-Hu 阅读(66) 评论(0) 推荐(0)
摘要: array_s array[5] = { [1] = {x, {x, x}}, [3] = {x, x, x}, }; #include <stdio.h> typedef struct { int b1; int b2; } B_type_s; typedef struct { int a; B_ 阅读全文
posted @ 2021-06-04 16:28 Bryce-Hu 阅读(123) 评论(0) 推荐(0)
摘要: typedef union { struct { uint16_t cnt : 15; uint16_t flag : 1; }; uint16_t itself; } time_flag_u; #include <stdio.h> typedef unsigned int uint16_t; ty 阅读全文
posted @ 2021-06-04 16:08 Bryce-Hu 阅读(139) 评论(0) 推荐(0)
摘要: #2021-08-10更新 # GitHub Start 140.82.114.4 github.com 140.82.113.4 gist.github.com 185.199.111.153 assets-cdn.github.com 185.199.111.153 raw.githubuser 阅读全文
posted @ 2020-12-23 09:46 Bryce-Hu 阅读(735) 评论(0) 推荐(0)
摘要: 找不到头文件一般都是以下两种原因: 1. 头文件不存在 2. 包含路径出错 阅读全文
posted @ 2020-12-22 22:40 Bryce-Hu 阅读(501) 评论(0) 推荐(0)
摘要: Markdown 语言学习 Markdown在线编辑器 阅读全文
posted @ 2020-08-16 18:22 Bryce-Hu 阅读(81) 评论(0) 推荐(0)