[SOLVED] New user - unable to compile first project

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] New user - unable to compile first project

    Hi,
    I am new here and have just installed Embedded Studio on my Mac. It is updated and running the latest version of Mac OS.

    Following the Embedded Studio Guide on page 29.
    I first installed the package for my desired target MCU, Atmel SAMD21.
    I then created a new project selecting desired target SAMD21G18AU.
    I then choose Build | Build 'Project" and after a few moments, I get an error in the output window as follows;

    Compiling 'SEGGER_RTT.c'
    Compiling 'system_samd21.c' error
    unknown type name 'uint32_t'
    Build failed


    I have not edited anything, changed anything etc.
    Can someone suggest why it doesn't know what an uint32_t is (unsigned 32 bit integer)?

  • Hello,

    Thank you for your inquiry.
    The issue is related to this specific package and is already known to us.
    A fix has been applied with the updated package which is available now.
    To install the updated version of the SAMD21 we recommend uninstalling the old one.
    Then refresh the package manager and install the new one.
    If you now create a new project with the updated package source files there should be no build errors anymore.

    Sorry for any inconveniences caused.
    To stay up to date with Embedded Studio releases and package updates we suggest subscribing to our notification list: segger.com/notification/subscribe.php?prodid=196

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi Glendon,

    Great to hear that you are up and running again.
    We will consider this thread as solved now.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.