Modify the documentation of jlink-kd233 and f407
This commit is contained in:
parent
a0f170b3cf
commit
6e5691f247
|
@ -10,7 +10,7 @@
|
|||
</br>
|
||||
调试开发板:KD233(实物如图)
|
||||
</br>
|
||||
<div align=center><img src="https://img-blog.csdnimg.cn/20210427215138289.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0FJSVRfVWJpcXVpdG91cw==,size_16,color_FFFFFF,t_70" /></div>
|
||||
<div align=center><img src="https://img-blog.csdnimg.cn/20210430203005560.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0FJSVRfVWJpcXVpdG91cw==,size_16,color_FFFFFF,t_70#pic_center" /></div>
|
||||
|
||||
# 调试步骤
|
||||
|
||||
|
@ -63,7 +63,7 @@ $ sudo tar -zxvf kendryte-openocd-0.2.3-ubuntu64.tar.gz
|
|||
$ sudo vim /opt/kendryte-openocd/tcl/openocd.cfg
|
||||
```
|
||||
|
||||
<div align=center><img src="https://img-blog.csdnimg.cn/20210427214102777.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0FJSVRfVWJpcXVpdG91cw==,size_16,color_FFFFFF,t_70#pic_center" /></div>
|
||||
<div align=center><img src="https://img-blog.csdnimg.cn/20210501164846463.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0FJSVRfVWJpcXVpdG91cw==,size_16,color_FFFFFF,t_70#pic_center" /></div>
|
||||
</br>
|
||||
序列号从JLink的背面标签可以查看,也可以在JLink连接计算机后敲击JLinkExe命令看到。
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
|
@ -118,8 +118,12 @@ XiUOS板级驱动当前支持使用GPIO、I2C、LCD、USB、RTC、SPI、Timer、
|
|||
修改`applications`文件夹下`main.c`
|
||||
在输出函数中写入 `Hello, world!!! \n Running on stm32f407-st-discovery`完成代码编辑。
|
||||
|
||||
<div align=center></div>
|
||||
|
||||
<center>
|
||||
|
||||

|
||||
|
||||
</center>
|
||||
编译步骤:
|
||||
|
||||
1.在代码根目录下执行以下命令,生成配置文件
|
||||
|
@ -130,9 +134,38 @@ XiUOS板级驱动当前支持使用GPIO、I2C、LCD、USB、RTC、SPI、Timer、
|
|||
|
||||
2.在menuconfig界面配置需要关闭和开启的功能,按回车键进入下级菜单,按Y键选中需要开启的功能,按N键选中需要关闭的功能,配置结束后保存并退出
|
||||
|
||||
<div align=center></div>
|
||||
<center>
|
||||
|
||||
3.继续执行以下命令,进行编译
|
||||

|
||||
|
||||
</center>
|
||||
|
||||
退出时选择`yes`保存上面所配置的内容,如下图所示:
|
||||
|
||||
<center>
|
||||
|
||||

|
||||
|
||||
</center>
|
||||
若执行 `make BOARD=hifive1-emulator menuconfig`后出现以下界面:
|
||||
|
||||
<center>
|
||||
|
||||

|
||||
|
||||
</center>
|
||||
|
||||
解决的方法是将终端向上拉伸超过当前界面的三分之二以上,效果如下:
|
||||
|
||||
|
||||
<center>
|
||||
|
||||

|
||||
|
||||
</center>
|
||||
|
||||
|
||||
3.继续在VScode中执行以下命令,进行编译
|
||||
|
||||
```bash
|
||||
make BOARD=stm32f407-st-discovery
|
||||
|
|
|
@ -17,7 +17,6 @@ AIIT ARM-board是基于STM32F407ZGT6设计的一款低功耗智能物联网终
|
|||
AIIT ARM-board拥有的资源包括:
|
||||
* 集成在芯片内部的 FPU 和 DSP 指令集
|
||||
* 存储大小: 192KB + 1 MB SRAM、 512K +2MB FLASH
|
||||
* 摄像头接口: 1个
|
||||
* 定时器:12 个 16 位定时器、 2 个 32 位高级定时器
|
||||
* IIC硬件控制器: 3 个
|
||||
* DMA 控制器: 2 个 (共 16 个通道,每个DMA8个通道)
|
||||
|
|
Loading…
Reference in New Issue