Coder Social home page Coder Social logo

phaistra / tricore_tc397x_cmakeninja Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 4.21 MB

This is a reference project on how to setup CMake & Ninja using the Tasking toolchain for Infineon TriCore TC397x family of micrcontrollers

CMake 14.49% PowerShell 63.87% Just 2.45% C 18.92% Batchfile 0.27%
cmake infineon microcontroller ninja tricore tricore-development

tricore_tc397x_cmakeninja's People

Contributors

phaistra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

liunix61

tricore_tc397x_cmakeninja's Issues

Linking fails when changing CMake build-directory

When using a CMake build-directory other than the project-root, the linking step fails (for example, when using the VSCode CMake extension). This seems to be caused by the inability to find the output directory <build-directory>/bin/flash (which is obvious since this folder gets created relative to the project-root).

This can be fixed by making line 128 of the main CMakeLists.txt relative to the current CMake binary directory

-file(MAKE_DIRECTORY bin/flash)
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin/flash)

Btw. thank you so much for this repo. You probably saved me a few days worth of CMake debugging ๐Ÿ˜Š.

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.