Linux Command Line on Windows

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
User avatar
dhylands
Posts: 3455
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Linux Command Line on Windows

Post by dhylands » Thu Jul 07, 2016 5:02 pm

You can't yet flash a pyboard. There were also some finagling to get the command line working with BitDefender's firewall.

I guess I need a RPi flasher (or something) that can sit on the network :)

PinkInk
Posts: 61
Joined: Tue Mar 11, 2014 3:42 pm

Re: Linux Command Line on Windows

Post by PinkInk » Sat Jul 09, 2016 6:08 pm

Does usocket work on micropython unix build, running under Win 10?

User avatar
dhylands
Posts: 3455
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Linux Command Line on Windows

Post by dhylands » Sat Jul 09, 2016 6:26 pm

I would expect so (I've not really used usocket anywhere so I don't have any code to test it with).

ping (which uses ICMP) requires bash to run as Administrator.

The regular networking stuff worked fine once I turned off he BitDefender firewall (and I got some instructions from BitDefender on how to get thngs working - I just need to test). I was able to sudo apt-get install stuff, which means that regular socket stuff is working.

PinkInk
Posts: 61
Joined: Tue Mar 11, 2014 3:42 pm

Re: Linux Command Line on Windows

Post by PinkInk » Sun Jul 10, 2016 1:11 am

Excellent, I'll try to get the command line installed myself and test. Thanks.

PinkInk
Posts: 61
Joined: Tue Mar 11, 2014 3:42 pm

Re: Linux Command Line on Windows

Post by PinkInk » Wed Aug 03, 2016 2:27 pm

Had to wait for general availability of the anniversary update, but about 15 minutes of git cloning and resolving dependencies later ... unix micropython runs on windows, and usocket works perfectly.

"Fantastic" for those of us who for whatever reason are stuck on windows, much less hassle than a VM.

Post Reply