Comments (4)
FindCMSIS.cmake
need full path to firmware package.
You should change STM32Cube_DIR to ~/STM32Cube/Repository/STM32Cube_FW_F4_Vx.x.x/
from stm32-cmake.
no luck
cmake -DSTM32_CHIP=STM32F411xE -DCMAKE_C_COMPILER=/usr/local/bin/arm-none-eabi-gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/arm-none-eabi-g++ -DCMAKE_TOOLCHAIN_FILE=/Users/vagif/workspace/stm32/stm32-cmake/cmake/gcc_stm32f4.cmake -DCMAKE_MODULE_PATH=/Users/vagif/workspace/stm32/stm32-cmake/cmake -DTOOLCHAIN_PREFIX=/usr/local/bin/ -DSTM32Cube_DIR=~/STM32Cube/Repository/STM32Cube_FW_F4_V1.18.0/
-- STM32F411xE is 411xE device
CMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CMSIS (missing: CMSIS_SOURCES)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/Users/vagif/workspace/stm32/stm32-cmake/cmake/FindCMSIS.cmake:152 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:6 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/Users/vagif/workspace/stm32/stm32-blinky/CMakeFiles/CMakeOutput.log".
See also "/Users/vagif/workspace/stm32/stm32-blinky/CMakeFiles/CMakeError.log".
from stm32-cmake.
Did you clear cache by rm CMakeCache.txt
before building?
cmake -DSTM32_CHIP=STM32F411xE -DCMAKE_TOOLCHAIN_FILE=~/workspace/libs/stm32-cmake/cmake/gcc_stm32.cmake -DCMAKE_MODULE_PATH=~/workspace/libs/stm32-cmake/cmake -DTOOLCHAIN_PREFIX=~/opt/gcc-arm-none-eabi -DSTM32Cube_DIR=~/STM32Cube/Repository/STM32Cube_FW_F4_V1.18.0/
works fine for me.
from stm32-cmake.
Actually the solution for me was that the CubeF4 firmware package doesn't contain a CMSIS folder as the CubeF7 one does. So you would probably need to add it explicitly.
You can probably close this issue now.
from stm32-cmake.
Related Issues (20)
- NO LUCK : Iam trying to build the project on windows 10 HOT 2
- Unable to configure/build Blinky example on windows 10. (No STM32_TARGET_TRIPLET specified) HOT 7
- CMake CMP0057 Policy Error HOT 2
- Check the cmake version and inform the user if it's not at least the requested one
- Support Dual Core Project WL55JCX HOT 11
- Add Branch with only CMAKE functions called `lib ` HOT 5
- FetchContent_Declare does not show progress HOT 5
- Wrong HAL family in find_package HOT 2
- quotes in --sysroot breaks clangd HOT 3
- To the next release and beyond HOT 1
- Multiple warnings from HAL HOT 6
- we need integration of H5 family and C0 family HOT 6
- How to include middleware? HOT 3
- How to include CMSIS arm_math? HOT 8
- Target all HAL libraries for a family HOT 9
- Template on multi-level directories with custom libraries HOT 2
- Calling find_package() to find CMSIS multiple times leads to errors HOT 7
- Incorrect TARGET_TRIPLET variable handling
- Linking fails with `-lstm_cube: no such file or directory` HOT 1
- UT: Make unit test run for all existing and future families HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32-cmake.