mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-06 12:58:45 +00:00
[doc] update readme and rst
This commit is contained in:
parent
0e3e59af0d
commit
bb5b89aa70
5 changed files with 52 additions and 2 deletions
|
@ -139,6 +139,10 @@ make CHIP=bl808 BOARD=bl808dk CPU_ID=m0
|
||||||
|
|
||||||
TODO
|
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
|
# Resources
|
||||||
|
|
||||||
## Chip Manual
|
## Chip Manual
|
||||||
|
|
|
@ -139,6 +139,10 @@ make CHIP=bl808 BOARD=bl808dk CPU_ID=m0
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
## 调试
|
||||||
|
|
||||||
|
当前仅支持使用 CKLink 调试。详细参考 [bl mcu sdk 调试章节](https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/debug.html)。
|
||||||
|
|
||||||
# 芯片手册
|
# 芯片手册
|
||||||
|
|
||||||
芯片数据手册和参考手册见 [文档](https://dev.bouffalolab.com/document)。
|
芯片数据手册和参考手册见 [文档](https://dev.bouffalolab.com/document)。
|
||||||
|
|
|
@ -5,7 +5,7 @@ LIBC
|
||||||
------------
|
------------
|
||||||
- LIBC 中实现了一个vsnprintf,用以避开使用完整的c库,减少代码体积。
|
- LIBC 中实现了一个vsnprintf,用以避开使用完整的c库,减少代码体积。
|
||||||
|
|
||||||
.. note:: LIBC 中浮点打印只能最大支持到11位小数精度
|
.. note:: LIBC 中浮点打印只能最大支持到7位小数精度
|
||||||
|
|
||||||
配置LIBC相关功能
|
配置LIBC相关功能
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -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 调试代码
|
使用 CKLink + Eclipse 调试代码
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,13 @@ CKLink driver version must be higher than 5.16.0. Download link is here.
|
||||||
|
|
||||||
## Debug with Eclipse
|
## 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 |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue