diff options
-rw-r--r-- | os/hal/platforms/LPC13xx/core_cm3.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/os/hal/platforms/LPC13xx/core_cm3.h b/os/hal/platforms/LPC13xx/core_cm3.h index 387221bc6..fbffa91dc 100644 --- a/os/hal/platforms/LPC13xx/core_cm3.h +++ b/os/hal/platforms/LPC13xx/core_cm3.h @@ -20,7 +20,7 @@ /*
* Parts of this files have been modified in ChibiOS/RT in order to fix
- * some code quality issues.
+ * some code quality issues and conflicting declarations.
*/
/**************************************************************************//**
@@ -1106,7 +1106,7 @@ static __INLINE void __CLREX() { __ASM ("clrex"); } *
* Return the actual process stack pointer
*/
-extern uint32_t __get_PSP(void);
+//extern uint32_t __get_PSP(void);
/**
* @brief Set the Process Stack Pointer
@@ -1116,7 +1116,7 @@ extern uint32_t __get_PSP(void); * Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
-extern void __set_PSP(uint32_t topOfProcStack);
+//extern void __set_PSP(uint32_t topOfProcStack);
/**
* @brief Return the Main Stack Pointer
@@ -1126,7 +1126,7 @@ extern void __set_PSP(uint32_t topOfProcStack); * Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
-extern uint32_t __get_MSP(void);
+//extern uint32_t __get_MSP(void);
/**
* @brief Set the Main Stack Pointer
@@ -1136,7 +1136,7 @@ extern uint32_t __get_MSP(void); * Assign the value mainStackPointer to the MSP
* (main stack pointer) Cortex processor register
*/
-extern void __set_MSP(uint32_t topOfMainStack);
+//extern void __set_MSP(uint32_t topOfMainStack);
/**
* @brief Reverse byte order in unsigned short value
@@ -1146,7 +1146,7 @@ extern void __set_MSP(uint32_t topOfMainStack); *
* Reverse byte order in unsigned short value
*/
-extern uint32_t __REV16(uint16_t value);
+//extern uint32_t __REV16(uint16_t value);
/**
* @brief Reverse bit order of value
@@ -1156,7 +1156,7 @@ extern uint32_t __REV16(uint16_t value); *
* Reverse bit order of value
*/
-extern uint32_t __RBIT(uint32_t value);
+//extern uint32_t __RBIT(uint32_t value);
/**
* @brief LDR Exclusive (8 bit)
@@ -1197,7 +1197,7 @@ extern uint32_t __LDREXW(uint32_t *addr); *
* Exclusive STR command for 8 bit values
*/
-extern uint32_t __STREXB(uint8_t value, uint8_t *addr);
+//extern uint32_t __STREXB(uint8_t value, uint8_t *addr);
/**
* @brief STR Exclusive (16 bit)
@@ -1208,7 +1208,7 @@ extern uint32_t __STREXB(uint8_t value, uint8_t *addr); *
* Exclusive STR command for 16 bit values
*/
-extern uint32_t __STREXH(uint16_t value, uint16_t *addr);
+//extern uint32_t __STREXH(uint16_t value, uint16_t *addr);
/**
* @brief STR Exclusive (32 bit)
|