Skip to content

Arduino PreLoad script #4271

@Hiddenvision

Description

@Hiddenvision

Another random thought.

I use a small program to switch prefferences.txt files depending on the project I am working on.
This sets the Device, Recent Sketches, port speed and the like before I start the IDE.
Very handy if you use the IDE for multiple device types.
The same app also lets me set all the possible debug flag defines from one place before I compile.
Maybe not ALL but lets say, all that I needed.

I was wondered if the Arduino IDE has a method of running a preload script to perhaps automate this preference file changing process.
Just before it loads any device dependant info, bam the user can run a script based on project name.
Load this, rename that, start the com port OR NOT,.
Just all those little twiddley bits you do different for projects or devices.

Perhaps I should be asking this in the Arduino Forum or some other place but I'm here now.!

Hv.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions