I need some educated opinions...
I am attempting to "port" a code written to have direct access to hardware registers. It may be far more than I can chew, but....
My basic question
I am crosscompiling my C++ code on x86 hardware which obviously have no "direct registers of interest to me " , my code is to access such registers on the target remote arm hardware.
Is this something I should be able to compile and link on my x86 hardware ?
If I can do that successfully , will I have "problems" debugging the actual code on the target hardware ?
I am planning to "debug" first my code which does not actually use the target registers, but eventually I may have to check the registers itself.
What I have tried:
I have successfully cross-compiled the code, but have some strange linker error - looks as wrong #define.