Porting and Using VxWorks RngLib Ring Buffer

Porting and Using VxWorks RngLib Ring Buffer

1. RngLib Source Code rngLib.h /* rngLib.h – ring buffer subroutine library header */ /* Copyright 1984-2004 Wind River Systems, Inc. */ /*modification history——————–02e,22oct04,aeg removed rngCreateKernel() and rngDeleteKernel() (SPR #102956)02d,23mar04,job Removed special handling of STDC for function prototypes02c,20jan04,dat Adding rngCreateKernel for 8843702b,22sep92,rrr added support for c++02a,04jul92,jcf cleaned up.01k,26may92,rrr the tree shuffle01j,04oct91,rrr passed through the ansification … Read more

Create High-Tech Products with Raspberry Pi in Three Days!

Create High-Tech Products with Raspberry Pi in Three Days!

Do you often come up with many novel ideas? Do you have a lot of crazy GEEK ideas? Do you want to improve the shortcomings of existing products? Do you want to create your own tech products by hand? Did you know? You can create it based on Raspberry Pi! What is Raspberry Pi? The … Read more

Practical Tips for Android Studio

Practical Tips for Android Studio

2018 Android Bus Global Developer Forum-Chengdu Station The Android Bus Global Developer Forum Chengdu Station is about to start! Introduction I believe there are probably more articles introducing Android Studio shortcuts and usage tips than there are of us programmers, so having one more or one less doesn’t matter. Here are some shortcuts I use … Read more

The Rise of Python Over 30 Years

The Rise of Python Over 30 Years

Python has reached its 30th anniversary. When Uncle Guido released Python in the 1990s, he probably never imagined that Python would achieve such a prominent status today. What Factors Have Contributed to Python’s Journey to Today? Among the dynamic languages 30 years ago, Perl and Python had the most overlapping functionalities, and Perl was the … Read more

Fundamentals and Practices of Embedded Systems

Fundamentals and Practices of Embedded Systems

Fundamentals and Practices of Embedded Systems – Based on ARM Cortex-M3 Core STM32 Microcontroller Editor-in-chief: Liu Liming ISBN: 9787121390890 Publisher: Electronics Industry Press Uploader: 0511291640ptsd The book “Fundamentals and Practices of Embedded Systems – Based on ARM Cortex-M3 Core STM32 Microcontroller” is a university textbook on embedded systems. It focuses on the STM32 microcontroller based … Read more

Microcontroller C Language and Program Design Basics

Microcontroller C Language and Program Design Basics

New Course Launch, Free Videos Available NEW COURSE 1 Microcontroller C Language and Program Design Basics Course Introduction: This lesson consists of three sessions, detailing how to write hardware programs for microcontrollers and the basic structure of C language programs. It is very suitable for our beginner students and will help everyone get started more … Read more

How Large Is the Program for Microcontrollers?

How Large Is the Program for Microcontrollers?

I have always been curious about a question: after writing a microcontroller program, when I use the programming software to upload it, I can see the size of the programming file, which is the hex file size: The microcontroller chip I am using is STM32F103C8T6, with a program memory (flash) of only 64K. From the … Read more

Advanced STM32: Implementing Circular Buffer for UART

Advanced STM32: Implementing Circular Buffer for UART

The Concept of Queue Before we start, let’s review the basic concept of a queue: Queue: A linear structure that follows the First In First Out (FIFO) principle, allowing insertion at one end (enqueue) and deletion at the other end (dequeue). Characteristics of a Queue Similar to a ticket queue, the first person to arrive … Read more

Practical Knowledge of JSON Data in Embedded Systems

Practical Knowledge of JSON Data in Embedded Systems

JSON (JavaScript Object Notation) is a lightweight data interchange format. JSON is widely used in internet-related development, and it is also quite common in embedded systems. Recently, I used it in a project, and I would like to share my experience. An example of a simple JSON formatted data is as follows: { "name": "xxx", … Read more