# DSP Nano08 开发 **Repository Path**: xcfox/dsp_nano08_development ## Basic Information - **Project Name**: DSP Nano08 开发 - **Description**: 浙理电科DSP代码仓库 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-03-26 - **Last Updated**: 2022-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DSP Nano08 开发代码仓库 ## Git的基本操作 - 熟悉Git的工作流程:https://www.runoob.com/git/git-tutorial.html ## 连接到开发板 ```shell script # 连接服务器: ssh root@47.101.174.200 # 服务器root密码: ******** # 运行脚本: sh LinktoZSTU/linkNano08.sh # Nano08密码: ****** # 之后会看到连接成功的提示 ``` ```shell script # 查看Jetson-Nano的CPU、GPU、内存、硬盘等资源的利用情况 jtop ``` ## 在Nano开发板上运行代码 推荐使用SSH公钥连接各个设备,克隆仓库前需[配置SSH](https://gitee.com/help/articles/4181) #### 将本仓库拉取到本地 ```shell script # 选择一个文件夹存放本地代码 cd [你打算存放仓库的文件夹] # 克隆仓库到本地 git clone git@gitee.com:biup/dsp_nano08_development.git ``` #### 将本地代码推送到远程仓库 以test_fib.py为例: 在仓库文件夹中添加代码文件test_fib.py; 提交commit并push到远程仓库: ```shell script git add . git commit -m "添加了斐波那契数列以测试代码" git push ``` 实际开发中,为避免多人同时修改代码引起的冲突,推荐创建分支管理代码 #### Nano板拉取远程仓库并执行代码 以test_fib.py为例: ```shell script # 进入仓库所在的code文件夹: cd code # 更新远程仓库代码到Nano开发板: git pull # 使用运行python3运行test_fiv: python3 test_fib.py ```