-
Notifications
You must be signed in to change notification settings - Fork 83
Nicen up I2C buffer assembly a bit, also yields smaller binaries #43
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
Nicen up I2C buffer assembly a bit, also yields smaller binaries #43
Conversation
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
|
Does this work on the hardware you're using? I've tried running the blinky_i2c example (both in debug and release mode) on my stm32f103 and it crashes with the error |
|
Weird. I'm not really using the F103 (as a host MCU that is) much since I have so much more interesting hardware here. But it certainly works fine on my Nucleo-F042 I'm using to test this stuff. |
|
Look, it was £1.20 off AliExpress ok. What's not to like ;) Looks like I was having grounding issues on my breadboard. False alarm! |
|
Aww, the dreaded Bluepill. :-D I do have those lying around, too but then I'll need to dig out a programmer or fool around with serial stuff. I kind of like the convenience of all-in-one-boards for development and if they're not available I design one myself. ;) |
|
The programmer is dirt cheap too! They're not the greatest dev boards nor the beefiest chips but I think they're a good intro to the world of arm micros on a budget :) Just out of curiosity, this is the output of Not a huge difference from what we've found in #42. |
|
Yeah, indeed not much difference. I was trying to make it really efficient but got cock-blocked by the unsafety lint. 😏 Everything else I tried did not work with random transmit buffer sizes and I did not want to use the next best thing, the nightly |
|
Better than a huge regression 😌 |
Signed-off-by: Daniel Egger daniel@eggers-club.de