Git Product home page Git Product logo

gd32c103_gcc's Introduction

核心板卡工程文件说明

编译环境

LINUX 需要安装一下工具

  • arm-none-eabi-工具链-编译工具,需要配置为环境变量,否则编译脚本检索不到
  • make 一般linux系统自带,
  • CMake

windows工具同上

使用方法

修改逻辑代码,进入build文件夹,执行cmake生成makefile文件,完成后执行make进行编译,编译生成的.hex.bin文件将在out文件夹内,可直接使用

文件结构

  • Core文件夹为核心代码文件,处理业务代码时无需改动。包括:
    • BSP文件夹,为板级支持包,核心板功能均在次实现,依据具体外设对库函数的再次封装
    • Firmware库函数文件夹,为兆易提供的对核心寄存器的封装与基础功能的实现
    • freeRTOS实时系统文件夹,是实时操作系统的移植,
    • Inc为M4内核的相关头文件
    • Src为芯片初始化相关,包括启动程序,链接脚本,时钟初始化,与创建根任务函数
  • build 编译文件夹,编译过程将在此处进行,内部文件均可删除
  • out 生成文件夹,最终的二进制文件将在此处生成,文件可删除,每次编译将重新生成
  • User 用户文件夹,用户逻辑文件将在此处编写,还包含freeRTOS配置文件,依据项目实际进行配置
.
├── Core
│   ├── BSP
│   ├── Firmware
│   ├── FATFS
│   ├── Inc
│   ├── Src
│   └── freeRTOS
├── User
├── build
└── out

gd32c103_gcc's People

Contributors

if0x522 avatar

Stargazers

 avatar Garvie avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.