GithubHelp home page GithubHelp logo

danielotero / cmake-embedded Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 24 KB

A set of CMake scripts to develop a couple of embedded platforms

License: MIT License

CMake 100.00%
cmake cmake-modules avr avr-toolchain

cmake-embedded's Introduction

cmake-embedded

A set of CMake scripts to improve the development on some embedded platforms.

It is just a personal project to get a decent IDE integration: code completion, live diagnostics, build and upload targets.

Usage

Usually, you must set the CMAKE_TOOLCHAIN_FILE variable before the project command execution.

Check out the CMake documentation on Toolchain for more information.

The cmake-embedded-examples repo contains some examples.

AVR GNU Toolchain (avr-gcc)

The toolchain file is at path: Toolchains/avr-gcc.cmake

Relevant CMake variables:

  • CMAKEMBED_AVR_SYSROOT: Path to a valid AVR sysroot. It shouldn't be needed if there is a toolchain installed in the system.

The main CMake functions:

  • add_avr_firmware(name [MCU <mcu name>] [PRINT_SIZE]): Declare a new AVR firmware.

  • add_avr_upload_target(target [<avrdude options>] [EPPROM]): Declare a new target to upload the given target with the specified options.

Contributing

Feel free to open an issue or a Pull Request to reach out!

cmake-embedded's People

Contributors

danielotero avatar

Watchers

 avatar  avatar

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.