Unaligned hardfault on STM32H7S7L8
I am trying to get lv_binding_rust set up on an STM32H7S7L8. I am at the point where I am working on touch input, however I am getting an unaligned store hardfault, specifically at this point: https://github.com/lvgl/lv_binding_rust/blob/80fd2a7756479b83d8504a2132f565dfc82511c4/lvgl/src/input_device/pointer.rs#L117
Hi @meowcakes , can you paste the error output in here? We're working on getting this repo in shape
I believe I found the issue; the compiler for my target is arm-none-eabi-gcc which enables -fshort-enums by default, so I need to pass that flag to bindgen
I see, if possible confirm that's the fix and let us know so we can document that.
Yes that's the fix
Thanks for the update @meowcakes , may I ask how you cross-compiled the lib?