Giter Site home page Giter Site logo

Comments (6)

patrislav1 avatar patrislav1 commented on July 17, 2024 2

Finally applied the fix, sorry for the long wait.

from cubemx.cmake.

StoneBam avatar StoneBam commented on July 17, 2024
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.

StoneBam avatar StoneBam commented on July 17, 2024

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.

patrislav1 avatar patrislav1 commented on July 17, 2024

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.

StoneBam avatar StoneBam commented on July 17, 2024

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") and include(cubemx.cmake/arm-gcc.cmake) in CMakeLists.txt
  • Added LANGUAGES C CXX ASM to project(testproject) -> project(testproject LANGUAGES C CXX ASM)
  • #14
  • Added STARTUP "${CMAKE_CURRENT_LIST_DIR}/startup_stm32f334x8.s" to cubemx_target

from cubemx.cmake.

un7pcs avatar un7pcs commented on July 17, 2024

I have some problem!

It work fine for me!

from cubemx.cmake.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.