forked from LiteOS/LiteOS_Documents
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new file: docs/workshop/hangzhou/README.md new file: docs/workshop/hangzhou/openCPU_setup.md new file: docs/workshop/hangzhou/pic/1.PNG new file: docs/workshop/hangzhou/pic/10.PNG new file: docs/workshop/hangzhou/pic/11.PNG new file: docs/workshop/hangzhou/pic/12.PNG new file: docs/workshop/hangzhou/pic/13.PNG new file: docs/workshop/hangzhou/pic/14.PNG new file: docs/workshop/hangzhou/pic/15.PNG new file: docs/workshop/hangzhou/pic/16.PNG new file: docs/workshop/hangzhou/pic/17.PNG new file: docs/workshop/hangzhou/pic/18.PNG new file: docs/workshop/hangzhou/pic/19.PNG new file: docs/workshop/hangzhou/pic/2.PNG new file: docs/workshop/hangzhou/pic/20.PNG new file: docs/workshop/hangzhou/pic/21.PNG new file: docs/workshop/hangzhou/pic/22.PNG new file: docs/workshop/hangzhou/pic/23.PNG new file: docs/workshop/hangzhou/pic/24.PNG new file: docs/workshop/hangzhou/pic/25.PNG new file: docs/workshop/hangzhou/pic/26.PNG new file: docs/workshop/hangzhou/pic/27.PNG new file: docs/workshop/hangzhou/pic/28.PNG new file: docs/workshop/hangzhou/pic/3.PNG new file: docs/workshop/hangzhou/pic/30.PNG new file: docs/workshop/hangzhou/pic/31.PNG new file: docs/workshop/hangzhou/pic/32.PNG new file: docs/workshop/hangzhou/pic/33.PNG new file: docs/workshop/hangzhou/pic/34.PNG new file: docs/workshop/hangzhou/pic/35.PNG new file: docs/workshop/hangzhou/pic/36.PNG new file: docs/workshop/hangzhou/pic/4.PNG new file: docs/workshop/hangzhou/pic/5.PNG new file: docs/workshop/hangzhou/pic/6.PNG new file: docs/workshop/hangzhou/pic/7.PNG new file: docs/workshop/hangzhou/pic/8.PNG new file: docs/workshop/hangzhou/pic/9.PNG new file: package-lock.json
- Loading branch information
Showing
39 changed files
with
15,799 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# OpenCPU方案介绍及实战演示 | ||
|
||
本文档旨在帮助开发者配置openCPU开发环境。文档中涉及的安装包都在开发环境工具包中给出。安装时请尽量安装到默认路径,否则可能需要开发者手动添加环境变量。 | ||
|
||
2019年1月11日在杭州举办的Workshop,将有现场手把手教学体验OpenCPU方案的机会,欢迎大家来现场交流! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# openCPU开发环境安装指导 | ||
|
||
本文档旨在帮助开发者配置openCPU开发环境。文档中涉及的安装包都在开发环境工具包中给出。安装时请尽量安装到默认路径,否则可能需要开发者手动添加环境变量。 | ||
## 1.安装GCC Compiler | ||
GCC Compiler安装包为gcc-arm-none-eabi-4_9-2015q2-20150609-win32.exe。打开安装程序,按照默认安装即可。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
注意,在最后一步中,需要勾选add path to environment variable。否则需要手动将GCC Compiler安装路径添加到系统环境变量,如下图所示。 | ||
|
||
 | ||
|
||
## 2.安装自动化构建工具Scons | ||
Scons构建工具通过Python2.7编写,其它Python版本可能不兼容。因此需要先安装Python2.7。开发者可以通过开发环境工具包中的python-2.7.10.msi来安装。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
注意上图,这里需要勾选添加路径。 | ||
|
||
 | ||
|
||
 | ||
|
||
至此完成了Python2.7的安装。但是,默认情况下Python脚本无法访问Windows系统API库,因此需要安装pywin32库。开发者可以通过开发环境工具包中的pywin32-220.win32-py2.7.exe来安装。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
现在,开发者可以通过开发环境工具包中的scons-2.4.0-setup.exe来安装Scons,安装过程与pywin32类似。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
## 3.安装Microsoft .NET Framework | ||
|
||
开发者可通过开发环境工具包中NDP452-KB2901907-x86-x64-AllOS-ENU.exe安装。按照默认安装即可。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
## 4.安装UEMonitor-3.22.0.14 | ||
通过开发环境工具包中提供的UEMonitor-3.22.0.14.msi进行安装。类似于串口调试工具,开发者可以通过该软件观察串口日志。 | ||
|
||
 | ||
|
||
 | ||
|
||
 | ||
|
||
## 5.安装UEUpdaterUI-3.22.0.14 | ||
|
||
开发者可以通过该软件,从openCPU模组的主串口进行固件升级。安装包为UEUpdaterUI-3.22.0.14.msi。 | ||
|
||
 | ||
|
||
 | ||
|
||
## 6.安装UpdatePackage-3.22.0.14 | ||
|
||
通过UpdatePackage-3.22.0.14.msi进行安装。 | ||
|
||
 | ||
|
||
 | ||
|
||
## 7.验证开发环境 | ||
|
||
完成上述环境搭建步骤后,开发者可以通过开发环境工具包中的样例工程来验证开发环境是否搭建成功。比如,打开example目录下的OLED文件夹,打开其中的“命令提示符”,并输入命令```scons_new.bat```: | ||
|
||
 | ||
|
||
 | ||
|
||
若环境搭建成功,则会输出: | ||
|
||
 | ||
|
||
并且在工程目录下,会生成new.fwpkg文件。该文件就是openCPU方案需要烧录到模组中的firmware package。 | ||
|
||
 | ||
|
||
若得到了上面的结果,则说明环境搭建成功。 | ||
|
||
## 8.常见问题及解决方法 | ||
|
||
### 8.1报 arm-none-eabi-gcc 错误 | ||
|
||
打开“命令提示符”,并输入命令```scons_new.bat```,出现```No such file or directory```的错误: | ||
|
||
 | ||
|
||
解决方案: | ||
1. 查看系统环境变量是否正确配置。 | ||
|
||
2. 查找电脑中是否有文件与Compiler-GCC(GNU Tools ARM Embedded)重名。若有请将其删除。 | ||
|
||
### 8.2路径有误 | ||
若开发者在安装过程中修改了默认的安装路径,需要在scons_new.bat中的路径做相应的修改。 | ||
|
||
 | ||
|
||
### 8.3路径中包含中文 | ||
若工程目录中含有中文,则编译过程中会出现下面的错误: | ||
|
||
 | ||
|
||
解决方案: | ||
|
||
* 使用全英文路径。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.