How do the driver files from the firmware link to a program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 5:48 AM
Can anyone help me with connecting the drivers that are missing in the example program I am trying to build for the audio recorder?
I have tried everything I can think of and the program won’t link the header files. I am have tried to add the header files to the project but lots of issues arise. I have read and understood that driver files cannot have their file directory disrupted.
- Labels:
-
DEBUG
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 7:36 AM
Did you follow the advice in your last thread? What is the full path to audio.h and cs43l22.h? What are you project include directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 8:12 AM
Hello
make a new include path to your headers . MENU>PROJECT>PROPERTIES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 8:19 AM
Yeah, i have tried everything I can think of too.I just replaced the #include header files with the source code from the header files themselves. The same errors apeared from 3 HAL drivers, they are HAL_dfsdm, HAL_sai.h and HAL_uart.h. The errors were from the #include header files for each of the drivers.I have tried to replace the #include for each of the 3 drivers with the source code from the .h files for each driver, but 17 errors apear.
I dont know what else i can do becasue I have tried everything I can think of. I fully appriciate your help, thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 10:36 AM
Look in your stm32l4xx_hal_conf.h.
Uncomment there #defines for all new components that you've added (UART, SAI and so on).
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 11:25 AM
The include files describe the interfaces, you have to actually pull the .C files in with the library code within them into the project.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-07 2:48 PM
Thanks very much for your help.The mic and the headphones are now working on the board when the program runs.I added the header files and c files as you advised and the program went to the microcontroller with no issues.The LCD screen is not working on the recorder. Do you know how I enable it? I have checked the jumper arrangements and they are alright. I have held the joystick down like the manual advises but it will not operate.Are there more files required to get the LCD screen operational?
