DYNAMIXEL Servos: Mixed C/C++ Programming with Keil and Makefile

DYNAMIXEL Servos: Mixed C/C++ Programming with Keil and Makefile

Introduction This is a servo motor with decent performance… mainly it’s expensive. Believing that expensive means good, they bought several XM430-W210 servos to build a robotic arm. First, they controlled the servos through the ROS interface, which worked fine. However, due to the poor real-time performance of ROS itself, they began the porting journey. The … Read more

Mastering GNU Make: From Beginner to Expert

GNU Make: From Beginner to Expert Translated from: https://interrupt.memfault.com/blog/gnu-make-guidelines GNU Make is a popular and commonly used program for building C language software. It is used to build the Linux kernel and other commonly used GNU/Linux programs and software libraries. Most embedded software developers will use GNU Make at some point in their careers, either … Read more

Controlling Exported Functions in Linux Shared Libraries

Click the blue text above to follow directly! Convenient for next reading. If this helps you, please give it a thumbs up or a like, thank you~ Article First Published Official Account – Pou Guangming On the third day of diligently working on a business trip in Shanghai…… The previous article introduced the rules for … Read more

The Relationship Between Makefile, Kconfig, and .config in Linux Kernel

The Relationship Between Makefile, Kconfig, and .config in Linux Kernel

When compiling the Linux kernel, we often execute some commands in the top-level directory of the Linux kernel. Taking RK3288 as an example, commands such as: make firefly-rk3288-linux_defconfig, make menuconfig, make firefly-rk3288.img, make zImage, etc. are used. Without getting into the specifics of these commands, let’s raise a few questions. (1) Given the vastness of … Read more

CMake Compilation Tools and Project Building

CMake Compilation Tools and Project Building

Click on the above“Beginner’s Guide to Vision” to selectStar or “Pin” Important content delivered promptly Article Overview This article starts with the compilation process of C/C++ code, clarifying the relationship between Make and Makefile, CMake and CMakeLists, and finally provides examples from the syntax rules of CMakeLists to help everyone become familiar with how to … Read more

The -n Option of Make Command Does Not Work

The -n Option of Make Command Does Not Work

The make command provides the -n parameter for debugging makefiles. When make is run with the -n parameter, it only prints the commands that would be executed, but does not actually execute them. For example, with the following makefile, running make all -n will print the commands to be executed but will not actually execute … Read more

Master Makefile in 5 Minutes

Master Makefile in 5 Minutes

Photographer: Product Manager This Sichuan restaurant tastes quite good In a previous article titled “Daily Skill: Writing Makefile for Python Projects”, we discussed Makefile. Many students have left messages in the public account backend wanting to further understand how to write a Makefile. Thus, we have today’s article. If you are currently using macOS or … Read more

Using Local Source for Remote Programming in CLion

Using Local Source for Remote Programming in CLion

Local Client Operating System: macOS / Linux / Windows Remote Host Operating System: Linux Source File Location: Local, automatically synchronized to remote host Required Tools on Remote Host: macOS/Linux/Windows client needs rsync, Windows client needs tar Project Model: CMake/Makefile Required Plugins (pre-installed and enabled by default): FTP/SFTP/WebDAV connection This remote mode allows you to use … Read more

Efficiently Manage Linux Projects with Makefile

Efficiently Manage Linux Projects with Makefile

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group of 1000 people, note “public account” for faster approval Basic Structure A simple Makefile usually includes the following parts: Variable Definitions: You can define compilers, compilation options, source files, etc. Rules: Specify how to build targets. The … Read more