On branch master

Your branch is up to date with 'origin/master'.

 Changes to be committed:
	modified:   icesprog
	renamed:    icesprog.arm -> icesprog.arm32
	new file:   icesprog.arm64
	modified:   src/Makefile
	modified:   src/icesprog
This commit is contained in:
wuxx
2022-03-09 08:47:02 +08:00
parent 2d4658f130
commit 29960b919d
5 changed files with 9 additions and 6 deletions

View File

@@ -6,6 +6,8 @@ PLATFORM=$(uname -m)
if [ "${PLATFORM}" == "x86_64" ]; then
sudo ${CURRENT_DIR}/icesprog.x64.linux $@
else
sudo ${CURRENT_DIR}/icesprog.arm $@
elif [ "${PLATFORM}" == "armv7l" ]; then
sudo ${CURRENT_DIR}/icesprog.arm32 $@
elif [ "${PLATFORM}" == "aarch64" ]; then
sudo ${CURRENT_DIR}/icesprog.arm64 $@
fi

BIN
tools/icesprog.arm64 Executable file

Binary file not shown.

View File

@@ -69,9 +69,10 @@ dump:
./icesprog -r -l 8388608 chip.bin
deploy:
@if [ "$(PLATFORM)" = "x86_64" ]; \
then \
@if [ "$(PLATFORM)" = "x86_64" ]; then \
cp icesprog ~/oss/icesugar/tools/icesprog.x64; \
else \
cp icesprog ~/oss/icesugar/tools/icesprog.arm; \
elif [ "$(PLATFORM)" = "armv7l" ]; then \
cp icesprog ~/oss/icesugar/tools/icesprog.arm32; \
elif [ "$(PLATFORM)" = "aarch64" ]; then \
cp icesprog ~/oss/icesugar/tools/icesprog.arm64; \
fi

Binary file not shown.