Sport Stadium Perimeter LED Display Sport Stadium Perimeter LED Display,LED video wall for sports venue,Sports arena LED screen,Waterproof sports LED digital signage,Energy saving Soccer Stadium LED Display,High Brightness sports LED Video wall Shenzhen Xinfei Century Technology Co., Ltd. , https://www.rgbdancing.com
Teach you how to quickly contribute code to RT-Thread on Github
Happy 1024 Programmer's Day! Today, we honor the programmers who shape our digital world. I sincerely wish all developers around the globe: no bugs, no overtime, no heartache, and no salary stress. Those who use technology to change the world truly deserve more beauty and recognition!
As an open-source IoT operating system, RT-Thread has grown through the efforts of hundreds of contributors on GitHub. While many have submitted code directly, others have contributed in less visible ways. To all the developers who have worked on RT-Thread, thank you for your hard work and dedication!
If you're a fan of RT-Thread, please give the main repository a star at [https://github.com/RT-Thread/rt-thread](https://github.com/RT-Thread/rt-thread) to support the development team and encourage more people to join the community. The more contributors we have, the better RT-Thread becomes.

↓ ↓↓

If you're interested in contributing code to RT-Thread, you can submit your changes via GitHub by following the fork and pull request process. For detailed guidelines, please refer to the `coding_style_cn.txt` file in the documentation directory of the RT-Thread project: [https://github.com/RT-Thread/rt-thread/blob/master/documentation/coding_style_cn.txt](https://github.com/RT-Thread/rt-thread/blob/master/documentation/coding_style_cn.txt).
This tutorial will guide you through the entire process of submitting code and getting it officially recognized by the RT-Thread community.
First, let’s understand what a **pull request** is. A pull request (PR) is a way for developers to propose changes to a project. Think of it like this: imagine you’re taking a test in school. Your test paper is like a repository. You make mistakes, just like bugs in code. The teacher takes your paper, reviews it, and gives feedback—this is similar to forking and making commits. Then, you submit the corrected version back to the teacher, which is like creating a pull request. Finally, the teacher merges your changes into the original version, just like merging your code into the main project.
Here’s how to contribute code to someone else’s project:
1. **Fork** the repository first. This is like copying the original work to your own space.
2. **Clone** the forked repository to your local machine.
3. Create a **local branch** for your changes. It’s best practice to avoid working directly on the main branch.
4. Make your **changes or fixes** and commit them locally.
5. **Push** your changes to your remote forked repository.
6. Before submitting a PR, **update your fork** with the latest changes from the original repository.
7. Submit a **pull request** to the original project, explaining your changes clearly.
8. The maintainers will review your PR. If approved, your code will be merged into the main project.
Let’s walk through the process using the RT-Thread repository as an example:
1. **Fork** the RT-Thread repository to your own GitHub account.

2. **Clone** the repository to your local machine.



3. **Create a local branch** for your development work.
4. **Make your changes** and fix any bugs you find.

5. **Commit your changes** to your local repository.

6. **Update your fork** with the latest code from the original repository before submitting a PR.
7. **Push your changes** to your remote repository.

8. **Submit a pull request** by selecting your branch and clicking "Create Pull Request".


9. **Follow some guidelines** when submitting code:
- Ensure your code strictly follows the RT-Thread coding standards.
- Keep BSP-related changes isolated to the BSP section and avoid affecting other parts of the system.
- Limit component-specific changes to that component only.
- Clearly describe your changes in the PR message, including tags like `[BSP]` or `[Component Name]`.
- Be responsive to feedback and keep your PR active. If ignored for too long, it may be rejected.
Contributing code is not just about adding features—it’s about improving the project and growing as a developer. Every PR you submit helps make RT-Thread stronger and better.
At this point, you’ve completed the contribution process. Congratulations—you are now an official contributor to RT-Thread!
Keep going, and don’t stop sharing your knowledge and code with the community. Together, we can build something amazing!