Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build the RT-Thread development environment of raspberry pie 4b on window

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to build the RT-Thread development environment of raspberry pie 4b on window, which has a certain reference value. Interested friends can refer to it. I hope you can learn a lot after reading this article.

Build the RT-Thread development environment of raspberry pie 4b on window. Description

Because the previous raspberry pie rtt development environment is built on Ubuntu, but most people use Ubuntu to build the environment. So here I also talk about the raspberry pie 4 RTT development process in windows.

two。 Cross-compilation tool chain download

Download the tutorial compilation tool chain on window from the official website.

Download address:

Https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

You can find the relevant download address

Also left the link address of Baidu network disk:

Link: https://pan.baidu.com/s/1v7LGTfusV8N4gE-va6l-fA extraction code: acpl

This toolchain is aimed at building environments on window.

After the download is completed, * * it is recommended to decompress it with 7-zip. It needs to be decompressed twice. * * there may be errors with other decompression tools.

Decompress it and put it in the gnu_gcc directory.

The directory you unzipped is recommended in the env/tools/gnu_gcc directory.

3. Compiled code

After the decompression is complete, the compiled code sets bsp\ raspberry-pi\ raspi4\ rtconfig.py

The setting path is as follows:

Change to the path of your own GCC tool chain.

4. Compiled code

Open the env tool and type scons to compile.

Note that it is best to type scons-c to clean up before the first compilation.

Then type scons to start the compilation.

5. Matters needing attention

The above methods are also suitable for building a development environment on Windows in a raspi3-64-bit system.

The main thing to pay attention to is the decompression of gcc compressed files, which is easy to cause compilation link failure.

Another is the initial compilation, it is recommended that you enter scons-c, and then start compiling the code.

6. Firmware download

Firmware (rtthread.bin) can be placed in the boot disk of the SD card.

Modify the config.txt file as follows:

Enable_uart=1

Arm_64bit=1

Kernel=rtthread.bin thank you for reading this article carefully. I hope the article "how to build a RT-Thread development environment for raspberry pie 4b on window" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report