Learning CMake When Necessary

Learning CMake When Necessary

Recently, I was working on a project that required knowledge of CMake. Previously, I was involved in BSP driver development, where CMake was not used at all. The only intersection with CMake was during the porting of the gateway project, which involved only minor modifications. It wasn’t until I started developing a project with CMake … Read more

CMake Tutorial: Build and Link Libraries

CMake Tutorial: Build and Link Libraries

# Specify Minimum Version, Not Required cmake_minimum_required(VERSION 3.2) # Project Name project(chat) # Define the Executable File Generated by This Project #add_executable(ExecutableName SourceFileName.c) add_executable(chat_app) # When there are many files, define the file names as variables #set(VariableName SourceFile) set(SRC_LIST add.cpp div.cpp main.cpp mult.cpp sub.cpp) #add_executable(ExecutableName SourceFiles) Use $ as a value symbol and wrap variables … Read more

Empowering Raspberry Pi Camera with Picamera2: Unlocking the World of Imaging

Empowering Raspberry Pi Camera with Picamera2: Unlocking the World of Imaging

As a powerful microcomputer, Raspberry Pi’s strong image processing capabilities attract numerous makers and developers. In the past, Picamera, as the official Python imaging library for Raspberry Pi, provided developers with a convenient way to capture and process images. However, with the continuous development of technology, Picamera can no longer meet new demands. Therefore, the … Read more