孤陋寡闻了,大赞 下载官方编译环境安装包:
http://bbs.espressif.com/viewtopic.php?f=57&t=2
这个编译环境下载地址消失了啊,求分享啊......
谢谢分享~~~ mark,回公司看 亲,我按照你这个贴子,自己尝试了一下,但是到./gen_misc.sh 这一步会出错,具体请看此帖http://club.gizwits.com/forum.php?mod=viewthread&tid=4090&mobile=2 这个文档更清楚:http://docs.gizwits.com/zh-cn/deviceDev/WiFiSOC/GoKit3S%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E%E4%B9%A6.html 没有看到GoKit-SoC-ESP8266程序开发手册这个文档,另外模块经常AIRLINK进入路由后,反复断电上电几次,模块会自动恢复到AP模式,不知道楼主有没有试过 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls
driver gen_misc.shMakefile user
gen_misc.batinclude model two-dimension code.jpg
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh
bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#./gen_misc.sh
bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make
make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop.
make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
../Makefile:310: recipe for target '.subdirs' failed
make: ** [.subdirs] Error 2
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make
make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop.
make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
../Makefile:310: recipe for target '.subdirs' failed
make: ** [.subdirs] Error 2 这是什么原因呢?是我固件的问题?还是环境搭建的问题? root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver gen_misc.shMakefile user gen_misc.batinclude model two-dimension code.jpg root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.shbash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#./gen_misc.sh bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop. make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop. make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver gen_misc.shMakefile user gen_misc.batinclude model two-dimension code.jpg root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.shbash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#./gen_misc.sh bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop. make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.Stop. make: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2这是环境搭建的问题吗?还是固件的问题 知莫 发表于 2017-8-27 10:03
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver gen_misc.shMakefile ...
最近有开发者反应自动生成的ESP8266 SoC下载后无法编译通过,会有下面报错:
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh
bash: ./gen_misc.sh
: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#./gen_misc.sh
bash: ./gen_misc.sh
: /bin/bash^M: bad interpreter: No such file or directory
该问题是由于gen_misc.sh文件编码引起的,可以用下面方法解决。
3) 设置编译脚本为Unix格式,防止Win系统下对编译脚本产生影响:
vim gen_misc.sh
:set ff=unix //这是vim命令,非添加的内容
:wq! //这是vim命令,非添加的内容应用自:GoKit3(S) 二次开发--开发环境搭建
另外有开发者直接在根目录直接用make编译,也是不对的,请使用gen_misc.sh进行编译,make和gen_misc.sh的编译选项不同。
大海之舟 发表于 2016-11-28 18:54
没有看到GoKit-SoC-ESP8266程序开发手册这个文档,另外模块经常AIRLINK进入路由后,反复断电上电几次,模块 ...
最近有开发者反应自动生成的ESP8266 SoC下载后无法编译通过,会有下面报错:
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh
bash: ./gen_misc.sh
: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#./gen_misc.sh
bash: ./gen_misc.sh
: /bin/bash^M: bad interpreter: No such file or directory
该问题是由于gen_misc.sh文件编码引起的,可以用下面方法解决。
3) 设置编译脚本为Unix格式,防止Win系统下对编译脚本产生影响:
vim gen_misc.sh
:set ff=unix //这是vim命令,非添加的内容
:wq! //这是vim命令,非添加的内容应用自:GoKit3(S) 二次开发--开发环境搭建
另外有开发者直接在根目录直接用make编译,也是不对的,请使用gen_misc.sh进行编译,make和gen_misc.sh的编译选项不同。
知莫 发表于 2017-8-27 10:03
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver gen_misc.shMakefile ...
很奇怪,
/app$ ./gen_misc.sh后回车
出现:
bash: ./gen_misc.sh: Permission denied 手册在哪里下载? 笨企鹅 发表于 2018-2-22 16:26
手册在哪里下载?
有关Gokit3 SOC相关的资料见百度云盘 链接: https://pan.baidu.com/s/1kUUq5sr 密码: u986 Genius 发表于 2018-2-24 14:05
有关Gokit3 SOC相关的资料见百度云盘 链接: https://pan.baidu.com/s/1kUUq5sr 密码: u986 ...
此链接分享内容可能因为涉及侵权、色情、反动、低俗等信息,无法访问! 很好,谢谢分享 楼主能再发一次SOC固件程序文件么,上次的链接失效了
页:
1
[2]