This repository contains firmware for a mission timer, designed to showcase state machine implementation using a custom FSM framework. Upon activation, the timer enters a countdown state, during which a red LED blinks to indicate status. The system supports real-time defusal, allowing transition to a safe state at any point before completion. Upon reaching zero, the timer executes a predefined terminal event.
The following are required to build this project:
The following platforms are supported for this project:
- ESP-IDF
- Mbed OS
This platform implements all the BSP requirements for various ports that use ESP-IDF.
- ESP-IDF(version 5.2.3)
This platform implements all the BSP requirements for various ports that use Mbed OS.
- Mbed OS(version 6.15.1)
- GNU Arm Embedded Toolchain(version 10.3-2021.10 )
The following ports are supported:
- ESP32
- STM32F429ZI
Using ESP-IDF
From the project root, run:
python3 build.py build-application -p ESP32 -pl ESP_IDF --compile
Connect the ESP32 to your computer and run:
python3 build.py build-application -p ESP32 -pl ESP_IDF --flash
Using Mbed OS
From the project root, run:
python3 build.py build-application -p STM32F429ZI -pl mbed-os --compile
- stlink(version 1.6.0)
Connect the STM32G070 to your computer and run:
python3 build.py build-application -p STM32F429ZI -pl mbed-os --flash
The documentation will be found here