source-pr / source (pull_request) Successful in 12s
alkane-os --self-check drives the whole chain without hardware: parse the example profile database, detect three BM1362 chains with a dead EEPROM, identify an APW12, boot the runtime, tick toward a power target and print the published hardware document. It fails loudly if the profile database does not parse, detection refuses, the tuner does not move, or the chain set is wrong, which makes it usable as a bench smoke test on a bare control board. profiles.example.json is a shape example, not validated hardware data: the envelopes are placeholders until real captures fill the database.
20 lines
454 B
JSON
20 lines
454 B
JSON
{
|
|
"schema": 1,
|
|
"profiles": [
|
|
{
|
|
"name": "s19jpro-bm1362-pic",
|
|
"chip": "bm1362",
|
|
"sensor": "pic",
|
|
"chains": 3,
|
|
"envelope": {"v_min_mv": 1100, "v_max_mv": 1500, "f_min_mhz": 300, "f_max_mhz": 700}
|
|
},
|
|
{
|
|
"name": "s19kpro-bm1366-nopic",
|
|
"chip": "bm1366",
|
|
"sensor": "nopic",
|
|
"chains": 3,
|
|
"envelope": {"v_min_mv": 1100, "v_max_mv": 1500, "f_min_mhz": 300, "f_max_mhz": 700}
|
|
}
|
|
]
|
|
}
|