Closed SpenceKonde closed 9 years ago
This is sending the module unminified?
My guess is it's this recurring issue of USB flow control. If you turn on throttling it'll probably work?
I'm hoping to swap to ST's newer CubeMX peripheral libraries, and when that happens I should be able to implement some proper flow control that will solve this once and for all.
Minification was set to "Closure (online) - Simple Optimizations" - which is what makes this so crazy - the two versions should minify to the exact same thing!
Sorry - huge delay on this.
Was this with the Pico, or the original Espruino board?
It was with a Pico. I haven't seen this behavior since.
Ok, closing then - reopen if there's trouble.
This works:
This does not:
WTF?
The only change is the addition of // to start a comment, but with that comment there, the code doesn't send. get Echo(0) showing at the prompt, and the code never runs, and it's not clear what happens...
code: