2 Star 22 Fork 8

Genkipi / ohosdog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Genkipi清单文件

该项目为仓库完整代码入口项目,按照以下步骤可以获取到完整开发相关的驱动及示例应用。

需要在Linux环境下进行开发,推荐使用Ubuntu20.04进行开发,依赖环境初始化可参见链接: 元气派开发板环境

编译源码

在源代码目录执行如下命令:

hb set

直接按两次回车即可,结果如下:

ty@ubuntu:~/ws/genkipi$ hb set
[OHOS INFO] Input code path: 
OHOS Which product do you need?  genkipi

执行编译

hb build

如果看到类似如下结尾的内容,则编译成功:

...
[OHOS INFO] [499/502] STAMP obj/base/security/deviceauth/deviceauth_lite.stamp
[OHOS INFO] [500/502] STAMP obj/build/lite/ohos.stamp
[OHOS INFO] [501/502] ACTION //device/itcast/genkipi/sdk_liteos:run_wifiiot_scons(//build/lite/toolchain:riscv32-unknown-elf)
[OHOS INFO] [502/502] STAMP obj/device/itcast/genkipi/sdk_liteos/run_wifiiot_scons.stamp
[OHOS INFO] /home/ty/ws/genkipi/vendor/itcast/genkipi/fs.yml not found, stop packing fs. If the product does not need to be packaged, ignore it.
[OHOS INFO] genkipi build success
[OHOS INFO] cost time: 0:00:13

可在如下路径找到用于烧录的固件文件:

genkipi/out/genkipi/genkipi/Hi3861_wifiiot_app_allinone.bin

固件烧录

  • 双击使用Hiburn.exe烧录

  • 或通过命令烧录:

HiBurn.exe -com:3 -signalbaud:921600 -bin:Hi3861_wifiiot_app_allinone.bin

其中 -com:3 代表串口COM3

连接AP热点

  • 开发版固件烧录启动后,可通过串口工具看到如下日志
======== AP start success ======= 
AP Name: itcast_xxxx
AP Password: 12345678

# xxxx网卡后四位,可能是任意值

说明热点开启成功,可连接该WIFI热点,名称:itcast_xxxx 密码:12345678

  • 用浏览器打开地址:http://192.168.10.1 可看到如下内容即代表Python开发环境启动成功

web

MIT License Copyright (c) 2022 poplartang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

用于开源鸿蒙仿生狗教学源码 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/genkipi/ohosdog.git
git@gitee.com:genkipi/ohosdog.git
genkipi
ohosdog
ohosdog
master

搜索帮助