Skip to content

Add GammaHex board support#1807

Open
benjamin-wilson wants to merge 11 commits into
bitaxeorg:masterfrom
benjamin-wilson:gamma-hex
Open

Add GammaHex board support#1807
benjamin-wilson wants to merge 11 commits into
bitaxeorg:masterfrom
benjamin-wilson:gamma-hex

Conversation

@benjamin-wilson

Copy link
Copy Markdown
Collaborator

Summary

  • add GammaHex board/config support, large ST7789 display assets, and TPS546/VCORE handling
  • add family-level default frequency/voltage so self-test uses board CSV defaults, including GammaHex 690 MHz / 1200 mV
  • fix settings save path for Axe-OS fan controls and align manual/min fan setting names
  • remove accidental local factory binary from the branch

Testing

  • git diff --check
  • npx ng build --configuration=production
  • idf.py -B /tmp/esp-idf-codex-build build

@github-actions

Copy link
Copy Markdown

Test Results

  2 files  ±0    2 suites  ±0   0s ⏱️ ±0s
103 tests ±0  103 ✅ ±0  0 💤 ±0  0 ❌ ±0 
105 runs  ±0  105 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 3055cf7. ± Comparison against base commit 9f18b7d.

Comment thread components/asic/bm1370.c
BM1370_init_core_register_delay();

// Present in the S21 XP init between core register control and analog mux.
_send_BM1370((TYPE_CMD | GROUP_ALL | CMD_WRITE), (uint8_t[]){0x00, 0x14, 0x00, 0x00, 0x00, 0xFF}, 6, BM1370_SERIALTX_DEBUG);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not do the delay inside _send_BM1370?

Comment thread main/bap/bap.c
return ESP_ERR_INVALID_ARG;
}

if (state->DEVICE_CONFIG.family.id == GAMMA_610 || state->DEVICE_CONFIG.family.id == GAMMA_HEX) {

@mutatrum mutatrum Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be cleaner if there is a disable_bap bool flag in device_config. This would be false by default so it only needs to be set to true on this model.

@mutatrum

mutatrum commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Not sure what to make of this, it's quite a code-dump. Some questions:

  • Why not create a larger Bitaxe logo for this resolution? It's a one-off thing, unless we're planning more displays
  • LVGL can read .png directly, so that should be easier for the background. Also, why are there 2 background images?
  • As this is a completely different display device class, we might need to separate out the code a bit more. There's quite a bit of spaghetti going on here, code wise :-)
  • As this is a different display connection, I don't think it should be in the dropdown as one can't just switch from OLED to ST7789. I assume the 610 doesn't have the OLED at all?
  • Does the LVGL config changes also impact the OLED? Not sure if moving to 16-bit color depth has a performance impact there. Also not sure how one would make this configurable, if needed?

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.

2 participants