Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Tina Linux如何选择复用Pin的功能

    MR Series
    tina linux uart 复用
    2
    2
    1229
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • aldfaaa
      whycan矿工-小叶 LV 7 last edited by whycan

      如题, 想编个串口通信程序.
      但Tina默认只有/dev/ttyS0, /dev/ttyS1两个串口设备.
      我该如何启用更多串口呢?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @aldfaaa last edited by whycan

        @aldfaaa

        修改 ./device/config/chips/d1/configs/nezha/linux-5.4/board.dts

        把 uart2/uart3 的 status 都改成 okay,但是要注意用哪对复用引脚。

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策