Search found 7 matches

by garya@arcimoto.com
Thu Dec 31, 2020 11:04 pm
Forum: Programs, Libraries and Tools
Topic: Higher level UART library that my ARM code can link to?
Replies: 1
Views: 214

Higher level UART library that my ARM code can link to?

Hi, I have a micropython project and am hooking up a module to a uart on a STM32F MCU. I have an existing C library that uses a COM port to communicate with a module. I'd really like to reuse that library on my micropython project. I've looked through the lower level "drivers" such as uart.c and mac...
by garya@arcimoto.com
Wed Dec 30, 2020 8:02 pm
Forum: Development of MicroPython
Topic: Reusing uart.c functions for a serial device
Replies: 3
Views: 1480

Re: Reusing uart.c functions for a serial device

Hi, Has anyone done this before? I'm wanting to access a serial device connected to my MCU and would like to reuse the C source code library I have that communicates over a UART interface. Here is my high-level design micropython <-> micropy_interface <-> existing C library <-> C-based uart interfac...
by garya@arcimoto.com
Fri Dec 18, 2020 12:52 am
Forum: Development of MicroPython
Topic: Error while I try to make UNix port
Replies: 5
Views: 873

Re: Error while I try to make UNix port

Hi, I have this same issue and I followed the recipe that was presented and I still get the following: CC ../../extmod/modussl_axtls.c In file included from ../../lib/axtls/ssl/tls1.h:46, from ../../lib/axtls/ssl/ssl.h:75, from ../../extmod/modussl_axtls.c:35: ../../lib/axtls/ssl/os_port.h:1:20: err...
by garya@arcimoto.com
Fri Dec 18, 2020 12:15 am
Forum: Programs, Libraries and Tools
Topic: uasyncio for unix port
Replies: 8
Views: 1171

Re: uasyncio for unix port

Hi,

Where is " into the module directory of the unix port?"
Will that give me a clue as to where I should put the uasyncio code to be included in a build for a STM32 device?

Thanks much!
by garya@arcimoto.com
Thu Dec 17, 2020 10:44 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio for unix port
Replies: 8
Views: 1171

Re: uasyncio for unix port

Hi,
Thanks!
It is now there but I don't know how - was it from "import upip", import upip, upip.install('micropython-uasyncio')?

Now how do I get uasyncio to be in the build? I want to add it to STM32 build and any subsequent builds of micropython.

Thanks very much!
by garya@arcimoto.com
Thu Dec 17, 2020 9:39 pm
Forum: Development of MicroPython
Topic: Error while I try to make UNix port
Replies: 5
Views: 873

Re: Error while I try to make UNix port

HI,
I'm having the same issue and the solution posted did not solve it.
Any other ideas are truly welcome and greatly appreciated.
Thank you in advance for your assistance.
by garya@arcimoto.com
Thu Dec 17, 2020 8:14 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio for unix port
Replies: 8
Views: 1171

Re: uasyncio for unix port

where is this "unix/modules" location you are referring to?