]> git.sur5r.net Git - armstart-ibdap/blobdiff - src/crp.c
initial commit
[armstart-ibdap] / src / crp.c
diff --git a/src/crp.c b/src/crp.c
new file mode 100755 (executable)
index 0000000..fa9a0d5
--- /dev/null
+++ b/src/crp.c
@@ -0,0 +1,38 @@
+//*****************************************************************************\r
+// crp.c\r
+//\r
+// Source file to create CRP word expected by LPCXpresso IDE linker\r
+//*****************************************************************************\r
+//\r
+// Copyright(C) NXP Semiconductors, 2013\r
+// All rights reserved.\r
+//\r
+// Software that is described herein is for illustrative purposes only\r
+// which provides customers with programming information regarding the\r
+// LPC products.  This software is supplied "AS IS" without any warranties of\r
+// any kind, and NXP Semiconductors and its licensor disclaim any and\r
+// all warranties, express or implied, including all implied warranties of\r
+// merchantability, fitness for a particular purpose and non-infringement of\r
+// intellectual property rights.  NXP Semiconductors assumes no responsibility\r
+// or liability for the use of the software, conveys no license or rights under any\r
+// patent, copyright, mask work right, or any other intellectual property rights in\r
+// or to any products. NXP Semiconductors reserves the right to make changes\r
+// in the software without notification. NXP Semiconductors also makes no\r
+// representation or warranty that such application will be suitable for the\r
+// specified use without further testing or modification.\r
+//\r
+// Permission to use, copy, modify, and distribute this software and its\r
+// documentation is hereby granted, under NXP Semiconductors' and its\r
+// licensor's relevant copyrights in the software, without fee, provided that it\r
+// is used in conjunction with NXP Semiconductors microcontrollers.  This\r
+// copyright, permission, and disclaimer notice must appear in all copies of\r
+// this code.\r
+//*****************************************************************************\r
+\r
+#if defined (__CODE_RED)\r
+#include <NXP/crp.h>\r
+// Variable to store CRP value in. Will be placed automatically\r
+// by the linker when "Enable Code Read Protect" selected.\r
+// See crp.h header for more information\r
+__CRP const unsigned int CRP_WORD = CRP_NO_CRP ;\r
+#endif\r