当前位置:网站首页>[esp32-c3][rt-thread] run RT-Thread BSP minimum system based on esp32c3
[esp32-c3][rt-thread] run RT-Thread BSP minimum system based on esp32c3
2022-06-26 12:58:00 【Thomas_ Fly】
brief introduction
Recently, I found a development board with super high cost performance 9.9, Tried it on , I can't believe it debug, There's no need for JLINK Wait for the debugger .
Moreover, the ecology of Lexin's chip is very open source , So and RT-THREAD Can we try the open source ecosystem of ?
If you can , Is it right? RT-THREAD The cheapest , The most cost-effective hardware platform ? It can be debugged , You can also run RT-THREAD.
But I really can't find a cheaper development board , Do you have any cheaper ones to run RT-THREAD Recommended by . Less than 9.9 Of , Most of the materials are open source .
There are two types of this development board , Classic models can't debug Debugging , Simple style can debug Debugging 

How to run
See for warehouse code and description https://github.com/RT-Thread/rt-thread/tree/master/bsp/ESP32_C3
This bsp Almost support ESP32-C3 Most of the development boards .
Set up the environment
It is suggested to use vscode worry .
Everyone knows Le Xin's IDF The environment is extremely difficult to install , Many of my friends are trying to persuade me to quit on the way of installing environment .
Many methods have been tried here , Finally, use one of the simplest methods , use vscode
How to install , Refer to previous articles ESP-IDF The one click build environment is based on VSCODE It's simple , As long as you use window Or other ubuntu And other graphical interfaces , You can run vscode, You can use this method ,( Of course, you can also use the official setup Tool installation ,idf Environment compilation is also possible )
IDF patch load
Due to the official IDF It uses freertos, If you want to run RT-THREAD, The kernel needs to be replaced , This way bsp Here's a patch, Just find it before esp-idf Of the code Click the following command in the installation directory
cd esp/esp-idf
git checkout v4.4
git am 0001-add-the-config-of-RTTHREAD.patch
because idf Update too fast , And too many versions , At present, it can only be compatible with v4.4 edition , Continue to maintain later
Maintenance code in :
https://github.com/supperthomas/esp-idf
compile
stay bsp/ESP32_C3 Right click in the directory to open vscode, If the environment is installed , You will see the following picture
Compile and select the bottom button :
download
good , The most important step is coming , here , If you are connected to a serial port , Directly in accordance with the readme Just the introduction inside ,
If you just bought the minimalist version , The congratulations , Your development board can be used to debug debugging


debug debugging
Just follow the following figure 
Okay , It's almost finished here , After burning , You can see the small light flashing , Serial port has log Print

summary
Now this bsp Not perfect yet , It can support nano Version of RT-THREAD, Only the kernel is running , It still needs to be improved in the future , Let's try some fresh food first . Welcome to play the cheapest game in history RT-THREAD Hardware development board . Due to limited time , Welcome to PR.
边栏推荐
猜你喜欢
Adobe Acrobat阻止30款安全软件查看PDF文件 或存在安全风险

Processing 多面体变化

PHP laravel+gatewayworker completes im instant messaging and file transfer (Chapter 1: basic configuration)

环形队列php

Photoshop 2022 23.4.1增加了哪些功能?有知道的吗

初识-软件测试

Redis learning - 05 node JS client operation redis and pipeline pipeline

Mysql8 master-slave replication

File remote synchronization and backup artifact Rsync

Splunk iowait 报警的解决
随机推荐
Installing MySQL under Linux (RPM package installation)
processing 函数translate(mouseX, mouseY)学习
Demand scale forecast and investment competitiveness analysis report of China's new material market 2022-2028
Openlayers drawing dynamic migration lines and curves
程序员必备,一款让你提高工作效率N倍的神器uTools
Less than 40 lines of code to create a blocprovider
China Medical Grade hydrogel market supply and demand research and prospect analysis report 2022 Edition
710. 黑名单中的随机数
openlayers 绘制动态迁徙线、曲线
Microservice governance (nocas)
Redis learning - 01 introduction, installation and configuration
Thinkphp5 query report: sqlstate[hy093]: invalid parameter number
Configuring Apache digest authentication
TP5 thinkphp5 extension package think Mongo operation mongodb time interval range query
老司机总结的12条 SQL 优化方案(非常实用)
[BSidesCF 2019]Kookie 1
[solved] data duplication or data loss after laravel paginate() paging
PHP returns false when calling redis method decrby less than 0
TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
JS get the current screen height method and listen for DOM elements to enter the viewport