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

Support GEM outside Arduino framework #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrv96
Copy link

@mrv96 mrv96 commented Mar 12, 2025

Hi, I would like to share how I successfully ported GEM to STM32 environment.

I know that this PR is rough, mainly because hardcodes stm32u5xx_hal.h, but this issue can be easily solved using a function which registers a callback for delays.

If someone is interested in this feature, with some refinement, I think this PR could become mergeable.

I tried this with U8g2.

P.S. this breaks backward compatibility because by default U8G2 class is not printable outside Arduino framework

@Spirik
Copy link
Owner

Spirik commented Mar 12, 2025

Hi, @mrv96 ! That's quite an undertaking! Thank you for sharing=)

I have zero experience working with STM32 (so I can not validate it right away), but I think even in its current state this PR can be very valuable to anyone, who would like to use GEM there. I will add link to it somewhere in wiki, so that it would be more easily discoverable.

Thank you very much for your contribution!

@Spirik Spirik added WIP Work in progress - Do not merge! enhancement port and removed enhancement labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port WIP Work in progress - Do not merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants