mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
Fixed error I made in makefile (python call now works - IF you have python installed)
This commit is contained in:
18
win_make.bat
18
win_make.bat
@ -1,9 +1,9 @@
|
||||
|
||||
:: download "gcc-arm-none-eabi-10.3-2021.10-win32.exe" for windows ..
|
||||
:: https://developer.arm.com/downloads/-/gnu-rm
|
||||
:: https://developer.arm.com/downloads/-/gnu-rm
|
||||
::
|
||||
:: download "gnu_make-3.81.exe" for windows ..
|
||||
:: https://gnuwin32.sourceforge.net/packages/make.htm
|
||||
:: https://gnuwin32.sourceforge.net/packages/make.htm
|
||||
|
||||
del /S /Q *.o >nul 2>nul
|
||||
del /S /Q *.d >nul 2>nul
|
||||
@ -15,13 +15,17 @@ del /S /Q *.d >nul 2>nul
|
||||
:: If you have python installed, you can create a 'packed' .bin from the compiled firmware.bin file.
|
||||
:: The Quangsheng windows upload-to-radio program requires a 'packed' .bin file.
|
||||
::
|
||||
:: if you don't have python installed, then comment out the python line below, in which case you'll need
|
||||
:: to upload the standard firmware.bin file another way.
|
||||
:: if you don't have python installed, then comment out the python line(s) below, in which case you'll need
|
||||
:: to upload the standard unpacked firmware.bin file another way.
|
||||
::
|
||||
:: I wrote a windows version of k5prog to do this easily in windows ..
|
||||
:: https://github.com/OneOfEleven/k5prog-win
|
||||
::
|
||||
::python -m pip install --upgrade pip crcmod
|
||||
fw-pack.py firmware.bin 230920 firmware.packed.bin
|
||||
|
||||
::python -m pip install --upgrade pip crcmod
|
||||
::python3 -m pip install --upgrade pip crcmod
|
||||
|
||||
::python fw-pack.py firmware.bin 230921 firmware.packed.bin
|
||||
::python3 fw-pack.py firmware.bin 230921 firmware.packed.bin
|
||||
|
||||
::arm-none-eabi-size firmware
|
||||
|
||||
|
Reference in New Issue
Block a user