Mastering the GDB Debugger to Enhance Programming Efficiency

Mastering the GDB Debugger to Enhance Programming Efficiency

On the long road of software development, bugs are like “little monsters” hiding in the dark, occasionally jumping out to cause trouble for developers. Once, the European Space Agency (ESA) launched the Ariane 5 rocket for the first time, which was an important moment in the history of space exploration, but a single line of … Read more

An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

Related source code documentation:File path:In the GCC directory, these three files: c-common.h c-common.c c-parser.c First, change the basic type int to zheng: Figure 1.1 Add RID_ZHENG after RID_INT in c-common.h, as shown in Figure 1.1. Figure 1.2b. Then in c-common.c, add the following line after record_builtin_type (RID_INT, NULL, integer_type_node);: record_builtin_type (RID_ZHENG, NULL, integer_type_node); c. In … Read more

Modifying Include and Define in GCC on Windows Platform

Modifying Include and Define in GCC on Windows Platform

Figure 1Path:source\gcc-4.1.1\libcpp open filedirectives.c, as shown in Figure 1. Change define to dingyi;a. Add the following at the bottom of #define DIRECTIVE_TABLE in directives.c: D(dingyi, T_DINGYI, KANDR, IN_I)/* */, as shown in Figure 1. b. Then search for do_define in directives.c: Figure 2 Then add a new function do_dingyi below this function, as shown in … Read more

Installation Guide for Keil uVision2 C51 Software with Download Package (June 24)

Installation Guide for Keil uVision2 C51 Software with Download Package (June 24)

SoftwareDownload [Name]: keil uVision2 C51 [Size]: 11.4 MB [Language]: Simplified Chinese [Installation Environment]: Windows 7 and above [Download Link via Quark Cloud Disk] https://pan.quark.cn/s/9664b30e47e7 Download Link 2: dhm6.cn Note: If Quark Cloud Disk is unavailable, please use Download Link 2 SoftwareIntroduction Keil C51 represents the C language development tool for the 51 series compatible microcontrollers. … Read more

Keil uVision 5 C51 v9.59 Software Package Download and Installation Guide

Keil uVision 5 C51 v9.59 Software Package Download and Installation Guide

Software Download 1. Software Name:Keil uVision5 2. Software Version:C51v9.593. Software Size:77.6MB4. System Requirements:Windows 7/Windows 10/Windows 11 (64-bit version) 5.Quark Cloud Disk Download Link: https://pan.quark.cn/s/b53ce857a4a2 Please back up immediately and extract to prevent information loss. Remember not to extract files directly on the webpage! Software IntroductionKeil uVision5 is an integrated development environment primarily aimed at developing … Read more

My Journey with C Language: 7 – Expressions and Operators

My Journey with C Language: 7 - Expressions and Operators

1. Common Operators in C Language: Classification and Function Introduction Classification Operator Symbol Function Description Arithmetic Operators <span>+</span>、<span>-</span>、<span>*</span>、<span>/</span>、<span>%</span>、<span>++</span>、<span>–</span> Used for basic mathematical operations such as addition, subtraction, multiplication, division, modulus, as well as increment and decrement operations. The division operator <span>/</span> uses <span>truncation towards zero</span> (after C99), for example: -7/2 = -3. The modulus operator … Read more

C Language Executor for Series 30i/31i/32i CNC Systems

C Language Executor for Series 30i/31i/32i CNC Systems

The Series 30i/31i/32i C Language Executor allows machine builders to add custom screens to the 30i/31i/32i and customize the screen display and operation interface of the CNC software. Any CNC screen can be replaced with a C Language Executor application screen. User applications regarding screen display and operation interface are developed using standard C language, … Read more

Cross-Platform Embedded Development Toolchain: PlatformIO

Cross-Platform Embedded Development Toolchain: PlatformIO

Scan to FollowLearn Embedded Together, learn and grow together Introduction PlatformIO is a cross-platform embedded development toolchain that supports over 50 development platforms and more than 2000 development boards. Official resource link (copy to browser to open): https://docs.platformio.org/en/latest/what-is-platformio.html It integrates features such as a build system, library management, debugging tools, and continuous integration, providing embedded … Read more

OpenHarmony SDK Compilation Issues Documentation

OpenHarmony SDK Compilation Issues Documentation

OpenHarmony is still immature on the RK3588, and SDK compilation often fails. This document records the issues encountered during compilation. Disallowed exec_script call camera_dump.cpp xxxx depend part xxxx need set part deps xxx info to xxxx allocating an object of abstract class type 1. Disallowed exec_script call This issue arises when the BUILD.gn in OpenHarmony … Read more

FreeRTOS Learning Notes (Part 10) — System Delays

FreeRTOS Learning Notes (Part 10) — System Delays

🎀 Article Author: Ertu Electronics🌸 Follow the public account at the end of the article for more materials and project files!🐸 Looking forward to learning and exchanging ideas together! Article Cover 1. Concepts of Relative Delay and Absolute Delay First, let’s understand the concepts of relative delay and absolute delay. • Relative Delay refers to … Read more