Embedded Linux Development Log (4)

Embedded Linux Development Log (4)

Currently, most industrial control systems are embedded systems (a few simple systems use bare metal development directly). An “embedded system” refers to a computer system with specific functions embedded within specific hardware. Embedded systems generally consist of a real-time operating system (RTOS) + application software (a PLC itself is also an embedded system). Common real-time … Read more

Can Keil Use GCC Compiler?

Can Keil Use GCC Compiler?

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang Recently, I have received some questions from readers: Can Keil use GCC to compile code? Can Keil use other compilers? When you use other GUN toolchains for compilation, you may encounter errors like the following: — Error: can't execute 'as'— … Read more

Getting Started with Embedded Linux Using Buildroot – Part 5

Getting Started with Embedded Linux Using Buildroot - Part 5

@ Configuring QT5 in Microchip Buildroot Select Graphic Configuration File Add QT5 Configuration Modify Root Filesystem to Support QT5 Modify output/target/etc/profile Configuration File Add output/target/usr/share/X11 Configuration File Flash the Generated Linux Image Download Etcher Tool Generate Final Flashing Image Use Etcher Tool to Flash SD Card Introduction to the Partition of the Flashed SD Card … Read more

CLion Tutorial – Embedded GDB Server

CLion Tutorial - Embedded GDB Server

Operating System: Windows (MinGW or MinGW-w64) / Linux / macOS Required Tools: Debug probe with software, cross-compiler toolchain Build Targets: CMake / Makefile / Custom build targets To debug on the chip, you need to create a special run/debug configuration. In CLion, you can quickly create the following GDB server configurations using the "New Embedded … Read more

CMake Configuration Files in CLion

CMake Configuration Files in CLion

The settings required to build a CMake project are consolidated into a CMake configuration file. It includes the toolchain and build type, as well as CMake options such as generators and environment variables. You can configure multiple configuration files for a project to build targets with different compilers or different settings. To set up a … Read more

Setting Up IAR Toolchain in CLion

Setting Up IAR Toolchain in CLion

Operating System: Windows (MinGW) / Linux Project Format: CMake When setting up a toolchain for your embedded project, you can use the IAR compiler. CLion recognizes it as a C/C++ compiler and collects compiler information. You can also open projects that use the IAR toolchain, which should load successfully. Currently, only CMake-based projects are supported. … Read more

How to Add Built-in Macros to riscv-gcc

The riscv-gcc tool includes some built-in macro parameters. We can use these built-in macros to determine the behavior of the compiler. 1. Viewing GCC Built-in Macro Parameters Here, we take the riscv-nuclei-elf-gcc toolchain released by Chipone Technology as an example. Using the following command, we can get the built-in macro parameters of this tool: riscv-nuclei-elf-gcc … Read more

My Experience Learning Rust as a Web Developer

My Experience Learning Rust as a Web Developer

At that time, I was preparing to develop a new desktop application. Can Rust really save me from being replaced by AI? Can I become the legendary “10x engineer”? As a web developer, I feel a bit uneasy about whether I can be considered a “real developer.” Moreover, since this is a desktop application, I … Read more

An Overview of Buildroot

An Overview of Buildroot

Buildroot is a tool that simplifies and automates the process of building a complete Linux system for embedded systems using cross-compilation. To achieve this, Buildroot can generate a cross-compilation toolchain, root filesystem, Linux kernel image, and bootloader for your target machine.Buildroot can be used independently for any combination of these options (for example, you can … Read more

Introduction to Buildroot

Introduction to Buildroot

Originally from CSDN, this record is for the author’s learning needs. Author: xixihaha331 What is Buildroot Buildroot is a framework for building embedded Linux systems on the Linux platform. The entire Buildroot consists of Makefile scripts and Kconfig configuration files. Just like compiling the Linux kernel, you can configure Buildroot, modify it using menuconfig, and … Read more