July 7, 2016, 3:18pm
Hi, I manage to add SPL support for Nucleo L152RE, creating a new framework. Everything seemed to work fine, but yesterday, I tried to use a c++ library, and I realized that this code compiles but when I upload it to the board, it doesn’t do anything:
But this code works fine:
What should be the problem?
@FPablo! It’s hard to guess a reason without a project. Which linker script do you use?
July 8, 2016, 3:41pm
Hi, thanks for your reply, I used the linker script that STM32CubeMX generated:
The new framework (called “dev”) that I made is a simply copy of the SPL framework with the difference that I put extra libraries, and a startup for stm32l152ret6.
This is my board .json:
The framework’s builder:
@FPablo Have you modified build or linker flags? Have you tried to use
stlink debug interface? I could not find file
dgpio.h in your repo.
July 8, 2016, 4:59pm
No, I didn’t modify nothing, I only add the files you see above to the ststm32 platform, here is my project:
How may I use the stlink debug interface in Platformio IDE?