Integrating RFAL for ST25R3916 with STM32F2xx
I'm having trouble integrating RFAL for ST25R3916 with an STM32F2xx project. I downloaded RFAL from here: https://www.st.com/en/embedded-software/stsw-st25rfal002.html#overview. I am trying to follow the steps from section 4.3 How to Run the First Example of the user manual: UM2890 - User manual RF/NFC abstraction layer (RFAL).
The library did not include the following files: st_errno.h, timer.c, timer.h, utils.h. I copied these files from the xcube NFC library as a work around: https://www.st.com/en/embedded-software/x-cube-nfc6.html
I added the RFAL files under the Middlewares directory of my project (see below images), and added these files to the include paths
I created a platform.h file from the appendix of UM2890 - User manual RF/NFC abstraction layer (RFAL).
If I try to add an RFAL function to my program I always get a undefined reference. For example if I added :
#include "rfal_analogConfig.h"
to my main.cpp
and inside my main function I attempt to call: rfalAnalogConfigInitialize();
I get the below error:
Is there some additional step I am missing? Is there another guide for integrating RFAL I should be following? Or an example project that runs on STM32F2xx?
Thanks,
Patrick
