-
Notifications
You must be signed in to change notification settings - Fork 70
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
Noob Issue: Cant manage to get this building for the stm32f1xx_hal #168
Comments
You most likely need to run with |
Yes. I've just set this up with stm32f1xx_hal and --release is required pretty much all the time. Without using write!, semihosting, etc. it's possible to get this to fit without --release. With --release I'm at 13.7k which leaves plenty of space still. |
Great! Glad to hear it's working :) |
Just need to add that I in fact have sh1106 oled - that almost (which is a bit confusing) works with ssd1306. Text was a bit shifted, but otherwise would be usable. I was starting to try to fix memory offsets when I found some info that it might be a different chipset. If you have a FAQ section somewhere it might be worth noting there (?). Still this issue is certainly worth closing. ;) |
Ah, in that case you might want to try the sh1106 driver which should work better with that IC. |
Yeah, I did, works much better. Thanks for your work! My first time with embedded Rust and it seems great so far.
Cheers,
On 27 December 2022 18:25:16 CET, James Waples ***@***.***> wrote:
Ah, in that case you might want to try the [sh1106 driver](https://crates.io/crates/sh1106) which should work better with that IC.
--
Reply to this email directly or view it on GitHub:
#168 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Version of
ssd1306
in use (if applicable): GME12864-42MCU/other hardware in use: STM32f103
Display resolution and interface: [SPI/I2C], [128x64]
Description of the problem/feature request/other
My issue at the moment is that I can't get my source code to even build I run into a linker error when I try and declare the interface
My code
My Cargo file
The error I am running into
thank you so much for your time!
The text was updated successfully, but these errors were encountered: