# riscv-rtthread **Repository Path**: yuwei-web/riscv-rtthread ## Basic Information - **Project Name**: riscv-rtthread - **Description**: risc-v rtthread 发行版 - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-06-01 - **Last Updated**: 2024-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # riscv-rtthread ## 概述 基于 RISC-V 架构的 RT-Thread 发行版,我们集成了 RT-Thread 内核,保留了 RT-Thread 构建系统,并对 rt-thread 的仓库进行了一些重构工作,让结构更清楚,让开发者更加关注自身产品开发,开箱即用。 ### why 1. 为什么要做一个这样的发行版 RT-Thread 官方仓库已支持多种 RISC-V 架构芯片,但 RT-Thread 官方仓库以内核最重点,没有针对性的上层应用。 ### how 1. 取消在线 package,采用集成 components 方式,所见即所得,同时保证软件质量。 2. 以应用为入口,取消 bsp ,以 boards 替代,开发者可在应用中选择编译目标板和组件,完成应用配置。 ## 目录 ```shell . ├── applications # 应用 │ └── get-started # 快速上手 │ └── sample_project # 示例工程 ├── board # 板级代码及配置 ├── components # 组件 ├── device_driver # 器件驱动 ├── docs # 文档 ├── rt-thread # 内核 ├── scripts # 工具脚本 ``` - RT-Thread 内核版本:5.1.0 - 支持目标开发板 - 支持芯片 - 支持 RISC-V 架构 ## 编译 在 applications 对应项目目录下执行命令进行配置和编译,如 `applications/get-started/sample_project` 1. 配置 ```shell $ cd applications/get-started/sample_project $ scons --menuconfig ``` 选中当前需要编译的目标板 2. 编译 ```shell $ scons ```