igrr / mkspiffs

Tool to build and unpack SPIFFS images
MIT License
186 stars 91 forks source link

aarch64 #76

Closed koendv closed 2 years ago

koendv commented 3 years ago

At this moment you can compile mkspiffs for aarch64, but it's not included in the arduino board manager package. Could you add a build for aarch64 and add this build to https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json ? Thanks.

koendv commented 3 years ago

patch for mkspiffs:

--- Makefile.ORIG   2021-01-23 12:52:22.797372560 +0100
+++ Makefile    2021-01-23 12:52:44.873080887 +0100
@@ -15,6 +15,9 @@
        ifeq (\$(UNAME_M),armv6l)
            TARGET_OS := linux-armhf
        endif
+       ifeq (\$(UNAME_M),aarch64)
+           TARGET_OS := linux-aarch64
+       endif
    endif
    ifeq (\$(UNAME_S),Darwin)
        TARGET_OS := osx

Binary for aarch64, compiled on raspberry pi4: mkspiffs-0.2.3-arduino-esp8266-linux-aarch64.tar.gz