Skip to content

[Build] Add Build description (continuation/reboot of #3263)#5539

Open
tonhuisman wants to merge 1 commit intoletscontrolit:megafrom
tonhuisman:feature/Build-description-encoded
Open

[Build] Add Build description (continuation/reboot of #3263)#5539
tonhuisman wants to merge 1 commit intoletscontrolit:megafrom
tonhuisman:feature/Build-description-encoded

Conversation

@tonhuisman
Copy link
Copy Markdown
Contributor

Resolves #3262
Resolves #3263

Features:

  • Display a "Build description" string in the System Info page, to be used by a future builder project
  • Extension of the framework created in [Build] Add short compressed build description (#3262) #3263, adding feature flags, Notifiers and Network plugins
  • Available in ESP32 and Custom builds (excluded from MINIMAL and most ESP8266 builds for size reasons)

Uses a bitmap notation encoded similar to IPv6 addresses (128 bits) (where 1 stream of multiple 0-bits are replaced by ::).
Prefixes:
P1 : Plugins part 1 (1..127)
P2 : Plugins part 2 (128..255)
T1 : Controllers part 1 (1..127) (T2 is supported but we don't have > 127 controllers 😅)
N1 : Notifiers part 1 (1..127) (N2 is supported but we don't have > 127 notifiers 😅)
W1 : Network drivers part 1 (1..127) (W2 is supported but we don't have > 127 network drivers 😅)
U1 : Feature flags part 1 (1..127) (U2 is supported but we don't have > 127 feature flags (yet) 😅)

Example: P1=fc7e:7bdb:de32:b920:1980:a0c0:2c0:c42:,P2=ab1:36c0:1710:1000::,T1=ffe8:200::,N1=c000::,W1=d000::,U1=deff:fb9a:4600::

TODO:

  • Update FEATURE_* flags with the latest additions (Code has been stashed for some time 🫣)
  • Update documentation
  • Testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic build environment & short build definition

1 participant