Running S2-LP examples on System Workbench
I am struggling to get the S2-LP examples examples running on System workbench. Examples are only available for MDK-ARM and EWARM.
I have two STEVAL-FKI868V1 kits and would like to develop for it using System Workbench since it isn’t limited by code-size.
The kit (http://www.st.com/en/evaluation-tools/steval-fki868v1.html) consists of a Nucleo-L152RE and a S2-LP low-power sub- 1GHz RF standalone transceiver module. I have experience with the Nucleo and System Workbench, however the only documentation I could find for the RF transceiver was a GUI tool to set the registers and test the devices, a few MDK-ARM and EWARM code examples and a document explaining some details on the GUI. (http://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-s2lp-dk.html)
I tried to create an empty project in the S2-LP examples directory with System Workbench and added all the required libraries by adding the paths in Eclipse’s “Paths and Symbols”, but I just can’t manage to get it operational.
A few of the errors I am still getting are:
- Undefined references for functions that have been included and the paths added to “Paths and Symbols”. I don’t get any errors when I #include the header file and if I hold in control and click on the functions it does take me to the correct function in the header file.
- Static declaration of ‘SystemClock_Config’ follows non-static declaration
- redeclaration of enumerator ‘BUTTON_MODE_EXTI’ error on:
typedef enum
{
BUTTON_MODE_GPIO = 0,
BUTTON_MODE_EXTI = 1
} SdkEvalButtonMode;
in the file SDK_EVAL_Button.h
Any advice on how to solve these errors, links to additional resources on the RF transceiver or information on how to open a project that was designed for another IDE in System Workbench would be greatly appreciated.
Thank you in advance! Please do not hesitate to request any additional information.