PlatformIO on freeBSD

PlatformIO does indeed have the toolchain-xtensa package for the freebsd-amd64 architecture listed in the bintray, the latest version bing 3445d11-toolchain-xtensa-freebsd_amd64-1.40802.0.

But I think there’s a versioning error. The platform demands

But the available package version is only 1.40802.0, so that’s one less in the major and the minor doesn’t match, too…

Does the following work?

  • Download Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog
  • if the directory ~/.platformio/packages/toolchain-xtensa doesn’t exist, create it
  • extract the contents of the .tar.gz file in that new folder
  • modify ~/.platformio/packages/toolchain-xtensa/package.json , so that the version field value now is 2.40802.200502 instead of the previous 1.40802.0
  • recompile the project.