Skip to content

Comments

Micropython upgrade bmad#339

Draft
k9ert wants to merge 26 commits intocryptoadvance:micropython-upgradefrom
k9ert:micropython-upgrade_bmad
Draft

Micropython upgrade bmad#339
k9ert wants to merge 26 commits intocryptoadvance:micropython-upgradefrom
k9ert:micropython-upgrade_bmad

Conversation

@k9ert
Copy link
Contributor

@k9ert k9ert commented Jan 23, 2026

No description provided.

miketlk and others added 26 commits May 27, 2025 20:05
- common.py: theme_default_init, style.set_* methods, screen_active()
- core.py: display.init() before styles, screen_load()
- async_gui.py: screen_active/load, delete_async
- screen.py: align_to, style init/set methods
- menu.py: align_to, obj replaces page, add_state
- battery.py: transparent style via set_* methods
- keyboard and qrcode
- screen.py: align_to->align for parent, del_async->delete_async
- specter.py: fix race in coro() - wait for scan to start
- qr.py: verify baud rate switch, wait for popup close
- hardwaretest.py: handle binary scan data gracefully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Event callbacks: (obj, event) -> (event) with event.get_code()
- add_event_cb requires (callback, filter, user_data)
- lv.btn -> lv.button, lv.page -> lv.obj
- Style API: removed style_copy, use init() + set_*()
- Flags: OBJ_FLAG -> obj.FLAG, clear_flag -> remove_flag
- Alignment: align() -> align_to(), removed IN_ prefix
- Label: LONG.BREAK -> LONG_MODE.WRAP
- Fonts: roboto -> montserrat
- Added migration reference doc

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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