Correct border colors for SAM3U-EK border; clean up some comments; make sure that sam_vectors.S is identical to stam32_vectors.S
This commit is contained in:
parent
30a572d244
commit
0762d45517
@ -66,7 +66,7 @@
|
||||
#endif
|
||||
|
||||
#if CONFIG_MM_REGIONS > 2 && defined(CONFIG_SAM34_NAND)
|
||||
# error "CONFIG_MM_REGIONS > 3 but cannot used NFC SRAM"
|
||||
# error "CONFIG_MM_REGIONS > 2 but cannot use NFC SRAM"
|
||||
# undef CONFIG_MM_REGIONS
|
||||
# define CONFIG_MM_REGIONS 2
|
||||
#endif
|
||||
|
@ -61,19 +61,23 @@
|
||||
* 0x2000:bfff - End of SRAM and end of heap
|
||||
*/
|
||||
|
||||
#define IDLE_STACK (_ebss+CONFIG_IDLETHREAD_STACKSIZE)
|
||||
#define IDLE_STACK (_ebss+CONFIG_IDLETHREAD_STACKSIZE-4)
|
||||
#define HEAP_BASE (_ebss+CONFIG_IDLETHREAD_STACKSIZE)
|
||||
|
||||
/************************************************************************************************
|
||||
* Global Symbols
|
||||
************************************************************************************************/
|
||||
|
||||
.globl __start
|
||||
|
||||
.syntax unified
|
||||
.thumb
|
||||
.file "sam_vectors.S"
|
||||
|
||||
/* Check if common ARMv7 interrupt vectoring is used (see arch/arm/src/armv7-m/up_vectors.S) */
|
||||
|
||||
#ifndef CONFIG_ARMV7M_CMNVECTOR
|
||||
|
||||
.globl __start
|
||||
|
||||
/************************************************************************************************
|
||||
* Macros
|
||||
************************************************************************************************/
|
||||
@ -297,8 +301,8 @@ sam_common:
|
||||
#endif
|
||||
|
||||
/* We are returning with a pending context switch. This case is different
|
||||
* because in this case, the register save structure does not lie on the
|
||||
* stack but, rather, are within a TCB structure. We'll have to copy some
|
||||
* because in this case, the register save structure does not lie in the
|
||||
* stack but, rather, within a TCB structure. We'll have to copy some
|
||||
* values to the stack.
|
||||
*/
|
||||
|
||||
@ -405,6 +409,7 @@ up_interruptstack:
|
||||
g_intstackbase:
|
||||
.size up_interruptstack, .-up_interruptstack
|
||||
#endif
|
||||
#endif /* CONFIG_ARMV7M_CMNVECTOR */
|
||||
|
||||
/************************************************************************************************
|
||||
* .rodata
|
||||
|
Loading…
Reference in New Issue
Block a user