You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile Marlin on a Raspberry Pi 3b+ (debian bookworm, 64bit) it fails with:
Processing STM32F446ZE_btt (board: marlin_BTT_Octopus_v1; platform: ststm32@~12.1; framework: arduino)
----------------------------------------------------------------------------------------------------------------
Platform Manager: Installing ststm32 @ ~12.1
Downloading [####################################] 100%
Unpacking [####################################] 100%
Platform Manager: [email protected] has been installed!
Tool Manager: Installing platformio/toolchain-gccarmnoneeabi @ ~1.90201.0
UnknownPackageError: Could not find the package with 'platformio/toolchain-gccarmnoneeabi @ ~1.90201.0' requirements for your system 'linux_aarch64'
Describe the feature you want
I would like to be able to compile Marlin on a 32 and 64-bit Raspberry Pi.
Additional context
This issue was raised before (#23815) but it was closed with rather vague comment about it being a platfomio issue. What issue specifically? I think it's more an issue with Marlin using an ancient ststm32@~12.1 (released in june 2021) which doesn't support linux_aarch64?
The text was updated successfully, but these errors were encountered:
It's a platformio issue because it depends on the compiler toolchain that platformio provides. As your error message indicates, platformio does not provide the proper toolchain for aarch64, which is needed for an arm64 such as a raspberry pi.
This isn't something Marlin can address directly. It might be possible to update to another version of ststm32, which presumably might offer aarch64 support, but that would also likely require fixing up all the different variants and such along with it. It's not just a trivial version bump.
that would also likely require fixing up all the different variants and such along with it.
maybe there's a way to use ststm32 12.1 with this toolchain-gccarmnoneeabi ~1.100301.0 so these variants don't have to change? And what does it entail, "fixing up the different variants"?
It's not just a trivial version bump.
Just thinking out loud, not much experience with this. But I was a bit surprised to see Marlin cannot compile on a (64-bit; haven't tested 32-bit) Raspberry Pi OS (and how this, again, makes it different vs Klipper).
This isn't something Marlin can address directly.
I hope it is!
thisiskeithb
changed the title
[FR] Support for compiling on Raspberry Pi
[FR] Update toolchains to support compiling on Raspberry Pi
Oct 24, 2024
When I try to compile Marlin on a Raspberry Pi 3b+ (debian bookworm, 64bit) it fails with:
Describe the feature you want
I would like to be able to compile Marlin on a 32 and 64-bit Raspberry Pi.
Additional context
This issue was raised before (#23815) but it was closed with rather vague comment about it being a platfomio issue. What issue specifically? I think it's more an issue with Marlin using an ancient
ststm32@~12.1
(released in june 2021) which doesn't supportlinux_aarch64
?The text was updated successfully, but these errors were encountered: