1
0
forked from me/IronOS

Fixing up TS80P Build (#1429)

* Silence wchart warning + go back to simple size limiter

Going from smart linker file to basic #defines to make things just easier to debug

* 2 deg c increments for NTC table

* Update cmsis_gcc.h

* Drop special linker

* Update portmacro.h

* Update Makefile
This commit is contained in:
Ben V. Brown
2022-10-20 18:06:05 +11:00
committed by GitHub
parent 82f49b5f50
commit 1a3d6ba219
9 changed files with 20 additions and 80 deletions

View File

@@ -124,7 +124,7 @@ __attribute__((always_inline)) __STATIC_INLINE uint32_t __get_xPSR(void) {
\return PSP Register value
*/
__attribute__((always_inline)) __STATIC_INLINE uint32_t __get_PSP(void) {
register uint32_t result;
uint32_t result;
__ASM volatile("MRS %0, psp\n" : "=r"(result));
return (result);
@@ -143,7 +143,7 @@ __attribute__((always_inline)) __STATIC_INLINE void __set_PSP(uint32_t topOfProc
\return MSP Register value
*/
__attribute__((always_inline)) __STATIC_INLINE uint32_t __get_MSP(void) {
register uint32_t result;
uint32_t result;
__ASM volatile("MRS %0, msp\n" : "=r"(result));
return (result);