platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

Can't compile on FreeBSD (toolchain-xtensa32)

Open CyanoFresh opened this issue 5 years ago • 6 comments

Hello. I cannot compile firmware on: FreeBSD 11.2 x64. Platformio 4.1.0 espressif32 1.11.1

pio run:

(esphome) [hass@homeassistant ~/esphome/test32]$ pio run
Processing test32 (board: esp32dev; framework: arduino; platform: espressif32)
------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing toolchain-xtensa32 @ ~2.50200.0
Error: Could not find a version that satisfies the requirement '~2.50200.0' for your system 'freebsd_amd64'

CyanoFresh avatar Jan 10 '20 20:01 CyanoFresh

Solution is to add compiled toolchain-xtensa32 from here: https://github.com/trombik/toolchain-xtensa32/releases - working fine with them now. Please add them to the dl repository

CyanoFresh avatar Jan 13 '20 16:01 CyanoFresh

FreeBSD users should be able to build esp32 projects by following instructions in the following repositories below.

  • https://github.com/trombik/platformio-freebsd-toolchain-xtensa32
  • https://github.com/trombik/platformio-freebsd-tool-ninja
  • https://github.com/trombik/platformio-freebsd-tool-cmake
  • https://github.com/trombik/platformio-freebsd-toolchain-esp32ulp

Please add them to the dl repository

Please don't.

trombik avatar Sep 10 '20 02:09 trombik

The packages are still not in the PlatformIO registry and this was asked again about in https://community.platformio.org/t/tool-manager-fails-toolchains-for-freebsd-amd64-freebsd13/23314.

maxgerhardt avatar Sep 05 '21 00:09 maxgerhardt

please see https://github.com/trombik/xtensa-esp32-elf/tree/devel/devel/xtensa-esp32-elf

trombik avatar Sep 08 '21 17:09 trombik

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 21:07 stale[bot]

Issue is still valid since no package exists for FreeBSD: https://registry.platformio.org/tools/platformio/toolchain-xtensa32/compatibility

maxgerhardt avatar Aug 01 '22 10:08 maxgerhardt