Well, i found the installation and usage of the EDK2 extemely tedious,
then i discovered VisualUEFI
which implements the EDK2 into visual studio but still i wasn't quite satisfied
since i tend to reinstall windows really often i coded a little script in python
(yh, not in batch cuz i was lazy) that sets up some presets on VisualStudio with which
you can create UEFI applications
/Dxe Drivers
/UEFI Drivers
projects.
- VisualUEFI By: ionescu007
- EDK2 By: TianoCore
- NASM (Netwide Assembler)
- Python
- GIT (For submodules)
- Visual Studio (Versions: 2015/2019/2022 Supported)
- Install all the requirements listed above.
- Clone the repo using the following command
git clone https://github.com/Th3Spl/SimpleUEFI --recursive
- Use the command line
python Setup.py
- The python file will automatically move all the needed files
- Once the program stops it will open a folder
- Open
EDK-II.sln
with VisualStudio and compile(x64 Release)
- Once you compiled
EDK-II.sln
click any keybind on the terminal - The program will automatically copy the presets in the VisualStudio templates folder
- Open VisualStudio and search for either
Uefi Application
/Dxe Driver
/Uefi Driver
- Create a new project using a preset and if everything worked it should compile without issues.
- Add qemu debugging options to presets (Partially added).
If you encounter any issue feel free to contact me.
- Th3Spl