diff --git a/README.md b/README.md index 8946c4fbe..19da9cabb 100644 --- a/README.md +++ b/README.md @@ -143,10 +143,31 @@ You can get it from: https://releases.llvm.org/download.html ## Building -If you have docker installed you can use [compile-with-docker.bat](./compile-with-docker.bat) (Windows) or [compile-with-docker.sh](./compile-with-docker.sh) (Linux/Mac), the output files are created in `compiled-firmware` folder. This method gives significantly smaller binaries, I've seen differences up to 1kb, so it can fit more functionalities this way. The challenge can be (or not) installing docker itself. +### Github Codespace build method + +This is the least demanding option as you don't have to install enything on your computer. All you need is Github account. + +1. Go to https://github.com/egzumer/uv-k5-firmware-custom +1. Click green `Code` button +1. Change tab from `Local` to `Codespace` +1. Click green `Create codespace on main` button + + +5. Open `Makefile` +1. Edit build options, save `Makefile` changes +1. Run `./compile-with-docker.sh` in terminal window +1. Open folder `compiled-firmware` +1. Right click `firmware.packed.bin` +1. Click `Download`, now you should have a firmware on your computer that you can proceed to flash on your radio. You can use [online flasher](https://egzumer.github.io/uvtools) + + + +### Docker build method + +If you have docker installed you can use [compile-with-docker.bat](./compile-with-docker.bat) (Windows) or [compile-with-docker.sh](./compile-with-docker.sh) (Linux/Mac), the output files are created in `compiled-firmware` folder. This method gives significantly smaller binaries, I've seen differences up to 1kb, so it can fit more functionalities this way. The challenge can be (or not) installing docker itself. -To compile directly in windows: +### Windows environment build method 1. Open windows command line and run: ``` diff --git a/images/codespace1.png b/images/codespace1.png new file mode 100644 index 000000000..cf6293248 Binary files /dev/null and b/images/codespace1.png differ diff --git a/images/codespace2.png b/images/codespace2.png new file mode 100644 index 000000000..1ef1b66d3 Binary files /dev/null and b/images/codespace2.png differ