aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-22 08:43:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-22 08:43:49 +0000
commit1fa657d77dde43a9c283a67bf86c57531f624437 (patch)
treed24267f79ae1c9c81ff0bde96adb4c85284ba32d /ports
parent5954248a03a87a68cbb81ca4c830a31aa07d33e0 (diff)
downloadChibiOS-1fa657d77dde43a9c283a67bf86c57531f624437.tar.gz
ChibiOS-1fa657d77dde43a9c283a67bf86c57531f624437.tar.bz2
ChibiOS-1fa657d77dde43a9c283a67bf86c57531f624437.zip
Removed unused port functionality port_puts().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@800 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r--ports/ARM7/chcore.c10
-rw-r--r--ports/ARM7/chcore.h1
-rw-r--r--ports/ARMCM3/chcore.c13
-rw-r--r--ports/ARMCM3/chcore.h1
-rw-r--r--ports/AVR/chcore.c13
-rw-r--r--ports/AVR/chcore.h1
-rw-r--r--ports/MSP430/chcore.c13
-rw-r--r--ports/MSP430/chcore.h1
8 files changed, 0 insertions, 53 deletions
diff --git a/ports/ARM7/chcore.c b/ports/ARM7/chcore.c
index fd7661373..d0e0071bf 100644
--- a/ports/ARM7/chcore.c
+++ b/ports/ARM7/chcore.c
@@ -27,16 +27,6 @@
#include <ch.h>
/**
- * Prints a message on the system console.
- * @param msg pointer to the message
- */
-/** @cond never */
-__attribute__((weak))
-/** @endcond */
-void port_puts(char *msg) {
-}
-
-/**
* Halts the system.
*/
/** @cond never */
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h
index 5cc6fc276..3dfef7d80 100644
--- a/ports/ARM7/chcore.h
+++ b/ports/ARM7/chcore.h
@@ -310,7 +310,6 @@ struct context {
#ifdef __cplusplus
extern "C" {
#endif
- void port_puts(char *msg);
void port_halt(void);
#ifdef THUMB
void _port_switch_thumb(Thread *otp, Thread *ntp);
diff --git a/ports/ARMCM3/chcore.c b/ports/ARMCM3/chcore.c
index 2e247289a..4c23b2da4 100644
--- a/ports/ARMCM3/chcore.c
+++ b/ports/ARMCM3/chcore.c
@@ -28,19 +28,6 @@
#include <nvic.h>
/**
- * The default implementation of this function is void so no messages are
- * actually printed.
- * @note The function is declared as a weak symbol, it is possible to redefine
- * it in your application code.
- * @param msg pointer to the message string
- */
-/** @cond never */
-__attribute__((weak))
-/** @endcond */
-void port_puts(char *msg) {
-}
-
-/**
* Halts the system.
* @note The function is declared as a weak symbol, it is possible to redefine
* it in your application code.
diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h
index 4c3843e56..dd810df36 100644
--- a/ports/ARMCM3/chcore.h
+++ b/ports/ARMCM3/chcore.h
@@ -302,7 +302,6 @@ struct context {
#ifdef __cplusplus
extern "C" {
#endif
- void port_puts(char *msg);
void port_halt(void);
void threadstart(void);
#ifdef __cplusplus
diff --git a/ports/AVR/chcore.c b/ports/AVR/chcore.c
index 41888ca3f..2050360f8 100644
--- a/ports/AVR/chcore.c
+++ b/ports/AVR/chcore.c
@@ -27,19 +27,6 @@
#include <ch.h>
/**
- * The default implementation of this function is void so no messages are
- * actually printed.
- * @note The function is declared as a weak symbol, it is possible to redefine
- * it in your application code.
- * @param msg pointer to the message string
- */
-/** @cond never */
-__attribute__((weak))
-/** @endcond */
-void port_puts(char *msg) {
-}
-
-/**
* Performs a context switch between two threads.
* @param otp the thread to be switched out
* @param ntp the thread to be switched in
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h
index 187a8463c..1bb142b55 100644
--- a/ports/AVR/chcore.h
+++ b/ports/AVR/chcore.h
@@ -250,7 +250,6 @@ asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \
#ifdef __cplusplus
extern "C" {
#endif
- void port_puts(char *msg);
void port_switch(Thread *otp, Thread *ntp);
void port_halt(void);
void threadstart(void);
diff --git a/ports/MSP430/chcore.c b/ports/MSP430/chcore.c
index 4a9857494..45d52726a 100644
--- a/ports/MSP430/chcore.c
+++ b/ports/MSP430/chcore.c
@@ -27,19 +27,6 @@
#include <ch.h>
/**
- * The default implementation of this function is void so no messages are
- * actually printed.
- * @note The function is declared as a weak symbol, it is possible to redefine
- * it in your application code.
- * @param msg pointer to the message string
- */
-/** @cond never */
-__attribute__((weak))
-/** @endcond */
-void port_puts(char *msg) {
-}
-
-/**
* Performs a context switch between two threads.
* @param otp the thread to be switched out
* @param ntp the thread to be switched in
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h
index c36fdd5c4..b7998371d 100644
--- a/ports/MSP430/chcore.h
+++ b/ports/MSP430/chcore.h
@@ -221,7 +221,6 @@ struct context {
#ifdef __cplusplus
extern "C" {
#endif
- void port_puts(char *msg);
void port_switch(Thread *otp, Thread *ntp);
void port_halt(void);
void threadstart(void);