Relocating hex file ide2.2.1

I have a project that I originally wrote using 1.8. I could place the hex files conveniently in my project directory. I have a custom bootloader that uses just the hex files.

I am updating the project now using 2.2.1. The only place I found the hex file is in a huge path in the users directory which is very inconvenient. I found it in the output window.

I think this was a preferences choice previously. Is there a workaround or new preference setting?

If not, it seems to me that ide 2 is unusable.

Al

Why not just copy/ move the hex to wherever you want it, and go from there.
Your custom uploader shouldn’t be constrained to a single path.

Opening two File Explorer windows just to copy a file that is in a deep temp directory seems crazy to me.

I think that the project directory should have both the source and its outputs. This makes it easier to maintain the files, and share with others.

I found a workable solution that is actually a feature of the tools. It is not ideal in my view, but much better than copying from the user directory.

Under Sketch in the IDE is "Export Compiled Binary" This creates a subdirectory in the project that includes the hex file.

Doesn't the Sketch/export Compiled Binary menu item still put the .hex file in a subdirectory of the sketch folder? (It does for me...)

(Yeah, in 1.x you could also specify a build directory in preferences.txt, which I liked better Specifying the build path )

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.