arduino / arduino/Arduino

Add hooks to pre and post upload?

Open
#4,290 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Could you add pre and post hooks for upload in addition the build as documented in the link below?

I would like to use realterm.exe to signal an running realterm instance to close its serial port before the upload, and to re-open it after the upload.

https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification#pre-and-post-build-hooks-since-ide-165

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked Arduino 1.5 3rd-party hardware specification section on pre- and post-build hooks, then find the existing build-hook handling and upload entry point in the Arduino IDE 1.x source. Trace where upload begins and ends, and confirm done when equivalent pre- and post-upload hooks run around the upload operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.