Skip to main content
MSAMB.1
Associate III
August 13, 2020
Question

compiler C ARM on Keil

  • August 13, 2020
  • 5 replies
  • 906 views

I'm using a P nucleo vl6180 I would like to have if it is possible to write my source code in C ++ knowing that I have an ARM C compiler to compile v5.06 update 6

    This topic has been closed for replies.

    5 replies

    TDK
    August 13, 2020

    Yes, a C++ compiler is included with Keil and should be used for *.cpp files.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    MSAMB.1
    MSAMB.1Author
    Associate III
    August 13, 2020

    Ok thank you

    Tesla DeLorean
    Guru
    August 13, 2020

    Keil ships with a C/C++ compiler, also current MDK ships with V5 and V6 compilers.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    MSAMB.1
    MSAMB.1Author
    Associate III
    August 13, 2020

    Ok thank you, the API functions are written in C do you think I can call these functions in C ++ code?

    TDK
    August 13, 2020
    Yes, you can call C functions from C++.
    "If you feel a post has answered your question, please click ""Accept as Solution""."