Skip to content

imu: Allow access to iio on Linux#45

Merged
ThomasFarstrike merged 2 commits intoMicroPythonOS:mainfrom
pavelmachek:m_3_imu
Feb 21, 2026
Merged

imu: Allow access to iio on Linux#45
ThomasFarstrike merged 2 commits intoMicroPythonOS:mainfrom
pavelmachek:m_3_imu

Conversation

@pavelmachek
Copy link
Copy Markdown
Contributor

Linux phones have IMU units. Allow applications to use them same way they would access IMU on esp32 based devices. Lightly tested on PinePhone.

Same applications useful on esp32 (compass, step counter) are likely to be useful on Linux phones, too.

Linux phones have IMU units. Allow applications to use them same
way they would access IMU on esp32 based devices. Lightly tested
on PinePhone.

Same applications useful on esp32 (compass, step counter) are likely
to be useful on Linux phones, too.
@ThomasFarstrike
Copy link
Copy Markdown
Contributor

You're right, this should be supported! I will try to review it as soon as possible!

@ThomasFarstrike
Copy link
Copy Markdown
Contributor

Awesome! I don't have the hardware to test and I think we should split that huge file into separate ones but... here goes!

@ThomasFarstrike ThomasFarstrike merged commit 7367dac into MicroPythonOS:main Feb 21, 2026
0 of 2 checks passed
@pavelmachek
Copy link
Copy Markdown
Contributor Author

Thank you!

For the record, I'm doing development on Mobian on PinePhone. Those should be quite cheap by now and relatively easily available.

@ThomasFarstrike
Copy link
Copy Markdown
Contributor

Just a heads up that I did a fix for Linux systems that don't have the sensor: 94401db

Also, note that I wanted to create an issue on your MicroPythonOS fork but issues are disabled... is there any place you prefer issues on your MicroPythonOS apps or code to be reported? Thank you!

@pavelmachek
Copy link
Copy Markdown
Contributor Author

Thanks for a fix, I'll take a look. I may be able to enable issues in that project.

@pavelmachek
Copy link
Copy Markdown
Contributor Author

I toggled some settings; issues should now be available.

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