Search found 1837 matches

by jimmo
Sun Sep 20, 2020 4:36 am
Forum: General Discussion and Questions
Topic: [STM32 H7 dual processor series]
Replies: 3
Views: 111

Re: [STM32 H7 dual processor series]

As a first step (to initially make things easier) I thought of trying to do this thing: using a tool (I currently use the IDE of www.openstm32.org and I don't know if it can be done or how it can be done ) I don't think this will help very much if your goal is to do this from MicroPython -- you're ...
by jimmo
Sat Sep 19, 2020 4:20 am
Forum: MicroPython pyboard
Topic: Potential Bug
Replies: 4
Views: 94

Re: Potential Bug

I tried it on both V1.1 and V1.3. Hi, v1.1 and v1.3 are both very old versions. Could you please confirm exactly which versions you're using? Like dhylands' example, when you hit Ctrl-D normally it will print out the exact version string before the REPL starts. (Or hit Ctrl-B to just show the banne...
by jimmo
Sat Sep 19, 2020 3:42 am
Forum: Development of MicroPython
Topic: Native C module: accessing objects. [SOLVED]
Replies: 27
Views: 720

Re: Native C module: accessing objects. [SOLVED]

While this works well, before advocating it do you think a native module is optimal? I'm pretty happy with this approach _in general_ and would probably advocate for it. However, for this specific case, nah you're absolutely right this should be built-in. As I was playing with implementing this, I ...
by jimmo
Fri Sep 18, 2020 12:09 am
Forum: General Discussion and Questions
Topic: [STM32 H7 dual processor series]
Replies: 3
Views: 111

Re: [STM32 H7 dual processor series]

can I run Micropyton on one processor and my program (a controller developed in Simulink) on the other. How can I do ? Is there any documentation about it? Thanks to those who want to answer me. Yes, this should be possible.... but unfortunately no current documentation. It would be great to see th...
by jimmo
Thu Sep 17, 2020 11:51 pm
Forum: Other Boards
Topic: How to add modules like ujson, upip and etc?
Replies: 4
Views: 110

Re: How to add modules like ujson, upip and etc?

houneie wrote:
Thu Sep 17, 2020 8:22 am
Do I have to add modujson.c myself?
Yeah, look at how (for example) the stm32 port pulls in extmod. (PY_O in your makefile should include the extmod files, via py.mk)
by jimmo
Thu Sep 17, 2020 7:28 am
Forum: Other Boards
Topic: How to add modules like ujson, upip and etc?
Replies: 4
Views: 110

Re: How to add modules like ujson, upip and etc?

So basically I am an Intern in a company and they have ported basic support on Micropython to a board which they are developing right now. But they don't have modules like ujson, upip, urequest. Modules get added to the firmware in different ways depending on whether they're written in C or Python....
by jimmo
Wed Sep 16, 2020 1:53 pm
Forum: Pyboard D-series
Topic: PYBD OSError: [Errno 22] EINVAL
Replies: 2
Views: 81

Re: PYBD OSError: [Errno 22] EINVAL

Would anyone know if the problem is the code or a board limitation? Hi, What you're doing should definitely be possible. Is it possible to share your code (or at least some relevant snippets) to help understand a bit more what might be going wrong? How does the webserver work? Are you using one of ...
by jimmo
Wed Sep 16, 2020 2:17 am
Forum: Development of MicroPython
Topic: Native C module: accessing objects. [SOLVED]
Replies: 27
Views: 720

Re: Native C module: accessing objects. [SOLVED]

jimmo wrote: ↑Tue Sep 15, 2020 3:32 pm ... (I'm not sure I'm actually endorsing this idea, but it does seem to work. I'd love to see an officially supported mechanism for this... but I have no idea how that would work!) This works extremely well and speeds up rendering by a factor of 5-10 (proporti...
by jimmo
Tue Sep 15, 2020 11:24 pm
Forum: General Discussion and Questions
Topic: Some questions about micropython speed
Replies: 9
Views: 330

Re: Some questions about micropython speed

Unfortunately ulab has no support for matmul (As far as I know), Oh! Yeah that's going to be a problem! That seems like a really useful feature to add to ulab -- perhaps raise an issue at https://github.com/v923z/micropython-ulab/issues (This is why we added the INPLACE_MAT_MULTIPLY and MAT_MULTIPL...