diff options
| author | Keith Packard <keithp@keithp.com> | 2013-05-17 03:36:47 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-17 03:50:07 -0700 | 
| commit | ac089d4fb930b7dbc4161259fd9bddba94395ebc (patch) | |
| tree | ee17589ffa43eee5be5e1eb1b4fac67ebb581624 /src/lpc/ao_arch_funcs.h | |
| parent | 185e6d15bcda229949a984910d7394203d301db9 (diff) | |
altos/lpc: Get USB working
The lpc demo now has a USB command line.
Also allocates system stack so we know when ram is tight at build time
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_arch_funcs.h')
| -rw-r--r-- | src/lpc/ao_arch_funcs.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/ao_arch_funcs.h b/src/lpc/ao_arch_funcs.h index 39222b9d..96ae0366 100644 --- a/src/lpc/ao_arch_funcs.h +++ b/src/lpc/ao_arch_funcs.h @@ -124,7 +124,7 @@ static inline void ao_arch_restore_stack(void) {  	/* Restore APSR */  	asm("pop {r0}"); -	asm("msr apsr,r0"); +	asm("msr apsr_nczvq,r0");  	/* Restore general registers and return */  	asm("pop {r0-r7,pc}\n");  | 
