Skip to content

Commit 7b787cd

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 - [x] Test on Linux - [ ] Test on UEFI - [x] Read from same folder as binary - [x] Test on Windows - [x] 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 df87e97 commit 7b787cd

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
@@ -4,3 +4,4 @@ build/
44
*.efi
55
*.exe
66
*.pdb
7+
framework_tool_config.toml

0 commit comments

Comments
 (0)