GithubHelp home page GithubHelp logo

Comments (2)

brandonros avatar brandonros commented on August 16, 2024
$ make VERBOSE=1
/usr/bin/cmake -S/home/brandon/candleLight_fw -B/home/brandon/candleLight_fw --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/brandon/candleLight_fw/CMakeFiles /home/brandon/candleLight_fw/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/brandon/candleLight_fw'
make -f libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/build.make libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/depend
make[2]: Entering directory '/home/brandon/candleLight_fw'
cd /home/brandon/candleLight_fw && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/brandon/candleLight_fw /home/brandon/candleLight_fw/libs/STM32_HAL /home/brandon/candleLight_fw /home/brandon/candleLight_fw/libs/STM32_HAL /home/brandon/candleLight_fw/libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/brandon/candleLight_fw'
make -f libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/build.make libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/build
make[2]: Entering directory '/home/brandon/candleLight_fw'
[  1%] Building C object libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/src/stm32f0xx/stm32f0xx_hal.c.o
cd /home/brandon/candleLight_fw/libs/STM32_HAL && /usr/bin/cc -DSTM32F072xB -I/home/brandon/candleLight_fw/libs/STM32_HAL/include -I/home/brandon/candleLight_fw/libs/STM32_HAL/include/cmsis -I/home/brandon/candleLight_fw/libs/STM32_HAL/include/stm32f0xx -I/home/brandon/candleLight_fw/libs/STM32_HAL/include/cmsis/device -I/home/brandon/candleLight_fw/libs/STM32_HAL/config  -std=gnu11 -mcpu=cortex-m0 -mthumb -Wall -Wextra -Werror -Wno-deprecated -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Os -g3 -Wno-unused-parameter -o CMakeFiles/STM32_HAL_STM32F072xB.dir/src/stm32f0xx/stm32f0xx_hal.c.o   -c /home/brandon/candleLight_fw/libs/STM32_HAL/src/stm32f0xx/stm32f0xx_hal.c
cc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
cc: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
make[2]: *** [libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/build.make:63: libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/src/stm32f0xx/stm32f0xx_hal.c.o] Error 1
make[2]: Leaving directory '/home/brandon/candleLight_fw'
make[1]: *** [CMakeFiles/Makefile2:410: libs/STM32_HAL/CMakeFiles/STM32_HAL_STM32F072xB.dir/all] Error 2
make[1]: Leaving directory '/home/brandon/candleLight_fw'
make: *** [Makefile:85: all] Error 2

Something is not working with the cross-compilation discovery?

from candlelight_fw.

brandonros avatar brandonros commented on August 16, 2024

I'd add this to the README:

CC=arm-none-eabi-gcc CFLAGS="--specs=nosys.specs" cmake .
make

from candlelight_fw.

Related Issues (20)

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.