Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TyCommander can Integrate with --delegate SerMon under Arduino 2.0 install #103

Open
Defragster opened this issue Nov 27, 2022 · 0 comments

Comments

@Defragster
Copy link

Defragster commented Nov 27, 2022

Placing a platform.local.txt with these lines including the {{local path}} to the EXE:
tools.teensyloader.cmd.path={{local path}}\TyCommanderC.exe
tools.teensyloader.upload.pattern="{cmd.path}" upload --autostart --wait --delegate "{build.path}/{build.project_name}.hex"

Path for platform.local.txt is:
C:\Users{{Local User}}\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.57.1\platform.local.txt

Where {{Local User}} is used and "1.57.1" is used for the current 'hardware\avr' install path
Windows Base path is > %appdata%..\local\Arduino15\packages\teensy\hardware\avr

Teensy Loader is still used with --delegate and this doesn't change it starting up and getting .Hex or .eHex path as needed.
TyCommander then asks which Teensy and puts it in to bootloader for Teensy.exe to program while USB Serial is AUTO disconnected.

With Teensy.exe doing the upload Encrypted .eHex is supported and the 'multiple Teensy' SerMon feature of TyCommander works in a separate window rather than in the small window embedded in the IDE GUI.

Perhaps this is easy to add an option to 'Integrate to Arduino 2.x' tool item?

BTW: Once this is done - TyComm will still get called to select Teensy - but if Serial is set Off in TyComm - other SerMon can be used.

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

No branches or pull requests

1 participant