Skip to content

board.os_id #10310

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

Closed
b-blake opened this issue May 5, 2025 · 2 comments
Closed

board.os_id #10310

b-blake opened this issue May 5, 2025 · 2 comments
Milestone

Comments

@b-blake
Copy link

b-blake commented May 5, 2025

Hi,

Can you add a function under board where the user can get the description of the CP OS in use?

board.os_id looks a lot like board.board_id to keep format. Both are derrived from the OS.

Bruce

@Neradoc
Copy link

Neradoc commented May 5, 2025

Hi, that's not information related to the board, it is found in the os and sys modules.
For example:

>>> import os
>>> os.uname()
(sysname='ESP32S3', nodename='ESP32S3', release='10.0.0', version='10.0.0-alpha.2-11-gb9f631e219 on 2025-04-14', machine='ESP32-S3-Box-2.5 with ESP32S3')
>>> import sys
>>> sys.implementation
(name='circuitpython', version=(10, 0, 0, ''), _machine='ESP32-S3-Box-2.5 with ESP32S3', _mpy=774)

@b-blake
Copy link
Author

b-blake commented May 5, 2025

@Neradoc,

OH, I didn't know that. Thank you.

Bruce

@tannewt tannewt added this to the Support milestone May 5, 2025
@tannewt tannewt closed this as completed May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants