使用者工具

網站工具


build_ami_in_vscode

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

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://code.visualstudio.com/download|VScode download]]\\ [[https://code.visualstudio.com/download|VScode download]]\\
  
 +{{:vscode_download_path.png|}}
  
 +===== Download AmiExtensionForVScode =====
 +{{:amiextensionforvscode_download.png|}}
  
 +===== Create Batch File for compilation AMI BIOS =====
 +
 +Veb50_build.bat
 +<code>
 +set APTIO_DIR=D:\BuildTool\Aptio_5.x_TOOLS_JRE_50\BuildTools
 +set WINDDK=D:\BuildTool\WinDDK_full\7600.16385.1\bin
 +set APTIO_TOOL_DIR=%WINDDK%\x86
 +set X86_CC=%WINDDK%\x86\x86
 +set X64_CC=%WINDDK%\x86\amd64
 +set PYTHON_DIR=C:\Users\FA506QM\AppData\Local\Programs\Python\Python38\python.exe
 +set TOOLS_DIR=D:\BuildTool\Aptio_5.x_TOOLS_JRE_50\BuildTools
 +set EWDK_DIR=D:\BuildTool\EWDK_1703
 +set VEB=MeteorLake
 +set CCX86DIR=%X86_CC%
 +set CCX64DIR=%X64_CC%
 +set PYTHON_COMMAND=%PYTHON_DIR%
 +set PATH=%APTIO_DIR%;%APTIO_TOOL_DIR%;%X64_CC%;%X86_CC%;%TOOLS_DIR%;%EWDK_DIR%;%PATH%
 +make rebuild
 +</code>
 +
 +Veb44_build.bat
 +<code>
 +set APTIO_DIR=D:\BuildTool\Aptio_5.x_TOOLS_JRE_44\BuildTools
 +set WINDDK=D:\BuildTool\WinDDK_full\7600.16385.1\bin
 +set APTIO_TOOL_DIR=%WINDDK%\x86
 +set X86_CC=%WINDDK%\x86\x86
 +set X64_CC=%WINDDK%\x86\amd64
 +set PYTHON_DIR=C:\Users\FA506QM\AppData\Local\Programs\Python\Python38\python.exe
 +set TOOLS_DIR=D:\BuildTool\Aptio_5.x_TOOLS_JRE_44\BuildTools
 +set EWDK_DIR=D:\BuildTool\EWDK_1703
 +set VEB=MeteorLake
 +set CCX86DIR=%X86_CC%
 +set CCX64DIR=%X64_CC%
 +set PYTHON_COMMAND=%PYTHON_DIR%
 +set PATH=%APTIO_DIR%;%APTIO_TOOL_DIR%;%X64_CC%;%X86_CC%;%TOOLS_DIR%;%EWDK_DIR%;%PATH%
 +make rebuild
 +</code>
 +
 +===== Create tasks.json =====
 +
 +Ctrl+Shift+P Enter "Configure Task"
 +
 +{{:vscode_configure_task.png|}}
 +
 +tasks.json
 +
 +<code>
 +{
 +    // See https://go.microsoft.com/fwlink/?LinkId=733558
 +    // for the documentation about the tasks.json format
 +    "version": "2.0.0",
 +    "tasks": [
 +        {
 +            "label": "Build_AMI_BIOS",
 +            "type": "shell",
 +            "command": "./Veb50_build.bat",
 +            "problemMatcher": [],
 +            "group": {
 +                "kind": "build",
 +                "isDefault": true
 +            }
 +        }
 +    ]
 +}
 +</code>
 +
 +===== Add a shortcut to start compilation =====
 +
 +Ctrl+Shift+P Enter "Open Keyboard Shortcuts"
 +
 +{{:add_a_shortcut.png|}}
 +
 +===== OPEN AMI BIOS by Folder =====
 +Press Ctrl + F5
 +
 +{{:output_compilation_message.png|}}
 +
 +
 +Using Terminal --> New Terminal \\
 +Executing VebXX_build.bat
build_ami_in_vscode.1720482856.txt.gz · 上一次變更: 2024/07/09 07:54 由 don