Search found 47 matches

by RWLTOK
Sat Apr 04, 2020 1:38 pm
Forum: ESP8266 boards
Topic: maximum recursion depth exceeded
Replies: 11
Views: 3480

Re: maximum recursion depth exceeded

I saw this recently on my pyboard v1.1 with v1.12 (threading) with no where near 19 levels. In my setup, I was running a thread in the background running a command shell. In the foreground, main thread, uasyncio was running some blinking LEDs. The command shell made a call that resulted in somewhere...
by RWLTOK
Fri Apr 03, 2020 9:42 pm
Forum: General Discussion and Questions
Topic: STM32 machine.I2C.readfrom_into does not match documentation
Replies: 4
Views: 312

Re: STM32 machine.I2C.readfrom_into does not match documentation

I know it works that way, but that is not how it is documented. The code does not handle the keyword as documented. The way it is documented is the way Circuit Python does it.
by RWLTOK
Fri Apr 03, 2020 3:57 pm
Forum: General Discussion and Questions
Topic: STM32 machine.I2C.readfrom_into does not match documentation
Replies: 4
Views: 312

STM32 machine.I2C.readfrom_into does not match documentation

I am working with an I2C device on the PYBOARDV1.1 with V1.12 installed This line of code was giving me an error self._i2c.readfrom_into(self._addr, mvarray[start:end], stop=stop) If I change the line to: self._i2c.readfrom_into(self._addr, mvarray[start:end]) #, stop=stop) All is good. I don't know...
by RWLTOK
Wed Mar 18, 2020 4:42 pm
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 1205

Re: Circular DMA support for SPI on STM32L4 family

@jimmo, I have fully implemented my proposal and tested both on the PyBoardv1.1 and the STM32L452RE_P NUCLEO board. As the code is portable across the families, it should work on most STM32 board. It works well. All the code is in my fork. I am having trouble with foreground processing of the data w...
by RWLTOK
Mon Mar 09, 2020 4:13 am
Forum: General Discussion and Questions
Topic: Date/Time management
Replies: 20
Views: 13329

Re: Date/Time management

I tried the example: import machine rtc = machine.RTC() rtc.init((2020, 3, 8, 23, 51, 0, 0, 0)) which results with: Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: function takes 1 positional arguments but 2 were given See http://docs.micropython.org/en/latest/esp82...
by RWLTOK
Wed Mar 04, 2020 4:36 am
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 1205

Re: Circular DMA support for SPI on STM32L4 family

@jimmo, I added PR proposal comments for SPI dma modes #5721 ( https://github.com/micropython/micropython/pull/5721 ) Thanks for prompting me. Rich PS: my github handle is rlourette. I should change my handle on this forum to match, but I don't know if I can do that. Thanks for the reply, jimmo. Oka...
by RWLTOK
Tue Mar 03, 2020 2:13 am
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 1205

Re: Circular DMA support for SPI on STM32L4 family

Thanks for the reply, jimmo. Okay on the machine.SPI. If you happen to have any thoughts on: I am not sure what to do with send , recv , send_recv . Should these be modified to take a parameter, which specifies whether the function returns immediately after the transfer is started? Otherwise, the de...
by RWLTOK
Mon Mar 02, 2020 3:15 am
Forum: General Discussion and Questions
Topic: uasyncio Query
Replies: 15
Views: 997

Re: uasyncio Query

How imminent is imminent? I love the module and am looking forward to the improvements. Rich ... Do you know if your changes will be pulled into the main code? They will not, because an entirely new version of uasyncio is imminent. This fixes the bugs addressed in my fork. I'm hoping it will also of...
by RWLTOK
Mon Mar 02, 2020 2:00 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 14
Views: 1089

Re: Build Secrets

Thanks jimmo, It does make sense. Rich Instead of getting a module named uasyncio, I got modules called '__init__, asyn, core, queues, and synchro'. These are the python files in the directory '../../../../../Micropython-Library-Development/lib/uasyncio' The module unittest appears fine. How do you ...
by RWLTOK
Mon Mar 02, 2020 1:22 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 14
Views: 1089

Re: Build Secrets - Frozen Manifest

Ok. What am I doing wrong? I have these two lines in my frozen manifest file: freeze('../../../../../Micropython-Library-Development/lib/uasyncio') freeze('../../../../../Micropython-Library-Development/lib/','unittest.py') Instead of getting a module named uasyncio, I got modules called '__init__, ...