Skip to content

Commit 5cb3076

Browse files
authored
Config refactoring fixes (#1799)
* Correct JS requestConfig call * Update requestWriteConfig to new API format * Add hyperion-light and bare-minimum preset scenarios
1 parent ecceb4e commit 5cb3076

File tree

4 files changed

+300
-281
lines changed

4 files changed

+300
-281
lines changed

CMakePresets.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,60 @@
4040
"BUILDCACHE_DIR": "${sourceDir}/.buildcache"
4141
}
4242
},
43+
{
44+
"name": "hyperion-light",
45+
"hidden": true,
46+
"cacheVariables": {
47+
"HYPERION_LIGHT": "ON"
48+
}
49+
},
50+
{
51+
"name": "hyperion-bare-minimum",
52+
"hidden": true,
53+
"cacheVariables": {
54+
// Disable Grabbers
55+
"ENABLE_AMLOGIC": "OFF",
56+
"ENABLE_DDA": "OFF",
57+
"ENABLE_DISPMANX": "OFF",
58+
"ENABLE_DX": "OFF",
59+
"ENABLE_FB": "OFF",
60+
"ENABLE_MF": "OFF",
61+
"ENABLE_OSX": "OFF",
62+
"ENABLE_QT": "OFF",
63+
"ENABLE_V4L2": "OFF",
64+
"ENABLE_X11": "OFF",
65+
"ENABLE_XCB": "OFF",
66+
"ENABLE_AUDIO": "OFF",
67+
68+
// LED-Devices
69+
"ENABLE_DEV_FTDI": "OFF",
70+
"ENABLE_DEV_NETWORK": "OFF",
71+
"ENABLE_DEV_SERIAL": "ON",
72+
"ENABLE_DEV_SPI": "OFF",
73+
"ENABLE_DEV_TINKERFORGE": "OFF",
74+
"ENABLE_DEV_USB_HID": "OFF",
75+
"ENABLE_DEV_WS281XPWM": "OFF",
76+
77+
// Disable Input Servers
78+
"ENABLE_BOBLIGHT_SERVER": "OFF",
79+
"ENABLE_CEC": "OFF",
80+
"ENABLE_FLATBUF_SERVER": "OFF",
81+
"ENABLE_PROTOBUF_SERVER": "OFF",
82+
83+
// Disable Output Connectors
84+
"ENABLE_FORWARDER": "OFF",
85+
"ENABLE_FLATBUF_CONNECT": "OFF",
86+
87+
// Disable Services
88+
"ENABLE_EXPERIMENTAL": "OFF",
89+
"ENABLE_MDNS": "OFF",
90+
"ENABLE_REMOTE_CTL": "OFF",
91+
"ENABLE_EFFECTENGINE": "OFF",
92+
93+
"ENABLE_JSONCHECKS": "ON",
94+
"ENABLE_DEPLOY_DEPENDENCIES": "ON"
95+
}
96+
},
4397
{
4498
"name": "debug",
4599
"hidden": true,

0 commit comments

Comments
 (0)