STM32 Cube Library Add
Dear Team,
I want to use a library built by ST ( "libPDMFilter_CM4_GCC.a" ) with CrossWorks for ARM V4.3.0
Library has an include file also ("pdm2pcm_glo.h").
Checked with the old posts tried to add .a file to "Linker Options > Additional Input Files project property" did not work.
Can you please guide?
Thanks,
Tim
-
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
Please sign in to leave a comment.
Comments
2 comments