Can not compile blinky on ubuntu
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- c
调研方向
从 Makefile 和 user/user_main.c 开始,重点查看 os_timer_disarm 调用和报告的编译器输出。然后检查 include/espmissingincludes.h 以及 issue 中提到的库代码行。当 blinky 示例能够在 Ubuntu 上编译,且没有未知 os_timer_t 或 volatile 限定符相关错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Hello,
I just try to compile small example
make!
Error ->
CC user/user_main.c
user/user_main.c: In function 'user_init':
user/user_main.c:51:5: error: passing argument 1 of 'ets_timer_disarm' discards 'volatile' qualifier from pointer target type [-Werror]
os_timer_disarm(&some_timer);
Googling ... -> Download espmissingincludes.h, mkdir include and add #include "espmissingincludes.h" in user_main.c
Ok run forward
CC user/user_main.c
In file included from user/user_main.c:2:0:
include/espmissingincludes.h:33:24: error: unknown type name 'os_timer_t'
void ets_timer_arm_new(os_timer_t *a, uint32_t b, bool repeat, bool isMstimer);
^
include/espmissingincludes.h:34:23: error: unknown type name 'os_timer_t'
void ets_timer_disarm(os_timer_t *a);
Google again ... -> change lib line in Makefile
LIBS = c gcc hal pp phy net80211 lwip wpa main pwm upgrade ssl crypto
os_timer_t is still unknown type/
Google again ... no result :(
- 主要语言
- Makefile
- 星标
- 278
- 派生
- 125
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
esp8266/source-code-examples 的其他 Issue
-
nnect未关闭
难度 5/5 一周以上 新手友好度 10/100
-
ji未关闭
难度 5/5 一周以上 新手友好度 1/100
-
ch未关闭
难度 5/5 一周以上 新手友好度 1/100
-
难度 4/5 3-5 天 新手友好度 38/100
-
难度 5/5 一周以上 新手友好度 20/100
查看 esp8266/source-code-examples 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
lightpanda-io/browser#3852 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
hiero-ledger/hiero-sdk-js#4476 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 85/100
pytest-dev/pluggy#757 ·
维护者通常 1 天内回复
-
status: team-only type: dependency-upgrade
难度 2/5 1-3 小时 新手友好度 66/100
spring-projects/spring-boot#52098 ·
维护者通常 1 天内回复
-
Bump Firebase JS SDK (12.19.0 → 13.0.0)可能已有人在做 @SelaseKay 今天认领。 未关闭Needs Attention type: enhancement
难度 2/5 1-3 小时 新手友好度 75/100
invertase/react-native-firebase#9364 · 1 条评论 ·
维护者通常 1 天内回复