This shows you the differences between two versions of the page.
sd_card [2023/03/21 13:55] scott [Boot from SD] |
sd_card [2024/01/05 18:01] (current) scott |
||
---|---|---|---|
Line 6: | Line 6: | ||
- ''cd'' to your ''build'' directory | - ''cd'' to your ''build'' directory | ||
- If you haven't configured CMake previously, execute this command: ''cmake ..'' | - If you haven't configured CMake previously, execute this command: ''cmake ..'' | ||
- | - Type ''make BOOT.bin ELF_PATH=./lasertag/lasertag.elf''. | + | - Type ''make BOOT.bin''. |
- A ''BOOT.bin'' will be created within the ''build'' directory. | - A ''BOOT.bin'' will be created within the ''build'' directory. | ||
- Copy this ''BOOT.bin'' to your SD-card using an SD-card reader (see below). If you are using a VM, use the file-sharing feature and copy the ''BOOT.bin'' file to a shared directory where you can access the ''BOOT.bin'' file outside of the VM. | - Copy this ''BOOT.bin'' to your SD-card using an SD-card reader (see below). If you are using a VM, use the file-sharing feature and copy the ''BOOT.bin'' file to a shared directory where you can access the ''BOOT.bin'' file outside of the VM. |