Probably a bit of a niche question. I’d like to run PlatformIO natively on FreeBSD rather than in a VM. In particular I’m building for ESP8266 and ESP32 targets. End game is to natively build esphome.
PlatformIO does not provide a FreeBSD/AMD64 toolchain. I’ve installed the one from port “devel/xtensa-esp-elf” but am struggling to get PlatformIO to recognize and use it.
As a first step I’ve created a symlink in ~/.platformio/packages/toolchain-xtensa-esp-elf -> /usr/local/xtensa-esp-elf but PlatformIO expects a package.json file in there as well. I’ve tried to create one manually without any success.
Has anyone managed to progress further than me?
PlatformIO does not provide a FreeBSD/AMD64 toolchain. I’ve installed the one from port “devel/xtensa-esp-elf” but am struggling to get PlatformIO to recognize and use it.
As a first step I’ve created a symlink in ~/.platformio/packages/toolchain-xtensa-esp-elf -> /usr/local/xtensa-esp-elf but PlatformIO expects a package.json file in there as well. I’ve tried to create one manually without any success.
Has anyone managed to progress further than me?