這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
build_ami_in_vscode [2024/07/09 07:54] don |
build_ami_in_vscode [2024/07/09 08:23] (目前版本) don [OPEN AMI BIOS by Folder] |
||
---|---|---|---|
行 5: | 行 5: | ||
[[https:// | [[https:// | ||
+ | {{: | ||
+ | ===== Download AmiExtensionForVScode ===== | ||
+ | {{: | ||
+ | ===== Create Batch File for compilation AMI BIOS ===== | ||
+ | |||
+ | Veb50_build.bat | ||
+ | < | ||
+ | set APTIO_DIR=D: | ||
+ | set WINDDK=D: | ||
+ | set APTIO_TOOL_DIR=%WINDDK%\x86 | ||
+ | set X86_CC=%WINDDK%\x86\x86 | ||
+ | set X64_CC=%WINDDK%\x86\amd64 | ||
+ | set PYTHON_DIR=C: | ||
+ | set TOOLS_DIR=D: | ||
+ | set EWDK_DIR=D: | ||
+ | set VEB=MeteorLake | ||
+ | set CCX86DIR=%X86_CC% | ||
+ | set CCX64DIR=%X64_CC% | ||
+ | set PYTHON_COMMAND=%PYTHON_DIR% | ||
+ | set PATH=%APTIO_DIR%; | ||
+ | make rebuild | ||
+ | </ | ||
+ | |||
+ | Veb44_build.bat | ||
+ | < | ||
+ | set APTIO_DIR=D: | ||
+ | set WINDDK=D: | ||
+ | set APTIO_TOOL_DIR=%WINDDK%\x86 | ||
+ | set X86_CC=%WINDDK%\x86\x86 | ||
+ | set X64_CC=%WINDDK%\x86\amd64 | ||
+ | set PYTHON_DIR=C: | ||
+ | set TOOLS_DIR=D: | ||
+ | set EWDK_DIR=D: | ||
+ | set VEB=MeteorLake | ||
+ | set CCX86DIR=%X86_CC% | ||
+ | set CCX64DIR=%X64_CC% | ||
+ | set PYTHON_COMMAND=%PYTHON_DIR% | ||
+ | set PATH=%APTIO_DIR%; | ||
+ | make rebuild | ||
+ | </ | ||
+ | |||
+ | ===== Create tasks.json ===== | ||
+ | |||
+ | Ctrl+Shift+P Enter " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | tasks.json | ||
+ | |||
+ | < | ||
+ | { | ||
+ | // See https:// | ||
+ | // for the documentation about the tasks.json format | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== Add a shortcut to start compilation ===== | ||
+ | |||
+ | Ctrl+Shift+P Enter "Open Keyboard Shortcuts" | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== OPEN AMI BIOS by Folder ===== | ||
+ | Press Ctrl + F5 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Using Terminal --> New Terminal \\ | ||
+ | Executing VebXX_build.bat |