Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LPCXpresso1769_blinky
Fork of mbed-dev by
Revision 148:341accce5a58, committed 2016-09-19
- Comitter:
- MACRUM
- Date:
- Mon Sep 19 14:20:24 2016 +0000
- Parent:
- 147:30b64687e01f
- Commit message:
- Modified pin names and clock config for LPCXpresso1769
Changed in this revision
diff -r 30b64687e01f -r 341accce5a58 targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c --- a/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c Fri Sep 16 16:24:25 2016 +0100 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c Mon Sep 19 14:20:24 2016 +0000 @@ -304,11 +304,11 @@ # define CCLKCFG_Val 0x00000003 # define USBCLKCFG_Val 0x00000000 #else -# define PLL0CFG_Val 0x0000000B +# define PLL0CFG_Val 0x00050077 # define PLL1_SETUP 0 # define PLL1CFG_Val 0x00000000 -# define CCLKCFG_Val 0x00000002 -# define USBCLKCFG_Val 0x00000005 +# define CCLKCFG_Val 0x00000003 +# define USBCLKCFG_Val 0x00000009 #endif #define PCLKSEL0_Val 0x00000000 @@ -330,7 +330,7 @@ // </e> */ #define FLASH_SETUP 1 -#define FLASHCFG_Val 0x0000303A +#define FLASHCFG_Val 0x00004000 /* //-------- <<< end of configuration section >>> ------------------------------
diff -r 30b64687e01f -r 341accce5a58 targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h	Fri Sep 16 16:24:25 2016 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h	Mon Sep 19 14:20:24 2016 +0000
@@ -73,10 +73,14 @@
     LED3 = P1_31,
     LED4 = P2_2,
 #else
-    LED1 = P1_18,
-    LED2 = P1_20,
-    LED3 = P1_21,
-    LED4 = P1_23,
+    LED1 = P0_22,
+    LED2 = P3_25,
+    LED3 = P3_26,
+    LED4 = LED1,
+    LED_RED = P0_22,
+    LED_GREEN = P3_25,
+    LED_BLUE = P3_26,
+    SW2 = P2_10,
 #endif
     USBTX = P0_2,
     USBRX = P0_3,
    