Hi all,
I try to mock the static inline functions in the following header file:
After the __ASM line in the link there is ARM assembly commands which gcc gives errors such as "no such instruction ...."
I want somehow to get rid of the __ASM parts or just mock the static inline function properly.
Is there a way to do it?
I have already tried the :defines and :strippables but no luck, I am not sure :strippables works or not, it seems it does not do anything.
In my case __ASM is a define and I can change it to something, but it does not help because the volatile ("cpsie i" : : : "memory"); part remains.
Thanks