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

Where are the sources ?? #1

Open
rogerclarkmelbourne opened this issue Nov 14, 2015 · 8 comments
Open

Where are the sources ?? #1

rogerclarkmelbourne opened this issue Nov 14, 2015 · 8 comments

Comments

@rogerclarkmelbourne
Copy link

Where are the sources ??

I'd like to recompile the WIndows exe to try some baud rates compatible with the Silicon Labs CP2102 which are currently being rejected

@0x2b3bfa0
Copy link

They seem to be missing. However you can try to use this Python version of esptool: https://github.com/themadinventor/esptool

@rogerclarkmelbourne
Copy link
Author

Yes. I know I can use the Python version.

However, this is still an issue that needs to be resolved, as Open Source projects should strive to include sources for all the binaries that are compiled as part of the project

@0x2b3bfa0
Copy link

Yes, this is a good important issue. However, the programmer's procrastination seems to be great... Let's wait until he takes a look here. ;-)

@0x2b3bfa0
Copy link

I'm not a Windows expert (I don't used it later than when I was 9 years old). However, I've made a bash script for *nix users to use as wrapper. It allows me to use the esptool binary to create the firmware and esptool.py to upload it:

#!/bin/bash

case "$1" in
  ("-eo")
    ./esptool.bin $@;;
  ("-cd")
    ./esptool.py --port "$6" write_flash 0x00000 "${10}";;
  (*) echo "Invalid build command!"
esac

You should put this script in /path/to/Arduino15/packages/esp8266/tools/esptool/0.4.5/esptool and give execute permissions.

@rogerclarkmelbourne
Copy link
Author

@crushedice2000

Its not a big issue for me at the moment, as I can use the esptool binary at 115200, I just wanted to change it, as it has a list of "supported" data rates, which doesn't totally match with the CP2101 based USB to Serial board I'm using - at least not for the higher speeds

I can modify things to use python if I really need to .

@0x2b3bfa0
Copy link

Ok. Let's see what says the maintainer. 😄

@0x2b3bfa0
Copy link

@rogerclarkmelbourne: I've discovered the project source code: https://github.com/igrr/esptool-ck

@0x2b3bfa0
Copy link

I've made a pull request

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

2 participants