Skip to content

Comments

Allow uploading to a custom Arduino#34

Open
sijk wants to merge 9 commits intotwinearthsoftware:masterfrom
sijk:master
Open

Allow uploading to a custom Arduino#34
sijk wants to merge 9 commits intotwinearthsoftware:masterfrom
sijk:master

Conversation

@sijk
Copy link

@sijk sijk commented Jun 13, 2018

This lets users work with custom boards without needing to modify the library, which is useful for boards that use a different bootloader baud rate or have different reset behaviour.

For example:

        public static void Upload(string hexFile, string serialPort)
        {
            var options = ArduinoSketchUploader.GetModelOptions(ArduinoModel.Mega1284);
            options.BaudRate = 57600;

            var uploader = new ArduinoSketchUploader();
            uploader.UploadSketch(options, File.ReadAllLines(hexFile), serialPort);
        }

sijk added 3 commits June 13, 2018 15:02
This lets users work with custom boards without needing
to modify the library which is useful for e.g. boards
that use a different bootloader baud rate.
@kalapee
Copy link

kalapee commented Nov 19, 2018

Good

sijk added 6 commits October 29, 2020 10:38
Now that verification is optional, report 0-100% while programming and
0-100% again while validating (instead of 0-50% while programming and
50-100% while validating).
Identical to AtMega1284 except for the signature bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants