Skip to content

Conversation

drzony
Copy link
Contributor

@drzony drzony commented Nov 28, 2020

No description provided.

@d-a-v
Copy link
Collaborator

d-a-v commented Nov 28, 2020

Thanks @drzony ! That looks fine.
Basically from what I understand, the regular firmware file is replaced by the compressed one, and the original one renamed to .orig.
Is that because PIO can't handle another name than sketch.bin ?

@drzony
Copy link
Contributor Author

drzony commented Nov 28, 2020

No, that's because elf2bin.py takes --out parameter, so the gzipped file needs to be named according to this parameter. The .orig file is just a backup for reference. This is the generic part, which can be used in Arduino.

The PlatformIO part is only for handling options in .ini file and changing the parameters of esp2bin.py.

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Only PIO and custom scripts will use this action, so I don't see any core impact.

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@earlephilhower earlephilhower merged commit 04b0c27 into esp8266:master Nov 29, 2020
@drzony drzony deleted the gzip-support branch November 29, 2020 18:42
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.

3 participants