Skip to content

Commit c16056d

Browse files
authored
docs: update toolchain selection in 17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage.md (#65)
docs: list available toolchains (RISC-V GCC; RISC-V Clang; Terapines ZCC) docs: note Terapines ZCC supported since 0.7.1; docs: note RISC-V Clang and Terapines ZCC only support profiling (code coverage not supported in SDK ≤ 0.8.1)
1 parent 335dff8 commit c16056d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ Nuclei studio 中 Profiling 功能基于 binutils gprof 工具。编译时需带
4242

4343
**注意:** Nuclei SDK 需选择 0.6.0 及以后版本才支持 Profiling 与 Code coverage 功能
4444

45+
可以根据需求选择不同的工具链:
46+
47+
1. `RISC-V GCC/Newlib(riscv-unknown-elf-gcc)`
48+
2. `RISC-V Clang/Newlib(riscv-unknown-elf-clang)`
49+
3. `Terapines ZCC(zcc)`
50+
51+
**注意:**Nuclei SDK 需选择 0.7.1及以后版本才支持`Terapines ZCC(zcc)`工具链,若选择`Terapines ZCC(zcc)`工具链使用profiling功能请同步修改`Standard C Library(STDCLIB=)`选项为`newlib_small`
52+
**注意:**对于`RISC-V Clang``Terapines ZCC`工具链当前最新SDK(0.8.1)及之前版本仅支持profiling功能,未支持`Code coverage`功能
53+
4554
![建立Profiling demo](asserts/images/17/build_profiling_demo.png)
4655

4756
**step2:基于 Profiling demo 工程移植 amrwbenc 裸机用例**

0 commit comments

Comments
 (0)