Pinned Tweet
A quick story from our CEO (@regalis_pl ) 👇
I have been working on a new library/framework for programming embedded systems with modern C++ (-std >= c++23).
I have started this project as an experiment with the RP2040 from {@Raspberry_Pi, @RaspberryPi_org} as a main CPU. The goal was simple - create hi-level, memory-safe zero-cost abstractions using modern C++.
I added an additional restriction for myself - do not use absolutely any external dependency. This requirement automatically means that everything comes down to real bare-metal programming.
I ended up managing to implement literally everything myself without including any external header. Everything = linker scripts, memory maps and even a bootloader with a dedicated tool to embed a required checksum into the final UF2 file.
Things that are up and running as for today:
* booting from the external flash memory using hand-written bootloader (stage #2),
* running the system at 125MHz:
-> configuring a crystal oscillator (XOSC),
-> configuring PLLs,
-> configuring all system clocks (clk_gpout{0..3}, clk_ref, clk_sys, clk_peri, clk_usb, clk_adc, clk_rtc),
* configuring a watchdog timer,
* configuring timers,
* sending/receiving data with UART,
* configuring GPIOs,
* configuring PWMs.
#cpp #cpp23 #embedded #raspberrypi #security #rp2040 #stm32 #baremetal
More interesting things below 👇
Regalis Technologies retweeted
Motorola has announced their new high end flagship phone including upcoming official support for GrapheneOS as an OS option.
Motorola Signature 27 will be the first Motorola device supported by GrapheneOS. More devices will be supported in the future.
motorolanews.com/motorola-si…
In 2023, we spent $3,934,099 on AWS + other hosting. In 2026, our hosting + support bill is down to ~$1m/year due to the cloud exit. Even including all the hardware buying, we will already have saved ~$4m by the end of this year. And going forward, it's ~$3m/yr in savings 🤑
Regalis Technologies retweeted
Recently did an interview on behalf of GrapheneOS with @davidbombal which can be found below.
I'd like to say a huge thankyou to David for his kindness, patience and consideration, his team are also a huge credit to him too. All round great experience.
xitter.cf/davidbombal/status/199…
GrapheneOS vs Stock Android: The Truth About Google “Privilege”
Watch this video on YouTube:
youtu.be/eUEtc6gblK0
Regalis Technologies retweeted
If you are interested in low-level security of Linux, especially in the context of Yocto, @crosscon_eu, cache attacks, cold boot attacks, and OpenBMC, feel free to tune in.
Zarhus Developerz Meetup 0x1 will start with an introduction by @pietrushnic, where he will explain what Zarhus is, its goals, and how it connects to @3mdeb_com services and products events.dasharo.com/event/4/z…
Regalis Technologies retweeted
UEFI Secure Boot is not the only chain of trust technology in our repertoire, but we also like to explore ARM Cortex-A and occasionally with Cortex-M capabilities. Different tools but essentially the same concepts make your computing more trustworthy.
We're returning with another fascinating story from our Root of Trust and Chain of Trust @Zarhus_com cookbook. This time, we approach #Rockchip RK3568B Secure Boot, SoC of open-schematics hardware from #Hardkernel named Odroid-M1.
blog.3mdeb.com/2025/2025-04-…
Replying to @QubesOS
@QubesOS Summit 2024 Day 2
💥 Transmission is live on the @3mdeb_com YouTube channel : youtube.com/watch?v=lyxnallI…
#qubesos #dasharo #3mdeb #security #freedom
@QubesOS Summit 2024 Day 1
👉 Video from the the previous day is also available on the @3mdeb_com's YouTube channel: youtube.com/watch?v=SZuIzffS…
Thank you gentlemen for doing this! 💪🚀
#qubesos #dasharo #3mdeb #security #freedom #gnulinux
[Higher level abstractions - PWM]
Another example of using our C++23 embedded programming framework. This time PWM, some implementation details and the example of use from the end user perspective.
Full bare metal, C++23, zero dependencies 👨🏭
#RP2040 #cpp #baremetal #embedded
Here is a real life demo of one of our projects (modern embedded framework).
It is all C++23, bare metal, zero dependencies. Free as in freedom 💪
💚 Follow us for more info! 👨🏭👨🔧
#cpp #baremetal #RP2040 #RP2350 #firmware
[Low level internals - PWM]
Bare metal, C++23, zero dependencies - using PWM on #RP2040; the low level part.
#baremetal #cpp #RP2040 #raspberry_pico
[0/4] This thread will present examples of using the descriptive, type-safe API in the context of LCD displays using the framework/library we are working on. MCU is #RP2040 by @Raspberry_Pi. It is all C++23, real bare metal with zero dependencies.
🧵👇 [0/4]
[3/4] Example usage!
You can refer to your characters by the name you define.
The position of this character in the display's CGRAM will be calculated at compile time!
#cpp #embedded #baremetal #firmware #zero_dependency #rp2040 #raspberry_pico
🧵👇
[4/4] Internals - Driver Implementation
The implementation of the driver itself must be simple and clear. This is very important to me.
The example shows how a given driver can accept any number of `Features`. This allows for behavior similar to #Rust traits.
--
This was a thread prepared by Patryk (aka Regalis), CEO of Regalis Technologies
Happy Hacking! 👨🏭























