Giter Site home page Giter Site logo

telekomak / avrdudewrapper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

Simple program that launches avrdude with arguments supplied from user-defined board presets. It is designed to run as MicrochipStudio (AtmelStudio) tool

C# 100.00%
atmel-studio microchip-studio arduino

avrdudewrapper's Introduction

avrdude Wrapper

Simple program that launches avrdude with arguments supplied from user-defined board presets.

It can be used as Microchip studio (Atmel studio) tool

Requirements

  • avrdude must be installed on your computer
  • avrdude.exe working directory must be included in PATH enviroment variable How to?

Usage

>AVRDudeWrapper <source file> <preset file (optional)>
  1. Source file: Compiled binary file (any format that is supported by avrdude)
  2. Preset file (optional): json file containing presets included here. If not supplied default file is used
>Enter preset name:
arduino_UNO

Enter name of preset that you want to use

If left empy last used preset will be used

>Enter port name:
COM6

Enter name of port that you want to use

If left empy last used port of the selected preset will be used

Custom presets

You can create custom presets simply by editing presets.json file

{
  "Name":"arduino_UNO",
  "MCUName":"atmega328p",
  "Programmer":"arduino",
  "BaudRate":115200,
  "LastUsed":18,
  "Port":"COM3"
}

Json properties

  1. Name: Name of the peset
  2. MCUName: Name of the microcontroller
  3. Programmer: What programmer to use
  4. BaudRate: Communication speed to use
  5. LastUsed: Property determining the last used preset - Set this to 0
  6. Port: Communication port to use

For properties 2 and 3 please refer to avrdude documentation

Microchip (Atmel) studio

How to use this as Microchip studio tool

1. Open Tools menu

image

2. Create new external tool

image

Command:

<AVRDudeWrapper directory>\AVRDudeWrapper.exe

Arguments:

$(ProjectDir)Debug\$(TargetName).a <path to presets.json>

For usage as Microchip studio tool second argument must be supplied

Resources:

avrdudewrapper's People

Contributors

telekomak 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.