cancel
Showing results for 
Search instead for 
Did you mean: 

S2-LP - Nucleo project files for STM32L152RE

enrico239955
Associate II
Posted on July 07, 2017 at 11:31

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

1 REPLY 1
enrico239955
Associate II
Posted on July 08, 2017 at 11:53

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