Running Espruino on Win10 WSL? #7256
Replies: 1 comment
-
Posted at 2018-10-24 by @gfwilliams So you compiled this to run natively on WSL? Basically just running It definitely should work - pretty sure I've done it before. Any chance you could run:
That should tell us exactly which bit of code tried to access a file with a name that was too long. Posted at 2018-10-24 by ryan42 Hi Gordon, Thanks for that. See below. I had to run
Cheers Posted at 2018-10-25 by @gfwilliams Ahh, ok - can you try it again, but with Posted at 2018-10-25 by jbgagnon I don't know if it is the same problem, or this could help
it look's similar no ? Posted at 2018-10-25 by jbgagnon well after modifying
at boot I have :
and after reset() I have :
so the problem is of '\0' not well placed Posted at 2018-10-25 by jbgagnon
filename 6 no place for '\0' it's a bug ? Posted at 2018-10-25 by jbgagnon changing 6 by 7
no more problem everything is ok know @ryan42 can you do the same change ? (One good point for this stupid windows : it detects some bugs ...) Posted at 2018-10-25 by @gfwilliams Thanks! I just added that change to GitHub so if you pull now it should work. That's really handy - I guess on most platforms it aligns the stack to the nearest 4 bytes, so it never got noticed. Posted at 2018-10-25 by ryan42 Hi jbgagnon, Yes that did it! Thanks for that. @gfwilliams I do have that backtrace if you’d like it but I guess it’s all good? Now for a 14 hour flight back to Australia, at least I can keep myself entertained. Cheers! Posted at 2018-10-26 by @gfwilliams
It would have been helpful, but @jbgagnon beat us to it and fixed the problem - so we're fine now :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-10-24 by ryan42
Hi,
I was wondering if anyone has tried to compile Espruino on Windows Subsystem for Linux?
I have a few long flights from Europe back to Australia and I thought it would be great to be able to continue testing some things I'm working on for my Picos but on Windows 10? I should have bought a Pico with me and then I could just use that but only thought about this project while I have been away.
So far I have got Debian installed with WSL. I have installed all the required build tools, cloned from git and then make. Everything looks ok. Then I try run Espruino and I get the following...
I had a look at jsflash.c but I'll admit its a bit over my head.
Anybody else tried this? Is it even possible?
Cheers
Ryan
Beta Was this translation helpful? Give feedback.
All reactions