-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[bsp] [ESP32C3] Add dockerfile and update README #10313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -48,6 +48,8 @@ | |||||
| | :----------------- | :----------: | :------------------------------------- | | ||||||
| | GPIO | 支持 | | | ||||||
| | UART | 支持 | 使用LUATOS_ESP32C3开发板需要在UART0_TX和UART0_RX连接串口转USB芯片(如CP2102)| | ||||||
| | I2C | 支持 | 硬件I2C会产生传输错误,推荐使用软件I2C,但使用软件I2C会占用一个硬件通用定时器 | | ||||||
| | SPI | 支持 | 支持自定义配置| | ||||||
| | JTAG调试 | 支持 | ESP32C3采用USB方式和PC链接的开发板可以调试 | | ||||||
| | WIFI | 部分支持 | 目前存在一些问题,例如不能在ISR中使用`rt_mq_recive`等 | | ||||||
| | BLE | 部分支持 | 目前存在一些问题,例如`NimBLE`启动一段时间后运行错误 | | ||||||
|
|
@@ -99,12 +101,55 @@ Type "apropos word" to search for commands related to "word". | |||||
|
|
||||||
| ## 环境搭建及编译 | ||||||
|
|
||||||
| ### Docker | ||||||
|
|
||||||
| 如果想要通轻度尝鲜esp32c3,推荐使用docker快速搭建环境,否则请使用原生环境搭建 | ||||||
|
||||||
| 如果想要通轻度尝鲜esp32c3,推荐使用docker快速搭建环境,否则请使用原生环境搭建 | |
| 如果想要轻度尝鲜 ESP32C3,推荐使用 Docker 快速搭建环境,否则请使用原生环境搭建 |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,48 @@ | ||||||||||||||
| FROM ubuntu:22.04 | ||||||||||||||
|
|
||||||||||||||
| ARG HTTP_PROXY | ||||||||||||||
| ARG HTTPS_PROXY | ||||||||||||||
| ENV http_proxy=${HTTP_PROXY} | ||||||||||||||
| ENV https_proxy=${HTTPS_PROXY} | ||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
| # 1. Basic options(with root) | ||||||||||||||
| RUN apt update && \ | ||||||||||||||
| apt install -y software-properties-common && \ | ||||||||||||||
| add-apt-repository universe && \ | ||||||||||||||
| apt update && \ | ||||||||||||||
| apt install -y --no-install-recommends \ | ||||||||||||||
| sudo git wget python3 python3-pip scons vim xz-utils minicom && \ | ||||||||||||||
|
||||||||||||||
| sudo git wget python3 python3-pip scons vim xz-utils minicom && \ | |
| sudo git wget python3 python3-pip scons vim xz-utils minicom && \ | |
| rm -rf /var/lib/apt/lists/* && \ |
Copilot
AI
May 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching to the 'master' branch may fail if the default branch is named 'main'. Consider cloning with a specific branch name (e.g., git clone -b main ...) or using git switch main to match the repository default.
| # 4. Clone RT-Thread and switch master | |
| RUN git clone https://github.com/RT-Thread/rt-thread.git && \ | |
| cd rt-thread && \ | |
| git switch master | |
| # 4. Clone RT-Thread and switch to the main branch | |
| RUN git clone -b main https://github.com/RT-Thread/rt-thread.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The status label 'Supported' is inconsistent with other rows that use 'Support'. Consider using 'Support' to match the table style.