aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-26 16:33:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-26 16:33:03 +0000
commita6c62e43d8b79fb55f717658e6963e15ccfa1e5a (patch)
treebd427ef1e0e193684c40acdb6f58314b4ce10e46 /os/hal/platforms
parent1dc98e702694bc7b4d03579ca7ca66c41ba07815 (diff)
downloadChibiOS-a6c62e43d8b79fb55f717658e6963e15ccfa1e5a.tar.gz
ChibiOS-a6c62e43d8b79fb55f717658e6963e15ccfa1e5a.tar.bz2
ChibiOS-a6c62e43d8b79fb55f717658e6963e15ccfa1e5a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1787 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/LPC111x/hal_lld.c13
-rw-r--r--os/hal/platforms/LPC111x/hal_lld.h1
-rw-r--r--os/hal/platforms/LPC111x/platform.mk5
3 files changed, 16 insertions, 3 deletions
diff --git a/os/hal/platforms/LPC111x/hal_lld.c b/os/hal/platforms/LPC111x/hal_lld.c
index 8674d4f38..919d1b0c7 100644
--- a/os/hal/platforms/LPC111x/hal_lld.c
+++ b/os/hal/platforms/LPC111x/hal_lld.c
@@ -18,10 +18,10 @@
*/
/**
- * @file templates/hal_lld.c
- * @brief HAL Driver subsystem low level driver source template.
+ * @file LPC111x/hal_lld.c
+ * @brief LPC111x HAL subsystem low level driver source.
*
- * @addtogroup HAL_LLD
+ * @addtogroup LPC111x_HAL
* @{
*/
@@ -55,4 +55,11 @@ void hal_lld_init(void) {
}
+/**
+ * @brief LPC111x clocks and PLL initialization.
+ * @note All the involved constants come from the file @p board.h.
+ */
+void lpc111x_clock_init(void) {
+}
+
/** @} */
diff --git a/os/hal/platforms/LPC111x/hal_lld.h b/os/hal/platforms/LPC111x/hal_lld.h
index dc8b3f143..414ec7867 100644
--- a/os/hal/platforms/LPC111x/hal_lld.h
+++ b/os/hal/platforms/LPC111x/hal_lld.h
@@ -61,6 +61,7 @@
extern "C" {
#endif
void hal_lld_init(void);
+ void lpc111x_clock_init(void);
#ifdef __cplusplus
}
#endif
diff --git a/os/hal/platforms/LPC111x/platform.mk b/os/hal/platforms/LPC111x/platform.mk
new file mode 100644
index 000000000..8dc7de02a
--- /dev/null
+++ b/os/hal/platforms/LPC111x/platform.mk
@@ -0,0 +1,5 @@
+# List of all the LPC111x platform files.
+PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC111x/hal_lld.c
+
+# Required include directories
+PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC111x