Dear all,

I have two LIN transceivers on my board with a dedicated sleep pin. I want
to use the sleep functionality in my app.

I tried the following:
1. have sam_serial.c be aware of a *board_init() and a *board_disable(bool
disable) for every uartX
2. call *bard_init() in setup
3. make *board_disable(bool disable) available via ioctl
4. have board implementation of  *bard_init() and *board_disable(bool
disable) for every used uartX

https://github.com/SimonFilgis/incubator-nuttx/commit/0cdc16192970b14397a02e886c9187a55ca77604

What do you think? Does anybody have a better idea, or is there maybe
already a solution?

Regards,

Simon

** untested in HW as I'm in home office - will be tested tomorrow

Reply via email to