RadxaYuntian / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
0 stars 0 forks source link

platform: add Radxa ROCK 3C platform support #2

Closed nascs closed 10 months ago

nascs commented 1 year ago

Signed-off-by: nascs nascs@radxa.com

nascs commented 10 months ago

上面第一条 commit 写错了(后面 pr 没问题了, 我会 squash 多余 commit 消息) 第二条之前说删除来着,然后我测了一下,还是要写上去的,不然执行 sudo mraa-uart list 会报错

[sudo] password for radxa:

  1. ---- error reading uart information ----
  2. ---- error reading uart information ----
  3. ---- error reading uart information ----
  4. ---- error reading uart information ----
  5. ---- error reading uart information ----
nascs commented 10 months ago

正常打开了 所有 uart overlay 之后应该是这样的

radxa@rock-3c:~/bak/bak/mraa/build$ sudo mraa-uart list

  1. /dev/ttyS2 9600 8N1 (none) XONXOFF
  2. /dev/ttyS3 9600 8N1 (none) XONXOFF
  3. /dev/ttyS4 9600 8N1 (none) XONXOFF
  4. /dev/ttyS5 9600 8N1 (none) XONXOFF
  5. /dev/ttyS9 9600 8N1 (none) XONXOFF
RadxaYuntian commented 10 months ago

commit合并后可以给上游提了