EMBEDDED SYSTEMS · BARE-METAL SOFTWARE · CS & DATA SCIENCE STUDENT
I write real-time kernels, hardware tooling, and the systems underneath — directly against the silicon, with no HAL between me and the registers. Currently: Fleurr-OS, a from-scratch RTOS kernel for Cortex-M7 and AVR.
Built first on the ATmega328P, then ported and significantly expanded onto a NUCLEO-F767ZI (STM32, Cortex-M7). Drivers and kernel are written directly against the hardware — no HAL, no Arduino libraries. One kernel, two port_* layers, selected at build time.
Public API exposes opaque task_handle_t, mutex_handle_t… backed by structs in internal headers only. Context switch, timer, and interrupt control live behind port_* under arch/avr/atmega328p/ and arch/cortex_m7/nucleo_f767zi/.
make TARGET=avr|cortex_m7. A dedicated sleep list wakes delayed tasks back onto the ready queue when their tick count elapses.
Mutex wait lists are priority-ordered. A task holding several mutexes gets its priority recomputed on each unlock as the max of its base priority and any remaining boosts — never a flat reset. Protocol is selectable per mutex.
Priority ceiling protocol is designed into the interface but not implemented.
Timeouts on blocking calls. Mutex, semaphore, and queue waits currently block indefinitely.
Kernel helpers through SVC. SVC currently raises/drops privilege via CONTROL rather than dispatching by syscall ID; existing helpers still need routing across that boundary now that tasks can't reach kernel state.
HARDWARE-ENFORCED SAFETY · CORTEX-M7 PORT
Each task's stack is writable only through the sliding active-task MPU region. Write past your bounds and the hardware raises a MemManage fault with the offending address in MMFAR — a genuine stack overflow is distinguishable from any other access violation. A property of the isolation model, not a watermark scan.
Try it: push frames until task_a runs out of stack. Addresses are illustrative.
The interesting part is what breaks. Four bugs from bringing Fleurr up on two very different architectures — hover or tap to read each one.
{{ noteBody }}
A from-scratch serial and flashing utility. It talks to the port through termios and ioctl directly, times a DTR reset pulse precisely enough for the Optiboot bootloader to catch it, then programs the chip over the STK500v1 protocol — no serial library, no avrdude. A separate mode streams live ASCII ADC telemetry over UART.
Confirmed target: ATmega328P. Exact command coverage and DTR timing values to be documented.
Explore on GitHub →Real I/O workloads running on top of the kernel — an RTOS kernel gaining OS-like capabilities (dynamic loading, isolation, a syscall boundary). Not a general-purpose OS, and not MMU virtual memory. Select a stage to see what's built versus planned.
{{ stageBody }}
Open to embedded, systems, and compiler engineering roles and internships. If you're building close to the hardware, I'd like to hear about it.