These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Committer:
frank26080115
Date:
Sun Mar 20 05:38:56 2011 +0000
Revision:
0:bf7b9fba3924

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:bf7b9fba3924 1 /******************************************************************************/
frank26080115 0:bf7b9fba3924 2 /* RETARGET.C: 'Retarget' layer for target-dependent low level functions */
frank26080115 0:bf7b9fba3924 3 /******************************************************************************/
frank26080115 0:bf7b9fba3924 4 /* This file is part of the uVision/ARM development tools. */
frank26080115 0:bf7b9fba3924 5 /* Copyright (c) 2005-2006 Keil Software. All rights reserved. */
frank26080115 0:bf7b9fba3924 6 /* This software may only be used under the terms of a valid, current, */
frank26080115 0:bf7b9fba3924 7 /* end user licence from KEIL for a compatible version of KEIL software */
frank26080115 0:bf7b9fba3924 8 /* development tools. Nothing else gives you the right to use this software. */
frank26080115 0:bf7b9fba3924 9 /******************************************************************************/
frank26080115 0:bf7b9fba3924 10
frank26080115 0:bf7b9fba3924 11 // This used for ARMCC compiler only
frank26080115 0:bf7b9fba3924 12 #if defined ( __CC_ARM )
frank26080115 0:bf7b9fba3924 13
frank26080115 0:bf7b9fba3924 14 #include <rt_misc.h>
frank26080115 0:bf7b9fba3924 15
frank26080115 0:bf7b9fba3924 16 #pragma import(__use_no_semihosting_swi)
frank26080115 0:bf7b9fba3924 17
frank26080115 0:bf7b9fba3924 18 void _ttywrch(int ch) {
frank26080115 0:bf7b9fba3924 19 // Not used (No Output)
frank26080115 0:bf7b9fba3924 20 }
frank26080115 0:bf7b9fba3924 21
frank26080115 0:bf7b9fba3924 22 void _sys_exit(int return_code) {
frank26080115 0:bf7b9fba3924 23 label: goto label; /* endless loop */
frank26080115 0:bf7b9fba3924 24 }
frank26080115 0:bf7b9fba3924 25 #endif /* __CC_ARM */