STM32 Cube Library Add

Comments

2 comments

  • Avatar
    Markus

    Happy new Year,

     

    as far as I know you should be fine by just adding the Library to the Project-Tree like the source-files.

    What error do you get when you compile the project?

     

    Regards

    0
    Comment actions Permalink
  • Avatar
    Tmtkanatli

    Hi Markus,

    I added library to source-files, included its .h file in the main.c file. When I try to use one of the routines ( PDM_Filter_Init() ) I get these errors:

     

    "

    Building ‘i373’ from solution ‘i373’ in configuration ‘THUMB Debug’
    main.c (05.01.2019 11:53:30) is newer than i373 THUMB Debug/main.o (01.01.2019 18:55:37).
    Compiling ‘main.c’
    data definition has no type or storage class
    type defaults to 'int' in declaration of 'PDM_Filter_Init' [-Wimplicit-int]
    parameter names (without types) in function declaration
    conflicting types for 'PDM_Filter_Init'
    main.c
    previous declaration of 'PDM_Filter_Init' was here
    'i373 THUMB Debug/stm32f37x_it.o' is up to date
    'i373 THUMB Debug/system_stm32f37x.o' is up to date
    'i373 THUMB Debug/thumb_crt0.o' is up to date
    'i373 THUMB Debug/STM32_Startup.o' is up to date
    Build failed

    "

     

    Regards,

    Tim

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.