GithubHelp home page GithubHelp logo

tobiasgehring / atmelstart Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 26 KB

Command line utility to use Atmel Start with cmake / JetBrains CLion

License: GNU General Public License v3.0

Python 79.75% CMake 20.25%

atmelstart's Introduction

Atmel Start

This projects consists in a command-line tool to streamline work with the Atmel Start code generator, as well as a CMake toolchain generator which allows to integrate code generated using Atmel Start in a CMake project (for use in the JetBrains CLion IDE for example)

Quick Start

Initialize the Atmel Start configuration

$ atstart init

This initializes the current directory as project directory. It creates a src/ subdirectory for your own code and a CMakeLists.txt for cmake. It then opens a webbrower with Atmel start. Please save the configuration file in the project root directory as atmel_start_config.atstart.

Generate the Atmel Start code and download it

$ atstart reconfigure

This will generate the code, download it and extract it in a atstart directory. The code is the same as the one you would get using Export Project in Atmel Start. This will also generate toolchain.cmake for building your project with cmake. Call this command after you updated the configuration file atmel_start_config.atstart in the root directory.

Create your project files

Create a main code file main.c for your project in the src/ directory. You can copy atstart/main.c as a starter if you wish.

Build your project

$ atstart build

CLion

CLion has openocd integration. Start CLion and create a new project from existing source. To correctly build the project you need to edit the settings:

File | Settings | Build, Execution, Deployment | CMake

Add -DCMAKE_SYSTEM_NAME=Generic to CMake options.

To use openocd edit the Run / Debug Configuration.

Credits

This tool is heavily inspired by AtmelStart by Jacques Michiels.

atmelstart's People

Contributors

tobiasgehring avatar

Stargazers

 avatar Pedro de Santi avatar

Watchers

 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.