How rajssss/arm_bare-metal works
This repository is a collection of five independent bare-metal STM32F446RE-Nucleo learning programs, not one application pipeline. Their workflows range from emitting SWD debug text and reporting Cortex-M4 type sizes to blinking an LED and reacting to GPIO input. The GPIO peripheral example adds register-layout types as an internal API layer. The excerpts show the GPIO behavior and SWD syscall implementation; the README documents the programs’ purposes. Hardware and console links are limited to relationships supported by those sources.
Main entry points: Src/main.c Hello World · Src/main.c Type sizes · Src/main.c GPIO API example · syscalls.c ITM output
Components 10
Debug demos
- Hello World
001HelloWorld/Src/main.c - Type sizes
002Sizeof/Src/main.c - ITM output
001HelloWorld/Src/syscalls.c
GPIO exercises
- LED blink
003LEDControl/Src/main.c - Pin input control
004PinControl/Src/main.c
GPIO API
- GPIO API example
005GPIOPeripheral/Src/main.c - Register types
005GPIOPeripheral/Inc/GPIOPeripheral.h
Other components
- Board startup
- SWD console
- STM32F446RE board
Connections 14
- Board startup → Hello World: starts
README.md - Board startup → Type sizes: starts
README.md - Board startup → LED blink: starts
README.md - Board startup → Pin input control: starts
README.md - Board startup → GPIO API example: starts
README.md - Hello World → ITM output: prints through
- Type sizes → ITM output: prints through
002Sizeof/Src/main.c - ITM output → SWD console: sends characters
001HelloWorld/Src/syscalls.c - Hello World → SWD console: demonstrates SWD
README.md - Type sizes → SWD console: reports sizes
README.md - LED blink → STM32F446RE board: toggles LED
003LEDControl/Src/main.c - Pin input control → STM32F446RE board: reads and drives pins
004PinControl/Src/main.c - GPIO API example → Register types: uses types
005GPIOPeripheral/Src/main.c - GPIO API example → STM32F446RE board: reads and drives pins
005GPIOPeripheral/Src/main.c