How aash009/folder-structure works
This repository is an IEC 62304-aligned insulin-pump firmware scaffold, explicitly not a product release: most modules are placeholders, and there is no flashable pump target. Its intended user-facing scope includes therapy and delivery safety, with sensing, device access, alarms, faults, storage, and other system services. The README and tree establish these responsibilities, but the sampled code does not establish a runtime user-to-result sequence or calls between modules, so the graph shows components without inferred connections.
Components 30
Pump application
- Therapy control
application/therapy_control/src/rcm_application_therapy_control.c - Delivery safety
application/delivery_safety/src/rcm_application_delivery_safety.c - PID control
application/pid/src/rcm_application_pid.c - Alarm manager
application/alarm_manager/src/rcm_application_alarm_manager.c - Fault manager
application/fault_manager/src/rcm_application_fault_manager.c - GUI
application/gui/src/rcm_application_gui.c
System services
- Sensor manager
system/sensor_manager/src/rcm_system_sensor_manager.c - Storage
system/storage/src/rcm_system_storage.c - Data logger
system/data_logger/src/rcm_system_data_logger.c - Communications
system/communications/src/rcm_system_communications.c - Diagnostics
system/diagnostics/src/rcm_system_diagnostics.c - Power manager
system/power_manager/src/rcm_system_power_manager.c - Watchdog
system/watchdog/src/rcm_system_watchdog.c - OS abstraction
system/osal/src/rcm_system_osal.c
Devices and drivers
- Motor driver
driver/devices/motor/src/rcm_driver_devices_motor.c - Pressure sensor
driver/devices/pressure_sensor/src/pressure_sensor.c - Temperature sensor
driver/devices/temp_sensor/src/temp_sensor.c - Force sensor
driver/devices/force_sensor/src/rcm_driver_devices_force_sensor.c - Display driver
driver/devices/display/src/rcm_driver_devices_display.c - Encoder driver
driver/devices/encoder/src/rcm_driver_devices_encoder.c - Buzzer driver
driver/devices/buzzer/src/rcm_driver_devices_buzzer.c - FRAM driver
driver/devices/fram/src/rcm_driver_devices_fram.c - NOR flash driver
driver/devices/nor_flash/src/rcm_driver_devices_nor_flash.c - Safety link
driver/devices/safety_link/src/rcm_driver_devices_safety_link.c
Platform interfaces
- GPIO
driver/peripherals/gpio/src/rcm_driver_peripherals_gpio.c - I2C
driver/peripherals/i2c/src/i2c.c - SPI
driver/peripherals/spi/src/rcm_driver_peripherals_spi.c - UART
driver/peripherals/uart/src/rcm_driver_peripherals_uart.c - STM32 platform
driver/platform/stm32/src/rcm_driver_platform_stm32.c - Board support
driver/bsp/board_rev_a/src/rcm_board.c