ci / verify (push) Canceled after 0s
Add customer and operator login, BLE provisioning, device fleet controls, call memory, memoir generation, and refreshed family and maintenance portals. Include API contracts, migrations, firmware sources, tests, assets, and deployment documentation.
8 lines
727 B
JavaScript
8 lines
727 B
JavaScript
// Compile the complete production OTA state machine with real SHA-256 and
|
|
// injected ESP partition, HTTP, NVS, timer and restart failures.
|
|
const fs=require('fs'),path=require('path');
|
|
const root=path.resolve(__dirname,'..'),json=path.join(process.env.IDF_PATH||'E:/Codex/toolchains/esp-idf-v5.5.1','components/json/cJSON');
|
|
const source=fs.readFileSync(path.join(root,'main/device_ota.c'),'utf8').replace(/^#include[^\n]*\n/gm,'');
|
|
const harness=fs.readFileSync(path.join(__dirname,'device-ota-host.c'),'utf8');
|
|
process.stdout.write(fs.readFileSync(path.join(json,'cJSON.h'),'utf8')+'\n'+fs.readFileSync(path.join(json,'cJSON.c'),'utf8').replace('#include "cJSON.h"','')+'\n'+harness.replace('/* PRODUCTION_OTA */',source));
|