From db2f06df5be598c04c105af42e5e54d78aea8b51 Mon Sep 17 00:00:00 2001 From: Bluebear233 <417350690@qq.com> Date: Mon, 19 Nov 2018 09:50:52 +0800 Subject: [PATCH] =?UTF-8?q?[BSP]=E6=96=B0=E5=A2=9ENUVOTON=20M487=20MDK4?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/nuvoton_m487/README.md | 7 +- bsp/nuvoton_m487/template.uvproj | 400 +++++++++++++++++++++++++++++++ 2 files changed, 405 insertions(+), 2 deletions(-) create mode 100644 bsp/nuvoton_m487/template.uvproj diff --git a/bsp/nuvoton_m487/README.md b/bsp/nuvoton_m487/README.md index 0bbe08bde5..0bbbbbb279 100644 --- a/bsp/nuvoton_m487/README.md +++ b/bsp/nuvoton_m487/README.md @@ -18,12 +18,15 @@ ## 2. 编译说明 -板级包暂只支持GCC编译器,以下是具体版本信息: +板级包支持MDK4工程生成、GCC编译器,以下是具体版本信息: | IDE/编译器 | 已测试版本 | | ---------- | ---------------------------- | +| MDK4 | 4.73 | | GCC | GCC 5.4.1 20160919 (release) | +使用MDK4打开工程需要安装Nu-Link_Keil_Driver + ## 3. 烧写及执行 连接好串口,可以使用115200-N-8-1的配置方式连接到设备上。设备使用的串口引脚是:`[Tx:PB13 Rx:PB12]` @@ -46,7 +49,7 @@ | -- | -- | | PH0 | LED_R | | PH1 | LED_Y | -| PH2 | LED_RG | +| PH2 | LED_G | | PG15 | KEY2 | | PF11| KEY3 | diff --git a/bsp/nuvoton_m487/template.uvproj b/bsp/nuvoton_m487/template.uvproj new file mode 100644 index 0000000000..9a3bc4a384 --- /dev/null +++ b/bsp/nuvoton_m487/template.uvproj @@ -0,0 +1,400 @@ + + + + 1.1 + +
### uVision Project, (C) Keil Software
+ + + + rtthread-m487 + 0x4 + ARM-ADS + + + M487JIDAE + Nuvoton + IRAM(0x20000000-0x20027FFF) IROM(0-0x7FFFF) CLOCK(192000000) CPUTYPE("Cortex-M4") FPU2 + + undefined + + 0 + + + + + + + + + + + SFD\Nuvoton\M481_v1.SFR + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\build\ + template + 1 + 0 + 1 + 1 + 1 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + + DARMCM1.DLL + + SARMCM3.DLL + + TARMCM1.DLL + + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + + 0 + 10 + + + + + + + + + + + + + + NULink\Nu_Link.dll + + + + + 1 + 0 + 0 + 1 + 1 + 4101 + + 0 + NULink\Nu_Link.dll + "" () + + + + + 0 + + + + 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 + 0 + 0 + 8 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x28000 + + + 1 + 0x0 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x80000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x28000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x00000000 + 0x20000000 + + + + + + + + + + + + +
-- GitLab