git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5487 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-03-22 14:13:47 +00:00
parent 73be3d6450
commit d70f051271
1 changed files with 12 additions and 0 deletions

View File

@ -82,6 +82,18 @@
/* 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. */
/*===========================================================================*/