Featured Application
BSPForge supports inspectable reuse of vendor SDK implementations for RT-Thread and Zephyr by automating interface retrieval, compatibility checking and build-asset recovery.
Abstract
Porting a real-time operating system (RTOS) requires locating hardware operations in vendor software development kits (SDKs), recovering build dependencies and connecting compatible interfaces to native device models. Differences in abstraction layers, state conventions and build systems make these recurring tasks dependent on hardware and RTOS expertise. We present BSPForge, which formalizes engineering inspection cues as interface, implementation-code, interprocedural hardware-effect and structural-context evidence for 19 operations. A compact LambdaMART ranker combines the numerical evidence; compatibility constraints select composable bindings; and dependency closure with bounded compiler feedback produces RT-Thread and Zephyr integrations. Vendor-grouped evaluation on 284 queries from 20 SDKs achieves precision at rank one of 0.908, mean average precision of 0.813 and normalized discounted cumulative gain at rank 10 (nDCG@10) of 0.854 against H03, a jointly reviewed relevance reference. Independent view ablations reduce mean average precision, while disabling each integration component reduces final build success from six-of-six to four-of-six configurations. Three physical boards complete the stated five-class functional acceptance under both RTOSs. Five SDKs under simulation yield ten executable configurations, 100 successful starts, and 168 of 182 applicable operation checks. A two-engineer, two-task case comparison records 250 versus 125 min of summed active first-build time, providing preliminary evidence of reduced engineering effort. The results demonstrate the value of operation-centered evidence construction for reducing repeated interface search and integration work.