diff options
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARM7/chcore.c | 10 | ||||
-rw-r--r-- | ports/ARM7/chcore.h | 1 | ||||
-rw-r--r-- | ports/ARMCM3/chcore.c | 13 | ||||
-rw-r--r-- | ports/ARMCM3/chcore.h | 1 | ||||
-rw-r--r-- | ports/AVR/chcore.c | 13 | ||||
-rw-r--r-- | ports/AVR/chcore.h | 1 | ||||
-rw-r--r-- | ports/MSP430/chcore.c | 13 | ||||
-rw-r--r-- | ports/MSP430/chcore.h | 1 |
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);
|