Hish15

Results 31 comments of Hish15

Actually the BSP is searched in the folder ${STM32Cube_DIR}. With STM32CubeMX you can copy the files you need to your folder location, but you can also just point to your...

`modern-cmake` is WIP. It does not handle the BSP at all. Why do you want to use the generated BSP? isn't it just a copy of the content of you...

That's a great news. Since you did the work, I think you should make the PR, we can discuss the matter in there.

@atsju Where are we on this topic?

I love the idea! This is 1) doable and 2) makes more sense! If you are not already working on this @atsju I might give it a try :)

I think that I'm missing something, but what is the difference with whats its done in https://github.com/ObKo/stm32-cmake/blob/master/cmake/FindSTM32BSP.cmake ?

Hi @robamu, From your last UPDATE I understand that this is not needed? I read the documentation of --sysroot for GCC, and it looks like we don't need it in...

@robamu Aren't specific path for cmake find's user related ? I think this is why cmake documentation says to put it in a toolchain file only. ``` This variable may...

Hi @andyinno, In this repo INTERFACE libraries are used to define all the libraries, so quoting [the documentation](https://cmake.org/cmake/help/v3.14/command/add_library.html) : `an INTERFACE library target does not directly create build output, though...

Hi @andyinno, After some testing (cmake 3.16) it seems that I was wrong : Adding sources to the interface target, populate [INTERFACE_SOURCES](https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_SOURCES.html) property. linking against this interface will propagate this...