Baseline new RX projects before refining and tidying them up.

This commit is contained in:
Richard Barry 2015-09-25 08:26:55 +00:00
parent 87243e4a16
commit e5c8119b96
105 changed files with 631 additions and 126 deletions

View file

@ -246,6 +246,26 @@ const uint32_t ulEnableRegisterWrite = 0xA50BUL, ulDisableRegisterWrite = 0xA500
/* Reneable register protection. */
SYSTEM.PRCR.WORD = ulDisableRegisterWrite;
}
/*-----------------------------------------------------------*/
#ifdef __ICCRX__
#include <intrinsics.h>
/* Called from the C start up code when compiled with IAR. */
#pragma diag_suppress = Pm011
int __low_level_init(void)
#pragma diag_default = Pm011
{
extern void R_Systeminit( void );
__disable_interrupt();
R_Systeminit();
return (int)(1U);
}
#endif /* __ICCRX__ */