How adiwwww/globussatproject2 works
Project type and purpose
• This is an embedded, real-time flight software project for the TEVEL-2 CubeSat.
• Written in C, it runs on an AT91SAM9G20 microcontroller under FreeRTOS.
• It coordinates onboard subsystems (power, communications, housekeeping, storage), exposing a hardware-abstracted API to upper layers.
File structure
Top-level directories/modules:
• GlobusSatProject/ – the flight software “application”
– src/ – application code, organized into InitSystem, SubSystemModules (Communication, Housekeeping, Maintenance, PowerManagement), utilities, and test/demo code
• hal/ – Board Support Package & Hardware Abstraction Layer
– at91/ – low-level peripheral drivers, linker scripts, startup code
– hal/ – generic driver interfaces (ADC, I2C, SPI, UART, LED, FRAM, NORflash, timing, watchdog)
– freertos/ – real-time OS source and ports
– hcc/ – file-system (HCC FAT) library
• satellite-subsystems/ – static library of higher-level satellite subsystem drivers (EPS, AntS, TRXVU, ADCS, Gecko, etc.)
• README.md – confirms use of FreeRTOS and describes project goals
Extracted insights from README
• FreeRTOS is the scheduling backbone.
• Silicon Labs’ “ISIS-SDK” provides development environment and additional support.
• Application leverages HAL, FreeRTOS, HCC (FAT/FRAM), and the satellite-subsystems library to manage hardware.
Elements
– Clear component labels (e.g., “FreeRTOS Kernel”, “EPS Driver”, “TelemetryCollector Task”).
• HAL & BSP (green),
• Middleware (blue),
• Subsystem Library (orange),
• Application Modules (purple).