Skip to content

Commit c344858

Browse files
committed
Load platform settings from config
This is useful instead of the commandline parameters --has-mec --pd-ports --pd-addrs when SMBIOS doesn't correctly detect the correct platform settings. - [x] Read from CWD - [x] Test on Windows - [ ] Test on Linux - [ ] Test on UEFI - [x] Read from same folder as binary - [x] Test on Windows - [ ] Test on Linux - [ ] Test on UEFI - [ ] Read from $XDG_CONFIG_HOME on Linux Sample config for Framework 13 AMD: ``` [platform] has_mec = false pd_addrs = [ 0x42, 0x40 ] pd_ports = [ 1, 2 ] ``` Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 6cc151a commit c344858

File tree

6 files changed

+622
-340
lines changed

6 files changed

+622
-340
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target/
22
build/
3+
framework_tool_config.toml

0 commit comments

Comments
 (0)