Skip to content

Support GEM outside Arduino framework#126

Open
mrv96 wants to merge 2 commits intoSpirik:masterfrom
mrv96:non-arduino-porting
Open

Support GEM outside Arduino framework#126
mrv96 wants to merge 2 commits intoSpirik:masterfrom
mrv96:non-arduino-porting

Conversation

@mrv96
Copy link
Copy Markdown

@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
Copy Markdown
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