Merge pull request #1418 from bthebaudeau/cc2538-fix-stack-alignment
cc2538: Fix stack alignment
This commit is contained in:
commit
cbe704c7f4
|
@ -103,7 +103,7 @@ void uart1_isr(void);
|
||||||
#endif
|
#endif
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Allocate stack space */
|
/* Allocate stack space */
|
||||||
static unsigned long stack[512] __attribute__ ((section(".stack")));
|
static uint64_t stack[256] __attribute__ ((section(".stack")));
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
__attribute__((__section__(".vectors")))
|
__attribute__((__section__(".vectors")))
|
||||||
void(*const vectors[])(void) =
|
void(*const vectors[])(void) =
|
||||||
|
|
Loading…
Reference in a new issue