[Feature Request]:Add user button pin to meshtasticd for Raspbian platforms
Platform
Linux Native
Description
The button pin doesn't appear to be defined for Linux Native boards (in my case a PI 4) which is a bit of an issue for controlling the display. Either I've missed something (which is quite possible) or this function isn't enabled. Setting the button pin option in the config doesn't do anything.
Many thanks, Paul.
I've had a go myself based on the RP2040 similar issue and was making progress (managed to VSCode and the build environment working in a docker container) but the built "program" fails to run with a Exec format error. It's clearly not building for a Pi but I'm now at the limit of my knowledge.
Isn't there a button GPIO in the config?
but the built "program" fails to run with a Exec format error. It's clearly not building for a Pi but I'm now at the limit of my knowledge.
native is not cross-compiling, you'd need to build on a pi to get the executable for a pi
Isn't there a button GPIO in the config?
Yes there is but it doesn't work. There is a define missing in the platform specific definitions.
but the built "program" fails to run with a Exec format error. It's clearly not building for a Pi but I'm now at the limit of my knowledge.
nativeis not cross-compiling, you'd need to build on a pi to get the executable for a pi
OK. So the other platforms cross compile but native doesn't (just checking my understanding).
OK. So the other platforms cross compile but native doesn't (just checking my understanding).
yes, esp32 / nrf / rp2040 / stm are all cross-compiling using the respective build framework for compilation and linking for the target, while linux builds only locally (no target buildroot). Though, there are some for milkv and luckfox.
This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days.
HI @paulf1965 , which define was missing where to make this work?
This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days.
This issue has not had any comment since the last notice. It has been closed automatically. If this is incorrect, or the issue becomes relevant again, please request that it is reopened.