Higher level UART library that my ARM code can link to?
Posted: Thu Dec 31, 2020 11:04 pm
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 machine_uart.c as templates however whenever I attempt to compile and link them with my library I get way too many errors mostly from include and paths.
Is there a higher level abstracted uart.c module that can directly communicate with the STM32 MCU within the micropython build environment that I can link/use?
My interface from my library will have a micropython interface so I believe I have that covered.
Any help or pointers would be greatly appreciated.
Thanks in advance for any and all assistance.
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 machine_uart.c as templates however whenever I attempt to compile and link them with my library I get way too many errors mostly from include and paths.
Is there a higher level abstracted uart.c module that can directly communicate with the STM32 MCU within the micropython build environment that I can link/use?
My interface from my library will have a micropython interface so I believe I have that covered.
Any help or pointers would be greatly appreciated.
Thanks in advance for any and all assistance.