aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/AT91SAM7/serial_lld.c2
-rw-r--r--os/hal/platforms/LPC214x/serial_lld.c3
-rw-r--r--readme.txt2
3 files changed, 4 insertions, 3 deletions
diff --git a/os/hal/platforms/AT91SAM7/serial_lld.c b/os/hal/platforms/AT91SAM7/serial_lld.c
index 47de0a0e6..df57e5ed4 100644
--- a/os/hal/platforms/AT91SAM7/serial_lld.c
+++ b/os/hal/platforms/AT91SAM7/serial_lld.c
@@ -151,7 +151,7 @@ static void set_error(SerialDriver *sdp, AT91_REG csr) {
chSysUnlockFromIsr();
}
-#if defined(__GNU__)
+#if defined(__GNUC__)
__attribute__((noinline))
#endif
#if !USE_SAM7_DBGU_UART
diff --git a/os/hal/platforms/LPC214x/serial_lld.c b/os/hal/platforms/LPC214x/serial_lld.c
index a1db8c537..cec8f5c7a 100644
--- a/os/hal/platforms/LPC214x/serial_lld.c
+++ b/os/hal/platforms/LPC214x/serial_lld.c
@@ -120,7 +120,7 @@ static void set_error(SerialDriver *sdp, IOREG32 err) {
chSysUnlockFromIsr();
}
-#if defined(__GNU__)
+#if defined(__GNUC__)
__attribute__((noinline))
#endif
/**
@@ -128,7 +128,6 @@ __attribute__((noinline))
* @note Tries hard to clear all the pending interrupt sources, we dont want
* to go through the whole ISR and have another interrupt soon after.
*
- * @param[in] u pointer to an UART I/O block
* @param[in] sdp communication channel associated to the UART
*/
static void serve_interrupt(SerialDriver *sdp) {
diff --git a/readme.txt b/readme.txt
index b03872d05..7c83635bd 100644
--- a/readme.txt
+++ b/readme.txt
@@ -63,6 +63,8 @@
*****************************************************************************
*** 2.1.2 ***
+- FIX: Fixed wrong macro check in LPC214x and AT91SAM7 serial drivers (bug
+ 3088776)(backported to 2.0.6).
- FIX: Fixed non functioning option SPI_USE_MUTUAL_EXCLUSION=FALSE (bug
3084764)(backported to 2.0.6).
- FIX: Fixed wrong macro check in STM32 serial support (bug 3078891)(backported