modified to throw errors if an unknown machine type is detected

This commit is contained in:
Markus Fröschle
2014-01-28 15:49:05 +00:00
parent 8a1da417e7
commit 1fb6c756ae
11 changed files with 50 additions and 20 deletions

View File

@@ -29,10 +29,14 @@
#include <bas_types.h>
#if MACHINE_FIREBEE
#if defined(MACHINE_FIREBEE)
#include "firebee.h"
#elif MACHINE_M5484LITE
#elif defined(MACHINE_M5484LITE)
#include "m5484l.h"
#elif defined(MACHINE_M54455)
#include "m54455.h"
#else
#error "unknown machine"
#endif /* MACHINE_FIREBEE */
#include "MCF5475.h"