feat: WASM modules based simulation in Companion (#6435)

This commit is contained in:
Raphael Coeffic
2026-03-20 12:19:17 +10:00
committed by GitHub
parent 5f8a38bb18
commit 04a2231aee
80 changed files with 3126 additions and 2220 deletions
+4 -4
View File
@@ -312,14 +312,14 @@ int main(int argc, char *argv[])
if (cliResult == CommandLineExitErr)
return finish(1);
// TODO : defaults should be set in Profile::init()
if (simOptions.firmwareId.isEmpty()) {
// Always use profile's firmware type and SD path as authoritative source —
// the copies in simulatorOptions can become stale.
if (!g.profile[profileId].fwType().isEmpty())
simOptions.firmwareId = g.profile[profileId].fwType();
}
if (simOptions.dataFolder.isEmpty())
simOptions.dataFolder = g.eepromDir();
if (simOptions.sdPath.isEmpty())
if (!g.profile[profileId].sdPath().isEmpty())
simOptions.sdPath = g.profile[profileId].sdPath();
// DO NOT use saved simulatorId as could be changed in later releases