2017-07-07 02:31 AM
Hi,
I purchased the S2-LP development kit which contains 2 boards:
- NUCLEO board equipped with STM32L152RE
- S2-LP board
The development kit contains though the project files for STM32L053R8
Are available the project files for STM32L152RE?
Best Regards,
Enrico Migliore
2017-07-08 02:53 AM
Hi,
I solved the problem myself.
I'm now able to compile, modify and test the S2-LP driver and stacks using the NUCLEO board with the STM32L152RE microcontroller.
Assuming you have the evaluation 32k code limited or the full version of the KEIL toolchain, these are the steps:
STEP 1
In the IDE editor of your toolchain, EXCLUDE from the project all the L0XX..c and L0XX..h files
STEP 2
In the IDE editor of your toolchain, INCLUDE in the project all the L1XX..c and L1XX..h files
STEP 3
In the IDE editor of your toolchain, go to the C/C++ options.
In the Define text-field remove anything and insert the following MACROS:
STM32L152xx USE_STM32L1XX_NUCLEO USE_HAL_DRIVER USE_SYSTICK_DELAY
Enrico Migliore