Memory-Saving Software Design Techniques in Embedded Programming

Memory-Saving Software Design Techniques in Embedded Programming

ID: The Last Bug Author: Unknown Bug First, let’s talk about Everyone knows that there is a significant difference between microcontroller programming and computer programming: the resources of microcontrollers are very limited, and most low-end microcontrollers do not have an operating system. Except for some embedded-level chips that use Linux, most operations are done with … Read more

Challenge: Write a Blinking LED Program in Just 100 Bytes!

Challenge: Write a Blinking LED Program in Just 100 Bytes!

This article is lengthy, with a total reading time of 10 minutes. # Author: Roff Segger, Technical Testing, Translation, and Writing at SEGGER We are testing using SEGGER’s Embedded Studio development environment: on a Cortex-M microcontroller, how much Flash memory is needed to complete a blinking LED application? Objective: · Complete a blinking application using … Read more

Understanding NumPy: The Core Library for Numerical Computing in Python

Understanding NumPy: The Core Library for Numerical Computing in Python

The core functionality of NumPy (Numerical Python) is specifically designed to handle multidimensional arrays, but its capabilities extend far beyond that. As the foundational library for scientific computing in Python, it centers around N-dimensional arrays (ndarray), deriving a full range of functionalities covering mathematical operations, linear algebra, data preprocessing, and more. 1. ndarray: NumPy’s Exclusive … Read more

Applications of Embedded Programming: The Intricacies of Union

Applications of Embedded Programming: The Intricacies of Union

Concept of union In Chinese, union is referred to as a union, joint, or collective. Its definition format is the same as that of a struct, but its meaning is entirely different. Below is the definition format of a union: union union_name { member_list } union_variable_name; Since its definition format is the same as that … Read more

Exclusive Insights into the Python Geospatial Data Analysis Library GeoPandas: An Essential Tool for Professionals

Exclusive Insights into the Python Geospatial Data Analysis Library GeoPandas: An Essential Tool for Professionals

It was a memorable Friday evening when I attempted to process five million GPS records of taxis in New York City using GeoPandas, and my 16GB RAM MacBook Pro began to roar like a helicopter taking off. This wasn’t my first time encountering issues during geospatial analysis, but watching the Jupyter kernel crash repeatedly made … Read more

C Algorithm 04: Searching Massive Data

C Algorithm 04: Searching Massive Data

【Problem】Given 4 billion unique unsigned int integers that are not sorted. Given a number, how can we quickly determine if this number exists among those 4 billion numbers? 1 billion is 9 zeros, so 4 billion is 4000000000. Our instinctive thought for a solution is to use a for loop to find the equal number, … Read more

Optimizing Program Size in Embedded C/C++ Development: Structure Optimization

Optimizing Program Size in Embedded C/C++ Development: Structure Optimization

Optimizing Program Size in Embedded C/C++ Development: Structure Optimization In <span>C</span> and <span>C++</span> programming, the memory layout of structures (<span>struct</span>) has a significant impact on program performance and memory usage, especially in embedded development where <span>RAM</span> is limited to <span>16K</span>, <span>8K</span>, or even <span>4K</span>; every byte counts, and there is no room for waste. This … Read more

Efficient CNN Algorithms and System Co-Design in TinyML

Efficient CNN Algorithms and System Co-Design in TinyML

Click belowcard, follow the “LiteAI” public account Hi, everyone, I am Lite. Recently, I shared the Efficient Large Model Full-Stack Technology Articles 1 to 19, which includes content on large model quantization and fine-tuning, efficient inference of LLMs, quantum computing, generative AI acceleration, etc. The content link is as follows: Efficient Large Model Full-Stack Technology … Read more

Android Performance Optimization: Memory Management Techniques

Android Performance Optimization: Memory Management Techniques

Hot Articles | Click Title to Read How to Advance to Become a Java and Android Architect? Why Should We Prohibit HTTP Methods Other Than GET and POST? Why Do Internet Companies in Beijing Experience Rush Hour at 10 PM? Author: Overried Source: http://www.apkbus.com/blog-955864-78235.html Memory optimization is a basic skill for programmers. Sometimes, it is … Read more

Memory Optimization Techniques in Microcontroller Development (C Language Version)

Memory Optimization Techniques in Microcontroller Development (C Language Version)

First, let’s talk about As we all know, the biggest difference between microcontroller programming and computer programming is that microcontrollers have very limited resources, and most low-end microcontrollers do not have an operating system. Except for some embedded-level chips that use Linux, most operations are done with simple RTOS, and some simple applications or chips … Read more