Zephyr Memory Slab Design
· ☕ 3 min read

I have been always interested in zero cost abstraction designs and data structures. Recently I just found another great example while checking the Zephyr project: the memory slabs.

A Short Journey With Macros
· ☕ 5 min read

Playing with embedded systems for quite a few years, I have gained special love for arrays, enums, structs and, macros.
These are basic data structures and language features when used properly, would offer great readability, space/time efficiency
and, pleasure. A lot of the time with these simple tools one can construct zero-cost abstraction, which still facinates me every now and then.

2020 年记
· ☕ 4 min read


Amba for Dummies Amba 3 Deep Dive APB
· ☕ 5 min read
Well I am not sure how deep this Deep Dive is, but I will ensure you for a dummy book this chapter will be deep enough. Timing Diagram Legends It is very likely the next material you will read after this one is an AMBA spec, where you will see some timing diagram conventions like below and it will be helpful to understand now what they actually mean. Well clock is straightforward and you don’t need to be a hardware guy to understand what it means: a high and a low means one clock cycle. The rising/falling edge might trigger some operations in the hardware that driven by this clock (a.

Amba for Dummies : Preface
· ☕ 2 min read

I don’t know about you, but I am, at least at the time of writing, a so-called firmware engineer who knows a little bit of C/C++/Python/Rust, who struggles with keeping some vague and superficial, out-of-date and sometimes incorrect understanding about the hardware platform that runs my code.

Amba for Dummies : Intro
· ☕ 1 min read

This is a new personal project of mine. I build this dummy book with my personal notes when learning AMBA.

Software Engineering v.s Workwooking
· ☕ 4 min read

This year I become a 13-year software engineer and a 5-year woodworker (no, the latter is not certified). And now I believe there are reasons why I love writing code and making wood dust: they are so much alike!

2019 年记
· ☕ 3 min read


· ☕ 2 min read



2017 年记
· ☕ 5 min read