summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-07-18 10:34:49 -0600
committerGitHub <noreply@github.com>2020-07-18 10:34:49 -0600
commitfb75521c041370e045eb1812aa257d5ebd2ffd32 (patch)
tree15ef244dbb8bb05b4ba3b461a77aa36e7c216425 /include
parent437967699cf69896e6bb9c50979dbc17a4850ced (diff)
downloadbcm5719-ortega-fb75521c041370e045eb1812aa257d5ebd2ffd32.tar.gz
bcm5719-ortega-fb75521c041370e045eb1812aa257d5ebd2ffd32.zip
debug: Enable the ape console on Port 0 (needed for SPI prints) and Port 1. (#92)
Diffstat (limited to 'include')
-rw-r--r--include/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 8f17085..5f0fce0 100644
--- a/include/types.h
+++ b/include/types.h
@@ -100,4 +100,10 @@ typedef union {
#define _STRINGIFY(__STR__) #__STR__
#define STRINGIFY(__STR__) _STRINGIFY(__STR__)
+#ifdef CXX_SIMULATOR
+#define VOLATILE
+#else
+#define VOLATILE volatile
+#endif
+
#endif /* !TYPES_H */
OpenPOWER on IntegriCloud