From d2ee92da48633330cbb9dc3b6f957bc140fbce7f Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 11 Mar 2014 17:24:30 +0700 Subject: [PATCH] move keil_ram.ini to bsp/lpc43xx/keil_ram.ini device os none for NGX4330 work with keil --- .../host_os_none => bsp/lpc43xx}/keil_ram.ini | 0 .../device_os_none/device_os_none.uvopt | 205 +++- .../device_os_none/device_os_none.uvproj | 917 ++++++++++++++++++ 3 files changed, 1108 insertions(+), 14 deletions(-) rename demos/{host/host_os_none => bsp/lpc43xx}/keil_ram.ini (100%) diff --git a/demos/host/host_os_none/keil_ram.ini b/demos/bsp/lpc43xx/keil_ram.ini similarity index 100% rename from demos/host/host_os_none/keil_ram.ini rename to demos/bsp/lpc43xx/keil_ram.ini diff --git a/demos/device/device_os_none/device_os_none.uvopt b/demos/device/device_os_none/device_os_none.uvopt index 731a9f65..380621df 100644 --- a/demos/device/device_os_none/device_os_none.uvopt +++ b/demos/device/device_os_none/device_os_none.uvopt @@ -623,7 +623,7 @@ 1 0 - 1 + 0 8 @@ -733,6 +733,183 @@ + + Board NGX4330 + 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 + 1 + + 8 + + + 0 + Data Sheet + DATASHTS\NXP\LPC43xx\LPC43x0_DS.pdf + + + 1 + User Manual + DATASHTS\NXP\LPC43xx\LPC43xx_UM.pdf + + + 2 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 3 + 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 + + + + + + + + + + ..\..\bsp\lpc43xx\keil_ram.ini + 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 -O975 -S8 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD10000000 -FC800 -FN0 + + + + + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + + + 0 + + + + + + app 0 @@ -745,10 +922,10 @@ 1 0 0 - 0 + 29 0 - 0 - 0 + 125 + 137 0 ..\src\main.c main.c @@ -1153,10 +1330,10 @@ 1 0 0 - 49 + 1 0 - 402 - 420 + 408 + 412 0 ..\..\..\tinyusb\device\dcd_lpc_11uxx_13uxx.c dcd_lpc_11uxx_13uxx.c @@ -1323,8 +1500,8 @@ 0 25 0 - 190 - 208 + 0 + 0 0 ..\..\bsp\boards\embedded_artists\oem_base_board\pca9532.c pca9532.c @@ -1475,7 +1652,7 @@ 0 19 0 - 18 + 19 23 0 ..\..\bsp\lpc11uxx\LPC11Uxx_DriverLib\lpc11uxx_gpio.c @@ -1491,7 +1668,7 @@ 0 19 0 - 9 + 10 14 0 ..\..\bsp\lpc11uxx\LPC11Uxx_DriverLib\lpc11uxx_uart.c @@ -1833,10 +2010,10 @@ 2 0 0 - 0 + 30 0 - 0 - 0 + 145 + 150 0 ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s startup_LPC43xx.s diff --git a/demos/device/device_os_none/device_os_none.uvproj b/demos/device/device_os_none/device_os_none.uvproj index a27ec6db..acc4a20d 100644 --- a/demos/device/device_os_none/device_os_none.uvproj +++ b/demos/device/device_os_none/device_os_none.uvproj @@ -4671,6 +4671,923 @@ + + Board NGX4330 + 0x4 + ARM-ADS + + + LPC4330 + NXP (founded by Philips) + IRAM(0x10000000-0x1001FFFF) IRAM2(0x20000000-0x2000FFFF) CLOCK(12000000) CPUTYPE("Cortex-M4") FPU2 + + "STARTUP\NXP\LPC43xx\startup_LPC43xx.s" ("NXP LPC43xx Startup Code") + UL2CM3(-O975 -S0 -C0) + 6193 + LPC43xx.H + + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\UV4Build\ + device_os_none + 1 + 0 + 0 + 1 + 1 + .\UV4Build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 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 + + + + + + + + + + + + + ..\..\bsp\lpc43xx\keil_ram.ini + Segger\JL2CM3.dll + + + + + 0 + 1 + 0 + 1 + 1 + 4096 + + BIN\UL2CM3.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 + 0 + 1 + 0 + 0 + 2 + 1 + 0 + 0 + 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 + 0x20000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x10000000 + 0x18000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10080000 + 0xa000 + + + 0 + 0x20000000 + 0x10000 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + --gnu --c99 --diag_suppress=66 + CORE_M4 TUSB_CFG_MCU=MCU_LPC43XX BOARD=BOARD_NGX4330 TUSB_CFG_OS=TUSB_OS_NONE + + ..\src;..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\inc;..\..\bsp;..\..\..\tinyusb;..\..\..\vendor\fatfs + + + + 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 + + + cdcd_app.c + 1 + ..\src\cdcd_app.c + + + keyboardd_app.c + 1 + ..\src\keyboardd_app.c + + + moused_app.c + 1 + ..\src\moused_app.c + + + mscd_app.c + 1 + ..\src\mscd_app.c + + + mscd_app_ramdisk.c + 1 + ..\src\mscd_app_ramdisk.c + + + mscd_app_romdisk.c + 1 + ..\src\mscd_app_romdisk.c + + + tusb_descriptors.c + 1 + ..\src\tusb_descriptors.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 + + + msc_host.c + 1 + ..\..\..\tinyusb\class\msc_host.c + + + dcd.c + 1 + ..\..\..\tinyusb\device\dcd.c + + + dcd_lpc_11uxx_13uxx.c + 1 + ..\..\..\tinyusb\device\dcd_lpc_11uxx_13uxx.c + + + dcd_lpc43xx.c + 1 + ..\..\..\tinyusb\device\dcd_lpc43xx.c + + + dcd_lpc175x_6x.c + 1 + ..\..\..\tinyusb\device\dcd_lpc175x_6x.c + + + usbd.c + 1 + ..\..\..\tinyusb\device\usbd.c + + + cdc_device.c + 1 + ..\..\..\tinyusb\class\cdc_device.c + + + hid_device.c + 1 + ..\..\..\tinyusb\class\hid_device.c + + + msc_device.c + 1 + ..\..\..\tinyusb\class\msc_device.c + + + + + boards + + + board.c + 1 + ..\..\bsp\boards\board.c + + + board_ea4357.c + 1 + ..\..\bsp\boards\embedded_artists\ea4357\board_ea4357.c + + + printf_retarget.c + 1 + ..\..\bsp\boards\printf_retarget.c + + + pca9532.c + 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 + + + + + bsp lpc11uxx + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + core_cm0.c + 1 + ..\..\bsp\lpc11uxx\CMSISv2p00_LPC11Uxx\src\core_cm0.c + + + system_LPC11Uxx.c + 1 + ..\..\bsp\lpc11uxx\CMSISv2p00_LPC11Uxx\src\system_LPC11Uxx.c + + + lpc11uxx_gpio.c + 1 + ..\..\bsp\lpc11uxx\LPC11Uxx_DriverLib\lpc11uxx_gpio.c + + + lpc11uxx_uart.c + 1 + ..\..\bsp\lpc11uxx\LPC11Uxx_DriverLib\lpc11uxx_uart.c + + + startup_LPC11Uxx.s + 2 + ..\..\bsp\lpc11uxx\startup_keil\startup_LPC11Uxx.s + + + + + bsp lpc13uxx + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + startup_LPC13Uxx.s + 2 + ..\..\bsp\lpc13uxx\startup_keil\startup_LPC13Uxx.s + + + system_LPC13Uxx.c + 1 + ..\..\bsp\lpc13uxx\CMSISv2p10_LPC13Uxx\src\system_LPC13Uxx.c + + + gpio.c + 1 + ..\..\bsp\lpc13uxx\LPC13Uxx_DriverLib\src\gpio.c + + + uart.c + 1 + ..\..\bsp\lpc13uxx\LPC13Uxx_DriverLib\src\uart.c + + + + + bsp lpc175x_6x + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + core_cm3.c + 1 + ..\..\bsp\lpc175x_6x\CMSISv2p00_LPC17xx\src\core_cm3.c + + + system_LPC17xx.c + 1 + ..\..\bsp\lpc175x_6x\CMSISv2p00_LPC17xx\src\system_LPC17xx.c + + + lpc17xx_clkpwr.c + 1 + ..\..\bsp\lpc175x_6x\LPC17xx_DriverLib\source\lpc17xx_clkpwr.c + + + lpc17xx_gpio.c + 1 + ..\..\bsp\lpc175x_6x\LPC17xx_DriverLib\source\lpc17xx_gpio.c + + + lpc17xx_pinsel.c + 1 + ..\..\bsp\lpc175x_6x\LPC17xx_DriverLib\source\lpc17xx_pinsel.c + + + lpc17xx_uart.c + 1 + ..\..\bsp\lpc175x_6x\LPC17xx_DriverLib\source\lpc17xx_uart.c + + + startup_LPC17xx.s + 2 + ..\..\bsp\lpc175x_6x\startup_keil\startup_LPC17xx.s + + + + + bsp lpc43xx + + + lpc43xx_cgu.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_cgu.c + + + lpc43xx_gpio.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_gpio.c + + + lpc43xx_i2c.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_i2c.c + + + lpc43xx_nvic.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_nvic.c + + + lpc43xx_scu.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_scu.c + + + lpc43xx_uart.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_uart.c + + + system_LPC43xx.c + 1 + ..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\system_LPC43xx.c + + + startup_LPC43xx.s + 2 + ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s + + + + +