Also, do you have a properly powerful USB power supply for the Pi?
I think the Raspberry Pi has a polyfuse that limits the current going to USB. The ESP8266 draws ~400mA peak I think, and that could actually just be a bit too much for the Pi.
I guess putting a massive capacitor across the power rails for the ESP8266 might help though (100uF or so)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Have you tried a Pico without the ESP8266?
Also, do you have a properly powerful USB power supply for the Pi?
I think the Raspberry Pi has a polyfuse that limits the current going to USB. The ESP8266 draws ~400mA peak I think, and that could actually just be a bit too much for the Pi.
I guess putting a massive capacitor across the power rails for the ESP8266 might help though (100uF or so)