Can someone please tell me if uart.init() method is supported in the Zephyr port of MicroPython or is there any other alternative that I can use?
On trying to do uart.init() I get an error as follows:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'UART' object has no attribute 'init'
Thank you!!
uart.init() method for the Zephyr port of MicroPython
Re: uart.init() method for the Zephyr port of MicroPython
No this isn't currently supported in the Zephyr port, but it should be straightforward to add if you're interested in contributing.
Re: uart.init() method for the Zephyr port of MicroPython
Thanks mhelm,
I would love to.Although it is not so generic, but is there a place I can take references from or any document I can follow.
Do I just have to make changes to the machine_uart.c file?
I would love to.Although it is not so generic, but is there a place I can take references from or any document I can follow.
Do I just have to make changes to the machine_uart.c file?