Mkspiffs on FreeBSD 11.1-RELEASE fails

Hi,

I’m using pio on FreeBSD 11.1-RELEASE and when trying to upload my firmware to an esp8266 I get:
PackageManager: Installing tool-mkspiffs @ ~1.200.0
Error: Could not find a version that satisfies the requirement ‘~1.200.0’ for your system 'freebsd_amd64’
lotherk@abraxas:bitu/

I’ve downloaded and compiled mkspiffs and have the mkspiffs binary copied to /usr/local/bin/ but it still tries to download tool-mkspiffs.

Can I copy the binary somewhere on my local filesystem to make it work or can I help fixing the tool-mkspiffs package?

Thanks in advance,
lotherk

I’ve fixed it by placing the binary in ~/.platformio/packags/tools-mkspiffs/ and addingthe package.json from the 1.102.0.tar.gz from
Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog.

lotherk@abraxas:packages/ » ls -la tool-mkspiffs/ [21:19:24]
total 110
drwxr-xr-x 2 lotherk lotherk 4 Feb 28 21:18 .
drwxr-xr-x 8 lotherk lotherk 9 Feb 28 21:19 …
-rwxr-xr-x 1 lotherk lotherk 134872 Feb 28 21:16 mkspiffs
-rw-r–r-- 1 lotherk lotherk 197 Feb 28 21:18 package.json
lotherk@abraxas:tool-mkspiffs/ » cat package.json [21:23:56]
{
“name”: “tool-mkspiffs”,
“description”: “Tool to build and unpack SPIFFS images”,
“system”: “freebsd_amd64”,
“url”: “GitHub - igrr/mkspiffs: Tool to build and unpack SPIFFS images”,
“version”: “1.200.0”
}

I’d upload the package but I don’t have access to a web or ftpserver.

Please compile this source code https://github.com/igrr/mkspiffs/archive/0.2.0.tar.gz and send binary to me@ikravets.com.

Thanks!