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.


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

2019年最后一个晚上,趴在我自己的床上,用Android版的Notion,写下这篇年记。这已经说明和往年有挺大的不一样了吧。


2018年记
· ☕ 2 min read

一年就这样过去了。

新年前夜外面有人点烟火放炮仗,早上起来看新闻说州府照例吊巨型土豆跨年,然后还有很多人Google那个土豆是不是真的。


2017 年记
· ☕ 5 min read

2017年12月底,家里除了我所有人都已经睡着了,客厅里圣诞树的灯还亮着。把冰箱里女儿没喝完的牛奶干完,我想起是时候记录一下即将逝去的这一年了。