aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC214x/serial_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 10:36:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 10:36:29 +0000
commit93fc8b57778f698cbe7e0e202e33b5d56ce09039 (patch)
tree0bbf40ba4c83b36dc81c3a9d47a32624d9005092 /os/hal/platforms/LPC214x/serial_lld.c
parent4682a4476ec53884628b1a2b61457938f5914038 (diff)
downloadChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.tar.gz
ChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.tar.bz2
ChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.zip
HAL implemented for LPC214x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1392 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC214x/serial_lld.c')
-rw-r--r--os/hal/platforms/LPC214x/serial_lld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/LPC214x/serial_lld.c b/os/hal/platforms/LPC214x/serial_lld.c
index e7ccc6dd0..970e0c6cd 100644
--- a/os/hal/platforms/LPC214x/serial_lld.c
+++ b/os/hal/platforms/LPC214x/serial_lld.c
@@ -27,6 +27,8 @@
#include "ch.h"
#include "hal.h"
+#if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
+
#if USE_LPC214x_UART0 || defined(__DOXYGEN__)
/** @brief UART0 serial driver identifier.*/
SerialDriver SD1;
@@ -331,4 +333,6 @@ void sd_lld_stop(SerialDriver *sdp) {
#endif
}
+#endif /* CH_HAL_USE_SERIAL */
+
/** @} */