End-To-End Configuration Pipeline
A single JSON file per customer defines the time domain. The Python script emits three artifacts: customer-specific macros and optional driver includes
(Cus_TimeService_Config.h), a thin wrapper that points at the customer (Customers/TimeService_Config.h), and the static wiring inside
AppTimeService_Autogen.c.
flowchart LR
subgraph Input
J[time_config.json]
end
subgraph Generator
G[generate_time_service_code.py]
end
subgraph Outputs
CUS[Cus_TimeService_Config.h]
TSW[TimeService_Config.h]
AUTO[AppTimeService_Autogen.c]
end
subgraph Core
APP[AppTimeService.c]
end
J --> G
G --> CUS
G --> TSW
G --> AUTO
TSW --> APP
AUTO --> APP
CUS -.->|included via| TSW