Skip to content

Compiling with Kiel / uVision #2

Description

@dtbaker

Hello again,

I hope you may assist with compiling. It's ok if you don't want to, please just close the issue if you have no time.

I have this old zip file project open in Kiel 5. With target ARM Compiler: V6.19 and these C settings:

image

Trying to build the target results in lots of errors, such as this:

./Libraries/CMSIS\core_cm3.h(1489): error: expected ';' after top level declarator
static __INLINE uint32_t NVIC_GetPriorityGrouping(void)
                        ^
                        ;
./Libraries/CMSIS\core_cm3.h(1756): error: unknown type name 'inline'
static __INLINE uint32_t ITM_SendChar (uint32_t ch)
       ^
./Libraries/CMSIS\core_cm3.h(751): note: expanded from macro '__INLINE'
  #define __INLINE         inline                                     /*!< inline keyword for GNU Compiler       */
                           ^
./Libraries/CMSIS\core_cm3.h(1756): error: expected ';' after top level declarator
static __INLINE uint32_t ITM_SendChar (uint32_t ch)
                        ^
                        ;
17 errors generated.
compiling USART.c...
".\OBJ\Moebius.axf" - 480 Error(s), 0 Warning(s).
Target not created.

Any ideas what I'm doing wrong with the project setup? I had hoped it would compile out of the box. Maybe it's something to do with the Pack Installer?

Thank you so much

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions