GithubHelp home page GithubHelp logo

Comments (4)

felipe-iar avatar felipe-iar commented on July 1, 2024

Hi @sharpgeek,

It is a nice idea.

Even then, right now we do not have any plans of publishing a template for C++ projects from our side. Still, even if the GD32VF103 Firmware Library from GigaDevice was written in C, it comes prepared to play nicely along C++ projects because its implementation uses extern "C" to cope with the name mangling and allow such a mix.

#ifdef __cplusplus
  extern "C" {
#endif 

// <some C code goes here>

#ifdef __cplusplus
  }
#endif

The __cplusplus symbol is generated automatically by the IAR C/C++ compiler when building C++ modules.

Anyway, if you have done some work related to that or have created any cool project with the evaluation board, please feel free to create a new project and then perform a pull request for the contributions folder.

from iar-risc-v-gd32v-eval.

sharpgeek avatar sharpgeek commented on July 1, 2024

Hi @felipe-iar ,

I created a simple LED blink program using modern C++ features and then performed the PR #17.

from iar-risc-v-gd32v-eval.

felipe-iar avatar felipe-iar commented on July 1, 2024

Looks great, @sharpgeek .

Thank you for your contribution.

from iar-risc-v-gd32v-eval.

sharpgeek avatar sharpgeek commented on July 1, 2024

Great! Thank you.
I will come up with more contributions soon.

from iar-risc-v-gd32v-eval.

Related Issues (2)

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.