summaryrefslogtreecommitdiff
path: root/nuttx/arch/dm320/src/dm320.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/dm320/src/dm320.h')
-rw-r--r--nuttx/arch/dm320/src/dm320.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/arch/dm320/src/dm320.h b/nuttx/arch/dm320/src/dm320.h
index 7bfb845c6..6f0f89e16 100644
--- a/nuttx/arch/dm320/src/dm320.h
+++ b/nuttx/arch/dm320/src/dm320.h
@@ -40,12 +40,19 @@
* Included Files
************************************************************************************/
+#include <nuttx/config.h>
#ifndef __ASSEMBLY__
# include <sys/types.h>
#endif
#include "arm9.h"
-#include "ntosd.h"
+
+#if defined(CONFIG_BOARD_NTOSD_DM320)
+# include <arch/board/ntosd.h>
+#else
+# warning "Unknown DM320 board"
+#endif
+
#include "dm320-memorymap.h"
#include "dm320-uart.h"
#include "dm320-timer.h"