A sample project for the Embedded Systems Laboratory at HCMUT, using Zephyr RTOS on the STM32F4 Discovery board.
- Board: STM32F4 Discovery (
stm32f4_disco) - RTOS: Zephyr v4.3.0
- Example: Blink LED using GPIO (PE4)
- Build: GitHub Actions or local Zephyr environment
If you haven't installed Zephyr yet:
- Fork this repository.
- Go to the Actions tab.
- Select Build Zephyr STM32F4 PE4 Lab.
- Click Run workflow.
- Download the compiled firmware from Artifacts.
With Zephyr installed and configured:
west build -b stm32f4_disco . -p always
west flash.
├── .github/workflows/ # GitHub Actions
├── boards/ # Board configuration
├── src/main.c # Application code
├── CMakeLists.txt # Build configuration
├── prj.conf # Zephyr configuration
└── west.yml # Zephyr dependencies
- GitHub Actions builds the firmware but does not flash the board.
- Students are encouraged to set up Zephyr locally for debugging and hardware testing.