- Tue Mar 29, 2016 11:30 am
#44255
Hi Charles !
I realize that I forget to write that after the git clone of "esp-open-sdk" repository, we have to enter 'cd esp-tool-sdk' command before the 'make STANDALONE=y'. Say that is probably stupid, but in the doubt ...
Well, after the end of build process of esp-open-sdk, you should find an 'xtensa-lx106-elf' in the 'esp-open-sdk' directory, the one where you launched make process. On my system it's '/home/pi/open-sdk/xtensa-lx106-elf'.
When you first launch arduino IDE, and install ESP8266 boards support (json url in prefs etc.), an '.arduino15' directory is automaticaly created by arduino IDE in your home directory (obviously, it may be '/home/pi/.arduino15').
The more simple for the following is, in the file explorer of Raspbian, to enable "display hidden files" (aka CTRL+H). So you'll can see the ".arduino15" directory in the graphical file explorer.
Now you have just to delete the content of '/home/pi/.arduino15/packages/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/'.
After that copy the content of '/home/pi/open-sdk/xtensa-lx106-elf' (These are 'bin', 'include', 'lib', 'libexec', 'share' and 'xtensa-lx106-elf', but built for ARM) in '/home/pi/.arduino15/packages/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/'.
Hope that it could help you.
For me, I choosed the lazy way, and I'm using nodeMCU platform, so I'm connected to the NodeMCU with USB port via "/dev/ttyUSB0" RPi port.
I don't know if it is possible to use another way. Probably needs some electronic adds.
I've an "Arduberry" card, a flavor of arduino Uno, directly pluggable on the 40 pin connector of the PI. But Dexter Industries (the maker of the card) slight modify arduino IDE installation for adding a dedicated programmer in the programmer tools list of the IDE.
In all case, I think we would have a serial link between RPi and ESP8266 module.
Regards
PS : I'm alway stucked with the upload problem I wrote about in my past posts. I've to manually upload compiled sketches. If someone has an idea ...