Lefticus - C++ Project Template
I have been slowly adding more stuff for my complete @royyandzakiy/cpp-project-template. Lately I’ve been focusing on adding things to do in the CI, and I was re-watching Jason’s video on...
Zephyr App Event Manager (app_event_manager)
Another design of event-driven architecture is the AEM (app_event_manager) in Zephyr. This subsystem/framework enforces its users to structure their code in modules. Each module connected to the event-driven backend will...
Zephyr Modern C++ - State Machine Size Comparison
Can we use the latest C++ features on microcontrollers? Yes. I’ve been testing out to use it on Zephyr and ESP-IDF. One particular feature I tried out in this example...
Compiling latest Clang++
Just finished my 4 hr compile (with many many times failing) of the llvm-project to get the latest clang++ with custom features 😅 Compiled it in Linux WSL Here Mike...
ESP Rust Hello World!
Compiled and ran my first esp rust (auto generated) firmware! Planning to add a simple webserver API call, while learning Rust Can’t wait to dive deeper!
Zephyr Modern C++ - Sensors Concept
Can we use the latest c++ features on microcontrollers? I’ve been testing out to use it on Zephyr and ESP-IDF Here is the continuation of the last post. This time...
Zephyr Modern C++ - Statemachines using std::variant/std::visit
Can we use the latest C++ features on microcontrollers? Yes. I’ve been testing out to use it on Zephyr and ESP-IDF One particular feature I tried out in this example...
Perfect Forwarding the "Hello World!"
I’ve been going back and forth understanding lvalue and rvalue. Here is an attempt of mine in explaining it So here is a cool “Perfect Forwarding” Hello, World! code implementation...
Concepts in C++
Last post I shared about type traits to enable a SFINAE Class Template based Mocking to be used in the case of populating unit tests in cpp. Since C++20, the...
30 Useful C++ Libraries
One thing I love doing in my spare time is looking and trying out new C++ Libraries, just checking out what they do, looking into the Hello World examples, compiling...
C++20 Modules
I’ve been exploring the “new” features of cpp. here I implemented Modules, a feature in cpp20 that by far can only seamlessly be used in the msvc (Visual Studio 17...
C++ Type Traits & SFINAE
One of the tasks I need to do when developing Native Windows App Libraries is creating unit tests for each component. That process requires me to heavily use and maintain...
Core-App Architecture for C++ Projects
I’ve been exploring different kinds of C++ project setups. What philosophy do they have, what overarching architecture do they use, what build system do they utilize. Here, Cherno shares his...
RTOS Sharing Session
Had a blast sharing with the Synapsis team! The topic was about Embedded RTOSes, we mainly talked about FreeRTOS and did hands-on using ESP32. One thing that I don’t find...
Extending spdlog into a Custom Logger
Here’s a small attempt to make my C++ projects have better logs. Rather than just using cout or printf, I use the spdlog library, then wrap it with a specific...