当前位置:网站首页>[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.
边栏推荐
- Why is password salt called "salt"? [Close] - why is a password salt called a "salt"? [closed]
- Websocket and socket IO case practice
- Summary of some application research cases of UAV Remote Sensing in forest monitoring
- PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)
- Analysis report on the "fourteenth five year plan" and investment prospect of China's pharmaceutical equipment industry 2022-2028
- RSS rendering of solo blog system failed
- 7-2 摘花生
- 轻流完成与「DaoCloud Enterprise 云原生应用云平台」兼容性认证
- 【网络是怎么连接的】第二章(下):一个网络包的接收
- TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
猜你喜欢

processing 函数translate(mouseX, mouseY)学习

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

Echart堆叠柱状图:色块之间添加白色间距效果设置

机器学习笔记 - 时间序列的季节性

Redis learning - 02 common data types, operation commands and expiration time

Several rare but useful JS techniques

processing 随机生成线动画

PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)

File remote synchronization and backup artifact Rsync

计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)
随机推荐
BigInt:处理大数字(任意长度的整数)
Research on the current situation of China's modified engineering plastics market and demand forecast analysis report 2022-2028
KVM 显卡透传 —— 筑梦之路
Operation analysis and investment prospect research report of China's organic chemical raw material manufacturing industry 2022-2028
美学心得(第二百三十八集) 罗国正
Less than 40 lines of code to create a blocprovider
sqlalchemy event listen Automatic generate CRUD excel
程序员必备,一款让你提高工作效率N倍的神器uTools
Lightflow completed the compatibility certification with "daocloud Enterprise Cloud native application cloud platform"
NoSQL mongodb - 02 mongodb server installation, mongodb shell, basic concepts and visualization tools
班主任让开股票账户,在挖财理财开户安全吗?
ES6:迭代器
Which is safer and better for great wisdom to open an account
几行代码就能实现复杂的 Excel 导入导出,这个工具类真心强大!
Typescript learning (I) type
PHP generate order number
The laravel dingo API returns a custom error message
el-form-item 包含两个input, 校验这两个input
[BSidesCF 2019]Kookie 1
Sharing ideas for a quick switch to an underlying implementation