Search found 22 matches

by aivarannamaa
Mon Nov 04, 2019 2:03 pm
Forum: Programs, Libraries and Tools
Topic: New version of Thonny IDE
Replies: 4
Views: 272

New version of Thonny IDE

Hi everybody!

I just released a new version of Thonny IDE with several improvements related to MicroPython: https://github.com/thonny/thonny/releases/tag/v3.2.3

Usage instructions are here: https://github.com/thonny/thonny/wiki/MicroPython

Looking forward to your feedback!

Best regards
Aivar
by aivarannamaa
Thu Oct 31, 2019 8:48 am
Forum: General Discussion and Questions
Topic: Does a serial device know when it is being connected to or read from?
Replies: 4
Views: 145

Re: Does a serial device know when it is being connected to or read from?

Thank you for the reponse! A USB connected MicroPython device draws its power from the interface so when you initially make the USB connection the device starts running. The same garbage happens when I keep the cable connected and only disconnect and reconnect the software. Does this mean the device...
by aivarannamaa
Thu Oct 31, 2019 7:40 am
Forum: General Discussion and Questions
Topic: Does a serial device know when it is being connected to or read from?
Replies: 4
Views: 145

Does a serial device know when it is being connected to or read from?

I'm trying to get better understanding of serial communication. I think I understand the basics (https://learn.sparkfun.com/tutorials/serial-communication/all), but I haven't found an explanation about what happens when a program connects to a device. When I'm connecting to some MicroPython devices ...
by aivarannamaa
Wed Oct 16, 2019 10:51 am
Forum: General Discussion and Questions
Topic: Raw mode and help missing from the Unix port?
Replies: 7
Views: 281

Re: Raw mode and help missing from the Unix port?

How exactly would you use raw REPL on the unix port? Thonny actually does all communication via raw REPL, even evaluation of single expressions. To the user everything looks like regular REPL, though. Thonny's shell would run MicroPython over SSH (or as subprocess when using it in local machine) de...
by aivarannamaa
Tue Oct 15, 2019 8:43 pm
Forum: Other Boards
Topic: NUCLEO-F767ZI Mac OS connection issues
Replies: 1
Views: 188

Re: NUCLEO-F767ZI Mac OS connection issues

Similar issue was reported for my IDE (https://github.com/thonny/thonny/issues/936).

I solved it by flushing the target file after each written block. This can be useful for rshell as well.
by aivarannamaa
Mon Oct 14, 2019 4:25 am
Forum: General Discussion and Questions
Topic: Raw mode and help missing from the Unix port?
Replies: 7
Views: 281

Re: Raw mode and help missing from the Unix port?

Thank you for comprehensive answer! Should I create GitHub issues for help and raw REPL? For the background -- I'm interested in these topics because of MicroPython for EV3 . They seem to be using Unix variant of MicroPython in a Linux and I'm considering adding support for it in my IDE . Current Mi...
by aivarannamaa
Thu Oct 10, 2019 7:58 pm
Forum: General Discussion and Questions
Topic: Raw mode and help missing from the Unix port?
Replies: 7
Views: 281

Raw mode and help missing from the Unix port?

I installed Unix port from Snapcraft (https://snapcraft.io/micropython). It looks like it is built by just invoking `make` in official source tarball (https://github.com/hjiawei/micropython-snap/blob/master/snap/snapcraft.yaml#L23) Its REPL does not advertise raw mode and Ctrl+A / Ctrl+B seem to be ...
by aivarannamaa
Tue Oct 01, 2019 11:23 am
Forum: micro:bit boards
Topic: Programming micro:bit with Thonny IDE
Replies: 4
Views: 1477

Re: Programming micro:bit with Thonny IDE

Since Thonny 3.2 micro:bit plug-in is included in the main Thonny package.
by aivarannamaa
Tue Jul 30, 2019 3:29 pm
Forum: MicroPython pyboard
Topic: How to get the volume name of mounted device from MP code?
Replies: 4
Views: 231

Re: How to get the volume name of mounted device from MP code?

MSC syncing causes so many problems. Is it also the case when I complement each modification with fsync ? I read that in CircuitPython this is supposed to solve (most?) problems: * https://learn.adafruit.com/welcome-to-circuitpython/creating-and-editing-code#1-use-an-editor-that-writes-out-the-file...
by aivarannamaa
Tue Jul 30, 2019 1:41 pm
Forum: MicroPython pyboard
Topic: How to get the volume name of mounted device from MP code?
Replies: 4
Views: 231

Re: How to get the volume name of mounted device from MP code?

Thank you for the reply! > Can you clarify what you mean by "as this part of the file tree is not writable for MP code"? I remember that last time when I tried to write under /flash, I got an exception about something being read-only. As I knew that CircuitPython keeps the filesystem read-only for C...