Add NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3072 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
936503d7ad
commit
fd96300d6e
@ -126,7 +126,7 @@
|
|||||||
# define AV32_PSEL 1
|
# define AV32_PSEL 1
|
||||||
# define AV32_TOP (82-1)
|
# define AV32_TOP (82-1)
|
||||||
#else
|
#else
|
||||||
# define AV32_PSEL 3
|
# define AV32_PSEL 2
|
||||||
# define AV32_TOP (144-1)
|
# define AV32_TOP (144-1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ up_switchcontext:
|
|||||||
mfsr r10, AVR32_SR
|
mfsr r10, AVR32_SR
|
||||||
sub r12, -4*(REG_LR+1)
|
sub r12, -4*(REG_LR+1)
|
||||||
|
|
||||||
/* Then "push" PC=LR, LR, SR, and SP as ther are on entry. */
|
/* Then "push" PC=LR, LR, SR, and SP as they are on entry. */
|
||||||
/* xx xx xx xx xx xx xx xx SP SR PC LR xx xx xx xx xx */
|
/* xx xx xx xx xx xx xx xx SP SR PC LR xx xx xx xx xx */
|
||||||
/* ^r12 */
|
/* ^r12 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user