Ensure the LPC1114 demo still builds after updates to the Cortex-M0 port layer - includes minor update to remove compiler warning that resulted from a newer compiler version.

This commit is contained in:
Richard Barry
2019-12-30 21:59:11 +00:00
parent 49052a6581
commit 53c98357b0
2 changed files with 186 additions and 277 deletions
File diff suppressed because it is too large Load Diff
@@ -357,6 +357,16 @@ volatile unsigned int stacked_psr;
stacked_pc = ((unsigned long) hardfault_args[6]);
stacked_psr = ((unsigned long) hardfault_args[7]);
/* Remove compiler warnings about variables being set but not used. */
( void ) stacked_r0;
( void ) stacked_r1;
( void ) stacked_r2;
( void ) stacked_r3;
( void ) stacked_r12;
( void ) stacked_lr;
( void ) stacked_pc;
( void ) stacked_psr;
/* Inspect stacked_pc to locate the offending instruction. */
for( ;; )
{