firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Feature Request]: Exclude unsupportable modules from firmware and apps

Open garthvh opened this issue 1 year ago • 2 comments

Platform

NRF52, ESP32, RP2040, Linux Native, Cross-Platform

Description

As a first step towards building customized firmware it would be good if we could start by disabling modules in the firmware and apps that are unsupportable on specific hardware.

The heltec wireless paper for example does not have pins that would make most GPIO related functionality work.

garthvh avatar Oct 20 '24 14:10 garthvh

You might as well forget the Heltec V3 altogether. It's unusable. There are an utterly ludicrously large number of bugs in the Heltec firmware and in client.mestastic.org on Chrome. it's as good as impossible to get recent versions of the firmware to work at all.

BrianG61UK avatar Oct 20 '24 22:10 BrianG61UK

@garthvh A lot defines are already available for excluding modules at compile time - assume what is needed is code changes to signify to the phone apps what modules are/are not compiled in when connecting to the node and gathering module configs.

https://github.com/meshtastic/firmware/blob/master/src/configuration.h#L289L325

Talie5in avatar Oct 21 '24 00:10 Talie5in

Closed with #5300 There are probably some stragglers, but we can fix those as they become evident.

thebentern avatar Nov 20 '24 13:11 thebentern