summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/nrf5x/README.md61
-rw-r--r--bsp/nrf5x/docs/images/image-20220609112322574.pngbin0 -> 42877 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609112426518.pngbin0 -> 123637 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609112938212.pngbin0 -> 33209 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609113142111.pngbin0 -> 30134 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609113203519.pngbin0 -> 25003 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609113439251.pngbin0 -> 26191 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609113611068.pngbin0 -> 124499 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609113726186.pngbin0 -> 54656 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609114026961.pngbin0 -> 22374 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609114121378.pngbin0 -> 78194 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609114333827.pngbin0 -> 126997 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609114533743.pngbin0 -> 58028 bytes
-rw-r--r--bsp/nrf5x/docs/images/image-20220609114554402.pngbin0 -> 127080 bytes
14 files changed, 61 insertions, 0 deletions
diff --git a/bsp/nrf5x/README.md b/bsp/nrf5x/README.md
index 4e797652c2..5e9dfa3360 100644
--- a/bsp/nrf5x/README.md
+++ b/bsp/nrf5x/README.md
@@ -126,6 +126,67 @@ nrf5x
+## 使用RTT-STUDIO开发
+
+RTT-STUDIO V2.2.0及以上版本,支持直接导入BSP创建工程,而可以不用再依赖于基于开发版来创建工程了,这样,我们可以一直体验最新的代码了,是不是很香
+
+![image-20220609112426518](docs/images/image-20220609112426518.png)
+
+### 导入nRF5x BSP到RTT-STUDIO中
+
+1. 右击资源管理窗口,鼠标右击导入
+
+ ![image-20220609112322574](docs/images/image-20220609112322574.png)
+
+2. 选择导入BSP到工作空间,点击下一步
+
+ ![image-20220609112938212](docs/images/image-20220609112938212.png)
+
+3. 选择BSP根目录,以及填写工程名称,点击完成
+
+ ![image-20220609113142111](docs/images/image-20220609113142111.png)
+
+ ![image-20220609113203519](docs/images/image-20220609113203519.png)
+
+4. 通过观察控制台LOG,我们发现,其实当执行该操作时,背后的操作逻辑是,进入指定的BSP目录,执行下面的命令
+
+ ```
+ 先进入指定BSP目录,然后执行下面的额命令
+ scons --dist-ide --project-path=D:\RT-ThreadStudio\workspace/nrf52832_test --project-name=nrf52832_test
+ ```
+
+ ![image-20220609113439251](docs/images/image-20220609113439251.png)
+
+
+
+5. 直接编译工程,发现已经编译成功
+
+ ![image-20220609113611068](docs/images/image-20220609113611068.png)
+
+6. 下载程序到开发板,点击下载按钮,发现有如下提示(我目前使用的studio版本是版本: 2.2.3,后续该问题应该可以修复掉)
+
+ ![image-20220609113726186](docs/images/image-20220609113726186.png)
+
+
+
+​ 经过请教施工,解决了上面的问题,解决步骤如下
+
+​ 6.1 打开导入后的工程目录,打开.settings文件夹中的projcfg.ini文件
+
+​ ![image-20220609114026961](docs/images/image-20220609114026961.png)
+
+​ 6.2 添加如下内容`J-Link`
+
+![image-20220609114121378](docs/images/image-20220609114121378.png)
+
+6.3 打开调试配置界面,填写设备名,设备名具体写什么,可以参考这里[链接](https://www.segger.com/supported-devices/jlink/)
+
+![image-20220609114333827](docs/images/image-20220609114333827.png)
+
+![image-20220609114533743](docs/images/image-20220609114533743.png)
+
+![image-20220609114554402](docs/images/image-20220609114554402.png)
+
## FAQ:
#### 1. 如果烧入的时候出现如下状况:
diff --git a/bsp/nrf5x/docs/images/image-20220609112322574.png b/bsp/nrf5x/docs/images/image-20220609112322574.png
new file mode 100644
index 0000000000..a661fe7042
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609112322574.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609112426518.png b/bsp/nrf5x/docs/images/image-20220609112426518.png
new file mode 100644
index 0000000000..097a5435ff
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609112426518.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609112938212.png b/bsp/nrf5x/docs/images/image-20220609112938212.png
new file mode 100644
index 0000000000..3272232a88
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609112938212.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609113142111.png b/bsp/nrf5x/docs/images/image-20220609113142111.png
new file mode 100644
index 0000000000..05574b3382
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609113142111.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609113203519.png b/bsp/nrf5x/docs/images/image-20220609113203519.png
new file mode 100644
index 0000000000..27ed92a391
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609113203519.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609113439251.png b/bsp/nrf5x/docs/images/image-20220609113439251.png
new file mode 100644
index 0000000000..8177e43f7f
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609113439251.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609113611068.png b/bsp/nrf5x/docs/images/image-20220609113611068.png
new file mode 100644
index 0000000000..8c97d03eb1
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609113611068.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609113726186.png b/bsp/nrf5x/docs/images/image-20220609113726186.png
new file mode 100644
index 0000000000..134bd24ee6
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609113726186.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609114026961.png b/bsp/nrf5x/docs/images/image-20220609114026961.png
new file mode 100644
index 0000000000..d92a93fb79
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609114026961.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609114121378.png b/bsp/nrf5x/docs/images/image-20220609114121378.png
new file mode 100644
index 0000000000..89a3541e59
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609114121378.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609114333827.png b/bsp/nrf5x/docs/images/image-20220609114333827.png
new file mode 100644
index 0000000000..0fc7f573c9
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609114333827.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609114533743.png b/bsp/nrf5x/docs/images/image-20220609114533743.png
new file mode 100644
index 0000000000..b883949f58
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609114533743.png
Binary files differ
diff --git a/bsp/nrf5x/docs/images/image-20220609114554402.png b/bsp/nrf5x/docs/images/image-20220609114554402.png
new file mode 100644
index 0000000000..63642313e5
--- /dev/null
+++ b/bsp/nrf5x/docs/images/image-20220609114554402.png
Binary files differ