mirror of
https://github.com/wuxx/icesugar.git
synced 2025-12-17 23:15:56 +08:00
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:
@@ -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
BIN
tools/icesprog.arm64
Executable file
Binary file not shown.
@@ -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.
Reference in New Issue
Block a user