[doc] update readme and rst

This commit is contained in:
jzlv 2022-11-05 10:51:33 +08:00
parent 0e3e59af0d
commit bb5b89aa70
5 changed files with 52 additions and 2 deletions

View file

@ -139,6 +139,10 @@ make CHIP=bl808 BOARD=bl808dk CPU_ID=m0
TODO
## Debug
Only supports debug with CKLink currently. See [bl mcu sdk debug chapter](https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/debug.html)。
# Resources
## Chip Manual

View file

@ -139,6 +139,10 @@ make CHIP=bl808 BOARD=bl808dk CPU_ID=m0
TODO
## 调试
当前仅支持使用 CKLink 调试。详细参考 [bl mcu sdk 调试章节](https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/debug.html)。
# 芯片手册
芯片数据手册和参考手册见 [文档](https://dev.bouffalolab.com/document)。

View file

@ -5,7 +5,7 @@ LIBC
------------
- LIBC 中实现了一个vsnprintf用以避开使用完整的c库减少代码体积。
.. note:: LIBC 中浮点打印只能最大支持到11位小数精度
.. note:: LIBC 中浮点打印只能最大支持到7位小数精度
配置LIBC相关功能
------------

View file

@ -5,6 +5,39 @@
本节主要介绍如何使用调试器进行代码的调试。
芯片默认 JTAG PIN 列表
-------------------------------------------
.. list-table::
:widths: 10 10 10 10 10
:header-rows: 1
* - CHIP/Pin
- BL602/BL604
- BL702/BL704/BL706
- BL616/BL618
- BL808
* - TMS
- GPIO12
- GPIO0
- GPIO0
- GPIO6
* - TCK
- GPIO14
- GPIO2
- GPIO1
- GPIO12
* - TDO
- GPIO11
- GPIO9
- GPIO2
- GPIO7
* - TDI
- GPIO17
- GPIO1
- GPIO3
- GPIO13
使用 CKLink + Eclipse 调试代码
-------------------------------------------

View file

@ -30,4 +30,13 @@ CKLink driver version must be higher than 5.16.0. Download link is here.
## Debug with Eclipse
See [BL_MCU_SDK DOC](https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/debug.html)
See [BL_MCU_SDK DOC](https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/debug.html)
## Default JTAG Pin
| CHIP/Pin | BL602/BL604 | BL702/BL704/BL706 | BL616/BL618 | BL808 |
|:-------------:|:-------------:|:------------------:|:-----------:|:--------:|
|TMS | GPIO12 | GPIO0 | GPIO0 | GPIO6 |
|TCK | GPIO14 | GPIO2 | GPIO1 | GPIO12 |
|TDO | GPIO11 | GPIO9 | GPIO2 | GPIO7 |
|TDI | GPIO17 | GPIO1 | GPIO3 | GPIO13 |