Comments (6)
Finally applied the fix, sorry for the long wait.
from cubemx.cmake.
C:\git\testprojekt\build>arm-none-eabi-as --version
GNU assembler (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.16)) 2.37.20220122
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `arm-none-eabi'.
from cubemx.cmake.
CMakeOutput.log
The system is: Windows - 10.0.19044 - AMD64
CMakeError.log
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM compiler is Clang using "--version" did not match "(clang version)":
Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)":
Checking whether the ASM compiler is ARMClang using "--version" did not match "armclang":
Checking whether the ASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM compiler is IntelLLVM using "--version" did not match "(Intel[^
]+oneAPI)":
Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM compiler is MSVC using "-?" did not match "Microsoft":
Checking whether the ASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)|(Arm Compiler)":
Checking whether the ASM compiler is NASM using "-v" did not match "(NASM version)":
Checking whether the ASM compiler is YASM using "--version" did not match "(yasm)":
Checking whether the ASM compiler is ADSP using "-version" did not match "Analog Devices":
Checking whether the ASM compiler is QCC using "-V" did not match "gcc_nto":
from cubemx.cmake.
Any chance the compiler was also installed somewhere under C:\Program Files\
?
Sometimes there are issues when paths are not properly quoted throughout the whole build system.
Please move the compiler to a place where the path doesn't contain whitespace, such as C:\armgcc\
, and check if the error persists.
from cubemx.cmake.
It does now work for me. Of course I tell you what I have done to come to this point:
- Changed the path as you recommended. (Did not fix it.)
- Set the PATH variable to
C:/toochainpath/11.2_2022.02/bin
- Included
set(ARMGCC_TOOLCHAIN_PATH "C:/toochainpath/11.2_2022.02/bin")
andinclude(cubemx.cmake/arm-gcc.cmake)
inCMakeLists.txt
- Added
LANGUAGES C CXX ASM
toproject(testproject)
->project(testproject LANGUAGES C CXX ASM)
- #14
- Added
STARTUP "${CMAKE_CURRENT_LIST_DIR}/startup_stm32f334x8.s"
to cubemx_target
from cubemx.cmake.
I have some problem!
It work fine for me!
from cubemx.cmake.
Related Issues (10)
- Python errors when IOC file not found
- File globbing broken for multiple projects
- Broken launch.json with multiple targets HOT 1
- CMake error: CubeMX startup file not found HOT 3
- CubeMX compiler settings were not created / considered HOT 12
- Fails to configure if RCC.HSI_VALUE missing HOT 1
- Use gitattributes to force native EOL HOT 1
- Allow to pass extra arguments to bin file creation HOT 3
- Project configuration fails for multiple targets
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 cubemx.cmake.