title: Disable I/O calls during embedded Linux GUI development on desktop
body: <p>I'm developing an <a href="https://www.microchip.com/en-us/development-tools-tools-and-software/embedded-software-center/ensemble-graphics-toolkit" rel="nofollow noreferrer">EGT</a> embedded Linux application on a Microchip SAM Xplained Board. EGT is primarily C++ based, similar in some respects to Qt. The application I'm building naturally contains the GUI element &amp; the interaction with hardware connected to the board.</p>
  <p>For speed &amp; convenience I'd like to develop as much as possible of the GUI on a desktop (EGT will run on a desktop Linux machine), however I'm going to run into issues when hardware interaction occurs (e.g. calls to GPIO pins etc.)</p>
  <p>Is there a gcc compile time option to somehow block/redirect/overwrite these hardware interactions to something that would allow the application to run on a desktop? If not I think I'm looking at lots of #if arch = 'ARM' or something similar.</p>
  <p>Thanks for looking!</p>
  <p>Regards,</p>