Revision a627f4dd
amiro-lld.h | ||
---|---|---|
69 | 69 |
#include <alldconf.h> |
70 | 70 |
#if !defined(_AMIRO_LLD_CFG_) |
71 | 71 |
#error "invalid AMiRo-LLD configuration file" |
72 |
#endif |
|
73 |
#if (AMIRO_LLD_CFG_VERSION_MAJOR != AMIRO_LLD_VERSION_MAJOR) || (AMIRO_LLD_CFG_VERSION_MINOR < AMIRO_LLD_VERSION_MINOR) |
|
72 |
#elif (AMIRO_LLD_CFG_VERSION_MAJOR != AMIRO_LLD_VERSION_MAJOR) || (AMIRO_LLD_CFG_VERSION_MINOR < AMIRO_LLD_VERSION_MINOR) |
|
74 | 73 |
#error "incompatible AMiRo-LLD configuration file" |
75 | 74 |
#endif |
76 | 75 |
|
76 |
#include "periphALtypes.h" |
|
77 | 77 |
#include <periphAL.h> |
78 | 78 |
#if !defined(PERIPHAL_VERSION_MAJOR) || !defined(PERIPHAL_VERSION_MINOR) |
79 | 79 |
#error "invalid periphAL implementation" |
80 |
#endif |
|
81 |
#if (PERIPHAL_VERSION_MAJOR != PERIPHAL_REQUIRED_MAJOR) || (PERIPHAL_VERSION_MINOR < PERIPHAL_REQUIRED_MINOR) |
|
80 |
#elif (PERIPHAL_VERSION_MAJOR != PERIPHAL_REQUIRED_MAJOR) || (PERIPHAL_VERSION_MINOR < PERIPHAL_REQUIRED_MINOR) |
|
82 | 81 |
#error "incompatible periphAL implementation" |
83 | 82 |
#endif |
84 | 83 |
|
periphALtypes.h | ||
---|---|---|
23 | 23 |
/* DEPENDENCIES */ |
24 | 24 |
/*============================================================================*/ |
25 | 25 |
|
26 |
#include <alldconf.h>
|
|
26 |
#include <amiro-lld.h>
|
|
27 | 27 |
#include <stdint.h> |
28 | 28 |
|
29 | 29 |
/*============================================================================*/ |
templates/periphAL.h | ||
---|---|---|
19 | 19 |
#ifndef AMIROLLD_PERIPHAL_H |
20 | 20 |
#define AMIROLLD_PERIPHAL_H |
21 | 21 |
|
22 |
#include <amiro-lld.h> |
|
23 |
|
|
22 | 24 |
/*============================================================================*/ |
23 | 25 |
/* VERSION */ |
24 | 26 |
/*============================================================================*/ |
... | ... | |
39 | 41 |
/* DEPENDENCIES */ |
40 | 42 |
/*============================================================================*/ |
41 | 43 |
|
42 |
#include <periphALtypes.h> |
|
43 |
|
|
44 | 44 |
/*============================================================================*/ |
45 | 45 |
/* GENERAL */ |
46 | 46 |
/*============================================================================*/ |
Also available in: Unified diff