How greyrrat/project-www works
This is STM32L476 firmware for a “Worldwide Weather Watcher.” Its main loop initializes the board and application, then coordinates weather readings, timekeeping, display, and storage; the sampled code also shows UART output and I2C LCD setup. The application header exposes reading, configuration, button, and event state. The README is empty, and excerpts omit most runtime code, so the graph keeps unshown subsystem links unverified rather than inferring a detailed pipeline.
Main entry points: main.c Firmware entry · fatfs.c FAT filesystem setup · fatfs.h Filesystem objects · app.h App state and events
Components 14
Firmware
- Firmware entry
Core/Src/main.c - App state and events
Core/Inc/app.h
Weather features
- Weather readings
Core/Src/main.c - RTC timekeeping
Core/Src/main.c - LCD display
Core/Src/main.c - Buttons and settings
Core/Inc/app.h - GPS tracking
Core/Inc/app.h
Board hardware
- UART output
Core/Src/main.c - I2C interface
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c - STM32 board support
Core/Src/stm32l4xx_hal_msp.c
SD storage
- FAT filesystem setup
FATFS/App/fatfs.c - SD disk interface
FATFS/Target/user_diskio.c - Filesystem objects
FATFS/App/fatfs.h
Other components
- Device startup
Connections 12
- Device startup → Firmware entry: starts
Core/Src/main.c - Firmware entry → App state and events: initializes
Core/Src/main.c - Firmware entry → FAT filesystem setup: initializes
Core/Src/main.c - Firmware entry → UART output: transmits via
Core/Src/main.c - Firmware entry → I2C interface: sends LCD data
Core/Src/main.c - Firmware entry → Weather readings: coordinates
Core/Src/main.c - Firmware entry → RTC timekeeping: configures
Core/Src/main.c - Firmware entry → LCD display: refreshes
Core/Src/main.c - Firmware entry → Buttons and settings: handles
- Firmware entry → GPS tracking: updates
- FAT filesystem setup → Filesystem objects: exposes
FATFS/App/fatfs.c - Filesystem objects → SD disk interface: uses driver
FATFS/App/fatfs.h