Tips for Shutting Down or Restarting Linux Systems

Tips for Shutting Down or Restarting Linux Systems

When shutting down or restarting a Linux system, you might think of the commands shutdown、halt、poweroff、reboot. These four commands are used for shutting down or restarting Linux systems, differing in functional objectives, execution processes, and flexibility. shutdown command The most flexible “scheduled” shutdown/restart Core Functions: Supports immediate execution as well asdelayed execution (e.g., shutdown or restart … Read more

Initial Configuration Sequence of STM32CubeMx and DMA Transfer Issues

Initial Configuration Sequence of STM32CubeMx and DMA Transfer Issues

Many STM32 developers often configure and generate initialization code based on the HAL library using STM32CubeMx. When it comes to DMA functionality, they find that it is ineffective, but cannot seem to identify the cause from the configuration operations and the code itself. This situation can often be quite frustrating. For example, someone reported that … Read more

Is STM32 Hard to Learn? These Tools Can Help!

Is STM32 Hard to Learn? These Tools Can Help!

Table of Contents: 1. STM32Cube Ecosystem 2. CubeMX 3. CubeIDE 4. CubeProg 5. Developing with CubeIDE 5.1 STM32CubeIDE Home 5.2 Generating Projects 5.3 Program Download 6. Conclusion 1. STM32Cube Ecosystem I remember trying out CubeMX when ST first launched it, back then the automatically generated peripheral initialization code had some minor errors. Now, with the … Read more

Using STM32CubeMX to Generate Configuration Code Structure

Using STM32CubeMX to Generate Configuration Code Structure

Keywords: .extSettings, file structure, BSP Directory Preview 1. Introduction 2. The Role of .extSetting File 3. Usage Example 4. Summary 01Introduction While reading the UM1718 document, I found that CubeMX has a great feature that allows you to use the “.extSettings” file once, so that no matter which IDE you use later (as long as … Read more

STM32Cube Efficient Development Tutorial Introduction

STM32Cube Efficient Development Tutorial Introduction

Our new book “STM32Cube Efficient Development Tutorial (Basic Volume)” has finally been printed and is now available on major e-commerce platforms. Below is the “Introduction” of the book, serving as a brief overview to give everyone a preliminary understanding of it. I will write further articles to introduce the specific content of each chapter, as … Read more

What Bugs Were Fixed in STM32CubeIDE V5.0.1?

What Bugs Were Fixed in STM32CubeIDE V5.0.1?

Top/Star Public Account, don’t miss any messages Many people are concerned about STM32CubeIDE because it integrates the compilation environment and avoids piracy issues. Previously, when STM32CubeIDE V1.0.0 was released, it caused quite a stir in the community. I have previously written two articles about STM32CubeIDE: STM32CubeIDE Officially Launched Installing and Configuring STM32CubeIDE, Generating Code, Online … Read more

Step-by-Step Guide to Create HAL Version MDK Project Template

Step-by-Step Guide to Create HAL Version MDK Project Template

Hello everyone, I am Liang Xu. This is the second article in the embedded series, and I plan to publish two articles per week on embedded topics in the future. All of Liang Xu’s articles are exclusively published on: www.lxlinux.net/e/, feel free to bookmark it. The outline of this article is as follows, please read … Read more

Why STM32 LL is More Efficient than HAL?

Why STM32 LL is More Efficient than HAL?

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column The standard peripheral library, HAL, and LL software library of STM32 all have many clever aspects worth learning from.Today, we will discuss how the STM32Cube LL library cleverly uses “static inline” to make the code more efficient. … Read more

HarmonyOS Device Driver Development: Design and Implementation of the Hardware Adaptation Layer

HarmonyOS Device Driver Development: Design and Implementation of the Hardware Adaptation Layer

Hello, today let’s talk about something hardcore! The development of device drivers for HarmonyOS—this seemingly profound but actually quite interesting topic. Don’t be intimidated by the jargon; follow me step by step, and I guarantee you’ll have a clear understanding of the Hardware Adaptation Layer. I’ve been tinkering with Harmony drivers for over two years, … Read more