Gungnir is an embedded operating system implemented based on STM32 + HAL + Rust. It has already achieved multi-tasking, memory management, asynchronous UART driver, asynchronous SDMMC driver, and asynchronous file system.
- board/: Contains source code and header files related to the board support package.
- clib/: Contains implementations of C functions.
- hal/: Contains STM32H7xx HAL drivers.
- kernel/: Contains the kernel code of the project.
- rustlib/: Contains Rust libraries.
- Makefile: The Makefile for building the project.
- startup_stm32h743xx.s: Startup file.
- STM32H743IITx_FLASH.ld: Linker script file.
To build the project, run the following command:
makeThe generated bare-metal boot image is located at build/Gungnir.bin.