rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

Esp32c3 app update

Open Dharshinir004 opened this issue 2 months ago • 4 comments

RT-Thread Board Support Package for ESP32-C3

📝 Introduction

This is the Board Support Package (BSP) for the Espressif ESP32-C3 series of microcontrollers, built to run the RT-Thread Real-Time Operating System.

This BSP is configured to use the [Specify the name of your specific evaluation/dev board, e.g., 'ESP32-C3-DevKitM-1'].

✨ Features

This BSP provides the standard RT-Thread kernel and system components, and includes the following application features by default:

  1. System Initialization: Initializes basic system clocks and required drivers.
  2. LED Blinking: A separate thread is started in main.c to blink the onboard LED, demonstrating basic thread management and GPIO control.
  3. FinSH Shell Access: Enables command-line access via the serial port for runtime management and debugging.
  4. Application Demo Command: Includes a custom FinSH command (app_data_cmd) for reading/writing a global application variable.

🛠️ Build and Configuration

1. Building the Project

  1. Navigate to the BSP directory:

    cd bsp/ESP32_C3
    
  2. Run the SCons build tool:

    scons
    

    This generates the firmware image (e.g., rtthread.elf).

  3. Flashing: Use the standard flash command for your environment (e.g., scons --target=download).

2. Configuration (menuconfig)

You can modify system settings and enable features using the menuconfig tool:

menuconfig

Dharshinir004 avatar Oct 10 '25 05:10 Dharshinir004

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 10 '25 05:10 CLAassistant

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page 点击进入工作流 → | Click to open workflow →

  2. 点击 Run workflow | Click Run workflow

  • 设置需排除的文件/目录(目录请以"/"结尾) Set files/directories to exclude (directories should end with "/")
  • 将目标分支设置为 \ Set the target branch to:esp32c3-app-update
  • 设置PR number为 \ Set the PR number to:10780
  1. 等待工作流完成 | Wait for the workflow to complete 格式化后的代码将自动推送至你的分支。 The formatted code will be automatically pushed to your branch.

完成后,提交将自动更新至 esp32c3-app-update 分支,关联的 Pull Request 也会同步更新。 Once completed, commits will be pushed to the esp32c3-app-update branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐 If you have any questions, feel free to reach out. Thanks again for your contribution!

github-actions[bot] avatar Oct 10 '25 05:10 github-actions[bot]

image

Please deal with the error

supperthomas avatar Oct 11 '25 03:10 supperthomas

@supperthomas sure sir I will work on it..

Dharshinir004 avatar Oct 11 '25 15:10 Dharshinir004