From 72f7febe72da1709f8b11e35f400a981965b4c08 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Thu, 8 Nov 2018 07:34:28 +0000 Subject: [PATCH] hardware override --- hardware.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hardware.h b/hardware.h index 7771616..be96627 100644 --- a/hardware.h +++ b/hardware.h @@ -1,11 +1,12 @@ /* * The hardware configuration of the machine. - * (This should be the same for all emulated devices.) */ #ifndef __HARDWARE_H__ #define __HARDWARE_H__ -#if defined(ESP32) +#if defined(HARDWARE_H) +#include HARDWARE_H +#elif defined(ESP32) #include "hw/esp32-utft-dac.h" #elif defined(ESP8266) #include "hw/esp8266-pwm.h"