The Dance of Compilation: C/C++ and GCC Collaboration

The Dance of Compilation: C/C++ and GCC Collaboration

On the modern stage of computing, programming languages are like dancers, while compilers are the choreographers guiding them from behind the scenes. Every piece of code written is like a carefully designed dance. On this stage, C language and GCC (GNU Compiler Collection) are a classic duo. Together, they perform a magnificent dance of compilation, … Read more

Common Linux GCC Commands

Common Linux GCC Commands

(Click the public account above to quickly follow) Source: ggjucheng Link: http://www.cnblogs.com/ggjucheng/archive/2011/12/14/2287738.html 1 Introduction The meaning of GCC is just GNU C Compiler. After so many years of development, GCC now supports not only C language; it also supports Ada, C++, Java, Objective C, Pascal, COBOL, and even functional and logic programming languages like Mercury, … Read more

Creating IAR Project for KEA128 Chip

Creating IAR Project for KEA128 Chip

Teacher Zhu, this tutorial is based on notes I整理ed from a recent competition. I remember that there was very little information online about the KEA128 application in smart car competitions. I have graduated but couldn’t bear to delete these materials. If you think this article might be useful for everyone (especially those just starting with … Read more

STM32 BSP LPSPI Library Implementation

STM32 BSP LPSPI Library Implementation

Previously, I used the RT1052 development board, but now STM32 is obviously more popular among everyone. Therefore, I am providing this C file for everyone to benefit from the driver I wrote earlier. #include "bsp_lpspi.h" SPI_HandleTypeDef SpiHandle; void Spi_delay(uint32_t count){ volatile uint32_t i = 0; for (i = 0; i < count; ++i) { __asm("NOP"); … Read more

What Does an Embedded BSP Engineer Do?

What Does an Embedded BSP Engineer Do?

What exactly is a BSP engineer? Let’s take a look at this article. 1. Embedded Systems To understand what an embedded software engineer is, we first need to talk about embedded systems (embedded devices). The definition of embedded systems according to Wikipedia is as follows: Embedded systems (<span>Embedded System</span>) are a type of computer system … Read more

How to Become an Excellent Embedded BSP Engineer?

How to Become an Excellent Embedded BSP Engineer?

▼Click the business card below to follow our public account▼ Abstract: BSP, short for Board Support Package, means Board Support Package in Chinese. A BSP engineer is responsible for the development, debugging, and maintenance of the board support package. So what is a board support package? What is a BSP engineer? How can one become … Read more

What Is a BSP Engineer?

What Is a BSP Engineer?

Article Source https://luomuxiaoxiao.com/?p=170 1. Embedded Systems To understand what an embedded software engineer is, we first need to discuss embedded systems (embedded devices). Wikipedia defines embedded systems as follows: An embedded system is a computer system that is embedded within a mechanical or electrical system, designed for specific functions and real-time computing performance. In simple … Read more

Library-Based Embedded Device Driver Development

Library-Based Embedded Device Driver Development

Follow and star our public account to access exciting content Source: The Last Bug Some friends asked me how to write excellent C code. This cannot be explained in just a few sentences. Excellent code is bound to be the crystallization of various programming techniques and design philosophies, so it requires step-by-step accumulation of methods … Read more

The ‘Library’ Concept in Embedded Device Drivers

The 'Library' Concept in Embedded Device Drivers

I'm Lao Wen, an embedded engineer who loves learning. Follow me, and let's become better together! How to write excellent C code? Excellent code is a crystallization of various programming techniques and design ideas, so it requires step-by-step accumulation. I’m sharing this article on building the ‘library’ concept for everyone to experience. What if device … Read more

An Introduction to Block Device Drivers

An Introduction to Block Device Drivers

Introduction I have been researching IO for a long time and have been unable to connect bio and block device drivers. I only knew that bio is passed to the block device driver through the IO scheduling algorithm, but I never fully understood how this happens or where the IO scheduling algorithm plays its role. … Read more