i want to write a program in c to send and receive messages using bare metal (arm-none-eabi compiler) to use in a simulation environment, pls how do I go about it?
I'm not sure I understand. Are you creating an executable to run natively on a workstation with an Arm processor, or building an executable to run on an Arm simulator on an X86 workstation. Please give some more details of your environment.
I actually want to use GDB simulation, using arm-none-eabi compiler. eg $: target sim, see the link below.
http://cs107e.github.io/guides/gdb/
but the most important thing is to write a code to send and receive messages to mimic some features of CAN using bare metal (arm-none-eabi ) compiler . I have used ipc but hard problem because of the ipc.h file which is not part of the compiler.