Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to get TildagonOS build information #106

Closed
andypiper opened this issue Jun 5, 2024 · 2 comments
Closed

Add a way to get TildagonOS build information #106

andypiper opened this issue Jun 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@andypiper
Copy link
Contributor

Currently:

>>> import sys
>>> mpyinfo = sys.implementation
>>> mpyver = f'{mpyinfo.name} {mpyinfo.version[0]}.{mpyinfo.version[1]}.{mpyinfo.version[2]} {mpyinfo._machine}'
>>> print(mpyver)
micropython 1.23.0 Tildagon with ESP32S3

I don't see a method to get more detailed build information out of the tildagon class, or any other build information - this might be useful. Generally I am thinking a settings -> About screen that could display this sort of data would be a useful addition.

@npentrel npentrel added the enhancement New feature or request label Jun 16, 2024
@ChrisDick
Copy link
Contributor

there's the ota API that exposes the version from esp_ota_get_running_partition().

import ota
ota.get_version()
'v1.8.0'

will raise a doc issue to add this

@ChrisDick
Copy link
Contributor

This is now in the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants