Posts
2023 年记
· ☕ 4 min read

2023年年底,已经开始惦记着写年记了。每每到了某个节点就想着年记的时候可以记下来,到终了的时候要记得2023是个好年份。
真正开始写又不知道从哪开始了。


2022 年记
· ☕ 3 min read

2023年元旦,身上还披着厨房围裙,坐在工作了三年的小办公室里,听着Ed Sheeran,已经准备好写年记了,只是不太确定可以写什么。


不惑之年有悟
· ☕ 2 min read
多数人到了不惑之年应该都是各种看透看穿,智慧满满了吧。我还是欠缺不少火候,各种“商”大概还是停留在弱冠到水平。不过活到老学到老,比起年轻的自己有进步,应该就是件值得庆幸的事了。最近有些小感悟,记录一下

2021 年记
· ☕ 3 min read

2022年3月,尘埃渐渐落定后,我终于可以坐下来写写过去的一年发生了什么。


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

2020终于也过去了。
过去得有点稀里糊涂。


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

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