Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

配置开发环境

目前,乐鑫的 SoC 基于两种不同的架构:RISC-V 和 Xtensa。两种架构都支持 std 和 no_std 开发方式。

为了配置开发环境,需要执行以下步骤:

  1. 安装 Rust
  2. 根据目标架构,安装相应的依赖项

不论是哪种目标架构,对于 std 开发,还需要安装 std 开发依赖项。

另外,还可以选择在容器中托管开发环境。