Blog


Day TBD: Currently in the Process of Importing Posts into Blog

...

2D Geometric Operations

Importing. ...

Image Histograms

Importing. ...

Rust Fundamentals

Importing. ...

What is a Point Operator?

Importing. ...

Review of Working with Files in C

Importing. ...

Image Processing Basics

Importing. ...

C Pointer Review

sizeof() Operator sizeof() is a compile-time operator in C that determines the size of a data type, variable, or object. It is not a function and it is not part of a library! The sizeof() operator is built into the C language, and the compiler translates sizeof() into the data type or variable size passed into the operator during compilation. ...

C Pointer Exercises

Pointer Exercises ...

Setting up the STM32 with VSCode and CMake

Importing. ...

Setting up STM32 VSCode Extension

Importing. ...

Pointer Arithmetic Review

I’ve been rusty in regards to C pointer fundamentals and decided to review pointer arithmetic. One can easily be thrown off by pointer arithmetic because adding 1 to a pointer is not as simple as adding two numbers in standard arithmetic. For example: ...

Pended SVC

The LunaRTOS kernel utilizes the Pended SVC (PendSV) feature for context switching. PendSV is an ARM Cortex-M feature that allows the software to trigger an exception to perform a context switch from one thread to another. I originally used SysTick for context switching in LunaRTOS, but this can cause issues if SysTick is needed for other OS-related tasks. Both PendSV and SysTick are system-level interrupts supported by the ARM Cortex-M. ...

Spinlock Semaphore

I’ve been working on LunaRTOS – a custom real-time operating system – on and off for the past few months. I’m familiar with FreeRTOS and other more safety-critical RTOSs (VxWorks, Integrity, etc), but wanted to 1) learn more about how to build a RTOS and 2) Use a custom RTOS in my personal projects. ...