Replies: 1 comment
-
|
Maybe you should focus on that - otherwise focus on what read32 is doing wrong... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I'm storing and address in a uint32_t variable. It's cross compiling so this is fine but when executing the unit test these access crashes because the address is not completely captures becaus is using more than 32 bits for addresses.
This is a dirty code of a code to check this issue:
and this is the output for the print statements:
I have to comment the read32 call to be able to see the prints output because otherwise it crashes.
My question, There is a way to force test compilation to 32 bits?
I tride -m32 flag but its not working.
I'm on arch linux with ceedling 1.0.1, ruby 3.4.3 and gcc 15.1.1
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions