summaryrefslogtreecommitdiff
path: root/bsp/lpc408x/Libraries
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-10-15 23:14:27 +0800
committerBernard Xiong <[email protected]>2015-10-15 23:14:27 +0800
commit8f607deff3ec6f072d7a5efbd8e72da82cea1970 (patch)
treec168e2acf7e9bd01e72616185e28c55e0eeecb7d /bsp/lpc408x/Libraries
parent68095474915c95f9271151e2e8eece48bee05200 (diff)
[BSP] Add EMAC driver in lpc4088
Diffstat (limited to 'bsp/lpc408x/Libraries')
-rw-r--r--bsp/lpc408x/Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c4
-rw-r--r--bsp/lpc408x/Libraries/Device/SConscript2
2 files changed, 3 insertions, 3 deletions
diff --git a/bsp/lpc408x/Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c b/bsp/lpc408x/Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c
index d85871526e..b716d06f62 100644
--- a/bsp/lpc408x/Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c
+++ b/bsp/lpc408x/Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c
@@ -221,12 +221,12 @@
#define SCS_Val 0x00000020
#define CLKSRCSEL_Val 0x00000001
#define PLL0_SETUP 1
-#define PLL0CFG_Val 0x0000000a
+#define PLL0CFG_Val 0x00000009
#define PLL1_SETUP 1
#define PLL1CFG_Val 0x00000023
#define CCLKSEL_Val 0x00000101
#define USBCLKSEL_Val 0x00000201
-#define EMCCLKSEL_Val 0x00000001
+#define EMCCLKSEL_Val 0x00000000
#define PCLKSEL_Val 0x00000002
#define SPIFICLKSEL_Val 0x00000002
#define PCONP_Val 0x042887DE
diff --git a/bsp/lpc408x/Libraries/Device/SConscript b/bsp/lpc408x/Libraries/Device/SConscript
index f61ac45490..6d7e911b8e 100644
--- a/bsp/lpc408x/Libraries/Device/SConscript
+++ b/bsp/lpc408x/Libraries/Device/SConscript
@@ -18,6 +18,6 @@ elif rtconfig.CROSS_TOOL == 'keil':
elif rtconfig.CROSS_TOOL == 'iar':
src += ['NXP/LPC407x_8x_177x_8x/Source/Templates/IAR/startup_LPC407x_8x_177x_8x.s']
-group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
+group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')