git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5487 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
73be3d6450
commit
d70f051271
|
@ -82,6 +82,18 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#if SPC5_USE_ESCIA && !SPC5_HAS_ESCIA
|
||||||
|
#error "eSCI-A not present in the selected device"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if SPC5_USE_ESCIB && !SPC5_HAS_ESCIB
|
||||||
|
#error "eSCI-B not present in the selected device"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !SPC5_USE_ESCIA && !SPC5_USE_ESCIB
|
||||||
|
#error "SERIAL driver activated but no eSCI peripheral assigned"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue