From b0b56a417e8ab1620a892a536a9337c47af89cb1 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 10 Sep 2013 12:30:41 +0700 Subject: [PATCH] added LPC4357_USB board --- demos/host/host_os_none/host_os_none.uvopt | 350 +++++++++-- demos/host/host_os_none/host_os_none.uvproj | 664 ++++++++++++++++++++ 2 files changed, 977 insertions(+), 37 deletions(-) diff --git a/demos/host/host_os_none/host_os_none.uvopt b/demos/host/host_os_none/host_os_none.uvopt index 28e1aa1d..6a4ffaa9 100644 --- a/demos/host/host_os_none/host_os_none.uvopt +++ b/demos/host/host_os_none/host_os_none.uvopt @@ -200,9 +200,189 @@ + + Board LPC4357USB + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\UV4Build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 8 + + + 0 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 1 + Generic User Guide + datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 7 + + + + + + + + + + + Segger\JL2CM3.dll + + + + 0 + DLGTARM + (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + + + + 0 + JL2CM3 + -U268003250 -O1006 -S8 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD10000000 -FC800 -FN2 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000 + + + 0 + UL2CM3 + -O975 -S0 -C0 -FO7 -FD10000000 -FC800 -FN2 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000) + + + + + + 0 + 1 + usbh_devices + + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 0 + + + + + + app - 1 + 0 0 0 0 @@ -230,7 +410,7 @@ 0 24 0 - 83 + 41 42 0 ..\src\cdc_serial_app.c @@ -246,7 +426,7 @@ 0 20 0 - 116 + 119 127 0 ..\src\keyboard_app.c @@ -278,7 +458,7 @@ 0 12 0 - 1 + 2 10 0 ..\src\rndis_app.c @@ -290,7 +470,7 @@ boards - 1 + 0 0 0 0 @@ -348,13 +528,109 @@ 1 0 0 + 61 + 0 + 1 + 6 + 0 + ..\..\bsp\boards\embedded_artists\oem_base_board\pca9532.c + pca9532.c + 0 + 0 + + + 2 + 10 + 1 + 0 + 0 0 0 0 0 0 - ..\..\bsp\boards\embedded_artists\oem_base_board\pca9532.c - pca9532.c + ..\..\bsp\boards\ngx\board_ngx4330.c + board_ngx4330.c + 0 + 0 + + + 2 + 11 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\bsp\boards\microbuilder\board_lpc4357usb.c + board_lpc4357usb.c + 0 + 0 + + + 2 + 12 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\bsp\boards\microbuilder\board_rf1ghznode.c + board_rf1ghznode.c + 0 + 0 + + + 2 + 13 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1769.c + board_lpcxpresso1769.c + 0 + 0 + + + 2 + 14 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1347.c + board_lpcxpresso1347.c + 0 + 0 + + + 2 + 15 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\bsp\boards\keil\board_mcb4300.c + board_mcb4300.c 0 0 @@ -362,19 +638,19 @@ tinyusb - 1 + 0 0 0 0 3 - 10 + 16 1 0 0 1 0 - 43 + 58 69 0 ..\..\..\tinyusb\tusb.c @@ -384,7 +660,7 @@ 3 - 11 + 17 1 0 0 @@ -400,7 +676,7 @@ 3 - 12 + 18 1 0 0 @@ -416,7 +692,7 @@ 3 - 13 + 19 1 0 0 @@ -432,14 +708,14 @@ 3 - 14 + 20 1 0 0 - 0 + 1 0 - 324 - 326 + 325 + 329 0 ..\..\..\tinyusb\host\usbh.c usbh.c @@ -448,7 +724,7 @@ 3 - 15 + 21 1 0 0 @@ -464,7 +740,7 @@ 3 - 16 + 22 1 0 0 @@ -480,7 +756,7 @@ 3 - 17 + 23 1 0 0 @@ -496,7 +772,7 @@ 3 - 18 + 24 1 0 0 @@ -512,7 +788,7 @@ 3 - 19 + 25 1 0 0 @@ -528,7 +804,7 @@ 3 - 20 + 26 1 0 0 @@ -544,7 +820,7 @@ 3 - 21 + 27 1 0 0 @@ -560,13 +836,13 @@ 3 - 22 + 28 1 0 0 0 0 - 26 + 206 214 0 ..\..\..\tinyusb\class\cdc_host.c @@ -576,13 +852,13 @@ 3 - 23 + 29 1 0 0 39 0 - 36 + 37 41 0 ..\..\..\tinyusb\class\cdc_rndis_host.c @@ -592,7 +868,7 @@ 3 - 24 + 30 1 0 0 @@ -616,7 +892,7 @@ 0 4 - 25 + 31 1 0 0 @@ -632,7 +908,7 @@ 4 - 26 + 32 1 0 0 @@ -648,7 +924,7 @@ 4 - 27 + 33 1 0 0 @@ -664,7 +940,7 @@ 4 - 28 + 34 1 0 0 @@ -680,7 +956,7 @@ 4 - 29 + 35 1 0 0 @@ -696,7 +972,7 @@ 4 - 30 + 36 1 0 0 @@ -720,13 +996,13 @@ 0 5 - 31 + 37 2 0 0 5 0 - 144 + 145 153 0 ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s diff --git a/demos/host/host_os_none/host_os_none.uvproj b/demos/host/host_os_none/host_os_none.uvproj index 4e823c89..4decc7e5 100644 --- a/demos/host/host_os_none/host_os_none.uvproj +++ b/demos/host/host_os_none/host_os_none.uvproj @@ -441,6 +441,670 @@ 1 ..\..\bsp\boards\embedded_artists\oem_base_board\pca9532.c + + board_ngx4330.c + 1 + ..\..\bsp\boards\ngx\board_ngx4330.c + + + board_lpc4357usb.c + 1 + ..\..\bsp\boards\microbuilder\board_lpc4357usb.c + + + board_rf1ghznode.c + 1 + ..\..\bsp\boards\microbuilder\board_rf1ghznode.c + + + board_lpcxpresso1769.c + 1 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1769.c + + + board_lpcxpresso1347.c + 1 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1347.c + + + board_mcb4300.c + 1 + ..\..\bsp\boards\keil\board_mcb4300.c + + + + + tinyusb + + + tusb.c + 1 + ..\..\..\tinyusb\tusb.c + + + osal_none.c + 1 + ..\..\..\tinyusb\osal\osal_none.c + + + hcd.c + 1 + ..\..\..\tinyusb\host\hcd.c + + + hub.c + 1 + ..\..\..\tinyusb\host\hub.c + + + usbh.c + 1 + ..\..\..\tinyusb\host\usbh.c + + + ehci.c + 1 + ..\..\..\tinyusb\host\ehci\ehci.c + + + hal_lpc11uxx.c + 1 + ..\..\..\tinyusb\hal\hal_lpc11uxx.c + + + hal_lpc13uxx.c + 1 + ..\..\..\tinyusb\hal\hal_lpc13uxx.c + + + hal_lpc43xx.c + 1 + ..\..\..\tinyusb\hal\hal_lpc43xx.c + + + hal_lpc175x_6x.c + 1 + ..\..\..\tinyusb\hal\hal_lpc175x_6x.c + + + errors.c + 1 + ..\..\..\tinyusb\common\errors.c + + + fifo.c + 1 + ..\..\..\tinyusb\common\fifo.c + + + cdc_host.c + 1 + ..\..\..\tinyusb\class\cdc_host.c + + + cdc_rndis_host.c + 1 + ..\..\..\tinyusb\class\cdc_rndis_host.c + + + hid_host.c + 1 + ..\..\..\tinyusb\class\hid_host.c + + + + + cmsis + + + lpc43xx_uart.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_uart.c + + + lpc43xx_scu.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_scu.c + + + lpc43xx_gpio.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_gpio.c + + + lpc43xx_cgu.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_cgu.c + + + system_LPC43xx.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\system_LPC43xx.c + + + lpc43xx_i2c.c + 1 + ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_i2c.c + + + + + startup + + + startup_LPC43xx.s + 2 + ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s + + + + + + + Board LPC4357USB + 0x4 + ARM-ADS + + + LPC4357 + NXP (founded by Philips) + IRAM(0x10000000-0x10007FFF) IRAM2(0x20000000-0x2000FFFF) IROM(0x1A000000-0x1A07FFFF) IROM2(0x1B000000-0x1B07FFFF) CLOCK(12000000) CPUTYPE("Cortex-M4") FPU2 + + "STARTUP\NXP\LPC43xx\startup_LPC43xx.s" ("NXP LPC43xx Startup Code") + UL2CM3(-O975 -S0 -C0 -FO7 -FD10000000 -FC800 -FN2 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000) + 6414 + LPC43xx.H + + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\UV4Build\ + host_os_none + 1 + 0 + 0 + 1 + 1 + .\UV4Build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + 0 + $K\ARM\BIN\ELFDWT.EXE !L BASEADDRESS(0x1A000000) + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + 1 + 1 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + + 0 + 7 + + + + + + + + + + + + + + Segger\JL2CM3.dll + + + + + 1 + 0 + 0 + 1 + 1 + 4099 + + Segger\JL2CM3.dll + "" () + + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 8 + 1 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 1 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x1a000000 + 0x80000 + + + 1 + 0x1b000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 0 + 0x20000000 + 0x10000 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + --gnu --c99 + CORE_M4 MCU=MCU_LPC43XX BOARD=BOARD_LPC4357USB TUSB_CFG_OS=TUSB_OS_NONE + + ..\src;..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\inc;..\..\bsp;..\..\..\tinyusb + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + NO_CRP + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x1A000000 + 0x10000000 + + + + + + + + + + + + app + + + main.c + 1 + ..\src\main.c + + + cdc_serial_app.c + 1 + ..\src\cdc_serial_app.c + + + keyboard_app.c + 1 + ..\src\keyboard_app.c + + + mouse_app.c + 1 + ..\src\mouse_app.c + + + rndis_app.c + 1 + ..\src\rndis_app.c + + + + + boards + + + board.c + 1 + ..\..\bsp\boards\board.c + + + board_ea4357.c + 1 + ..\..\bsp\boards\embedded_artists\board_ea4357.c + + + printf_retarget.c + 1 + ..\..\bsp\boards\printf_retarget.c + + + pca9532.c + 1 + ..\..\bsp\boards\embedded_artists\oem_base_board\pca9532.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + 2 + + + + + + + + + + + + board_ngx4330.c + 1 + ..\..\bsp\boards\ngx\board_ngx4330.c + + + board_lpc4357usb.c + 1 + ..\..\bsp\boards\microbuilder\board_lpc4357usb.c + + + board_rf1ghznode.c + 1 + ..\..\bsp\boards\microbuilder\board_rf1ghznode.c + + + board_lpcxpresso1769.c + 1 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1769.c + + + board_lpcxpresso1347.c + 1 + ..\..\bsp\boards\lpcxpresso\board_lpcxpresso1347.c + + + board_mcb4300.c + 1 + ..\..\bsp\boards\keil\board_mcb4300.c +