rt-thread-official/bsp/gd32105c-eval
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
..
Libraries [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
applications [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
board/linker_script [bsp] 修改 PR 审核意见~ 2021-09-04 17:21:09 +08:00
drivers [bsp] 修改 PR 审核意见~ 2021-09-04 17:21:09 +08:00
list [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
.config 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
.ignore_format.yml [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
Kconfig [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
README.md [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
SConscript [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
SConstruct Revert "[update] Fix compiler flags issue" 2021-10-14 14:36:58 +08:00
project.ewd [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
project.ewp [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
project.eww [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
project.uvoptx [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
project.uvprojx 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
rtconfig.h 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
rtconfig.py [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
template.ewp [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
template.uvoptx [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00
template.uvprojx [bsp] add gd32105c-eval first commit 2021-09-03 11:50:17 +08:00

README.md

GD32105C-EVAL

1. 简介

GD32105C-EVAL是兆易科技提供的开发板,使用 GD32F105VCT6 作为主控制器。提供包括扩展引脚在内的及 SWD, Reset, Boot, User button key, LED, CAN, I2C, I2S, USART, RTC, LCD, SPI, ADC, DAC, EXMC, CTC, SDIO,USBD, GD-Link 等外设资源。

板载主要资源如下:

硬件 描述
CPU Cortex-M3
主频 120MHz
SRAM 96KB
Flash 256KB

2. 编译说明

GD32105C-EVAL板级包支持MDK5、IAR开发环境和GCC编译器以下是具体版本信息

IDE/编译器 已测试版本
MDK5 MDK5.25
IAR IAR8.20
GCC GCC 5.4.1 20160919 (release)

3. 烧写及执行

供电方式:开发板使用 Mini USB 接口或者 DC-005 连接器提供 5V 电源。

下载程序:下载程序到开发板需要一套 JLink 或者使用 GD-Link 工具。

解决IDE "Missing Device(s)"问题"

  • MDK5: 安装GigaDevice.GD32F10x_DFP.2.0.1.pack在 Folder Selection 中的 Destination Folder 那一栏选择 Keil uVision5 软件的安装目录,如 C:\Keil_v5然后在 Option for Target 的 Device 选择对应的器件,同时在 Option forTarget 的 C/C++中添加路径 C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Include。

  • IAR安装 IAR_GD32F10x_ADDON.2.0.0.exe

3.1 配置和仿真

工程已经默认使能了RT-Thread UART驱动、GPIO驱动、SPI驱动、I2C驱动。若想进一步配置工程请 使用ENV工具。

3.2 运行结果

打开MDK或者IAR工程进入仿真后全速运行将会在串口0上看到RT-Thread的启动logo信息

 \ | /
- RT -     Thread Operating System
 / | \     4.0.4 build Aug 23 2021
 2006 - 2021 Copyright by rt-thread team
msh >

4. 驱动支持情况及计划

驱动 支持情况 备注
UART 支持 UART0/1/2/3
GPIO 支持
SPI 支持 SPI0/1/2
I2C 支持 I2C0/1

4.1 IO在板级支持包中的映射情况

IO号 板级包中的定义
PA9 USART0 TX
PA10 USART0 RX
PA2 USART1 TX
PA3 USART1 RX
PA5 SPI0 SCK
PA6 SPI0 MISO
PA6 SPI0 MOSI
PB13 SPI1 SCK
PB14 SPI1 MISO
PB15 SPI1 MOSI
PB6 I2C0 SCL
PB7 I2C0 SDA
PB10 I2C1 SCL
PB11 I2C1 SDA

5. 联系人信息

维护人:

6. 参考