aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC111x
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/LPC111x')
-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