make menuconifg中的[*] Enable I2C support 介绍
时间: 2024-05-31 09:12:24 浏览: 10
[*] Enable I2C support 是 Linux 内核配置选项中的一项,它允许启用 I2C 总线支持。I2C(Inter-Integrated Circuit)是一种串行总线,它允许多个设备在同一总线上进行通信。I2C 总线是用于连接微控制器和各种外围设备的常见总线之一,如温度传感器、压力传感器、加速度计、数字转换器等。
启用 I2C 后,系统可以通过 I2C 总线和连接到该总线的设备进行通信。在 Linux 中,有许多 I2C 设备的驱动程序可以在内核中编译和加载。因此,启用 I2C 支持是构建 Linux 系统的重要组成部分之一。
相关问题
Notice: 1. If the module parameter "mem_process_isolation" of the MMZ is set to "1", the process isolation attribute of the MMZ buffer is enabled. When you run the sample and then run the tools, tools may fail to run due to process isolation problems. In consideration of this, the "share all" operation is reserved in the sample, you can set "MEM_SHARE" to "y" during compilation to enable this function, such as "make MEM_SHARE=y". 2 sample_vio 7 depend i2c4 && i2c5, EMMC 8it not support use i2c5, the circuit configuration needs to be modified and i2c5 pin_mux needs to be enabled. 3 i2c5 pin_mux cfg: bspmm 0x0EFF0028 0x1752; bspmm 0x0EFF0024 0x1752; 4 HI3516DV500 not support mipi_rx(4lane + 4lane), the following samples will fail to run due to mipi_rx default configuration: os04a10(4lane) + os04a10(4lane). sample_vio 7 sample_stitch 0~3 sample_aiisp 10 sample_mcf 2~5什么意思
这段提示的意思大概是:
1. 如果MMZ的模块参数"mem_process_isolation"设置为"1",则启用MMZ缓冲区的进程隔离属性。当您运行示例程序然后运行工具时,由于进程隔离问题,工具可能无法运行。为此,在示例程序中保留了“共享所有”操作,您可以在编译时将"MEM_SHARE"设置为"y"以启用此功能,例如"make MEM_SHARE=y"。
2. sample_vio 7依赖i2c4和i2c5,但EMMC 8it不支持使用i2c5,需要修改电路配置并启用i2c5 pin_mux。
3. i2c5 pin_mux配置为:
bspmm 0x0EFF0028 0x1752;
bspmm 0x0EFF0024 0x1752;
4. HI3516DV500不支持mipi_rx(4lane + 4lane),以下示例程序将因mipi_rx默认配置而无法运行:os04a10(4lane) + os04a10(4lane)。
- sample_vio 7
- sample_stitch 0~3
- sample_aiisp 10
- sample_mcf 2~5
大致意思是,在运行示例程序和工具时,需要注意一些配置和限制,否则可能会出现运行失败的情况。例如,需要启用"MEM_SHARE"来解决进程隔离问题,需要修改电路配置和启用i2c5 pin_mux来解决i2c5的问题,需要注意HI3516DV500不支持mipi_rx(4lane + 4lane)等。
![libplctag CI](https://github.com/libplctag/libplctag/workflows/libplctag%20CI/badge.svg?branch=release) **libplctag** is an open source C library for Linux, Windows and macOS using **EtherNet/IP** or **Modbus TCP** to read and write tags in PLCs. The library has been in production since early 2012 and is used by multiple organizations for many tasks including controlling radio telescopes, large and precision manufacturing, controlling fitness equipment, food handling and many, many more. Current Stable Version: 2.5 Old Stable Version: 2.4 ## WARNING - DISCLAIMER Note: **PLCs control many kinds of equipment and loss of property, production or even life can happen if mistakes in programming or access are made. Always use caution when accessing or programming PLCs!** We make no claims or warrants about the suitability of this code for any purpose. Be careful! ## Get It Do you know what you want already? Download it from the [releases page](https://github.com/libplctag/libplctag/releases)! ## Features ### High Level Features - EtherNet/IP and Modbus TCP support. - Open source licensing under the MPL 2.0 or LGPL 2+. - Pure C library for portability across Linux, Windows and macOS as well as 32-bit and 64-bit. - Support for x86, ARM and MIPS, and probably others. - Very stable API with almost no changes other than feature additions since 2012. - Low memory use and very high performance and capacity. Uses protocol-specific features to increase performance. - Simple API with minimal use of language-specific data to enable easy wrapping in other languages. - Extensive example programs showing use of all library features. - Wrappers for higher level languages like C#/.Net, Julia etc. - Free! ### Detailed Features
libplctag是一个开源的C库,用于在Linux、Windows和macOS上使用EtherNet/IP或Modbus TCP读写PLC中的标签。该库自2012年初以来一直在生产中,并被多个组织用于控制射电望远镜、大型精密制造、健身设备控制、食品处理等众多任务。
当前稳定版本:2.5
旧稳定版本:2.4
## 警告 - 免责声明
注意:PLC控制着许多类型的设备,如果在编程或访问中出现错误,可能会导致财产损失、生产损失甚至生命危险。在访问或编程PLC时务必小心谨慎!
我们对这段代码的适用性不作任何声明或保证。
请谨慎操作!
## 获取
您已经知道您需要什么吗?从[发布页面](https://github.com/libplctag/libplctag/releases)下载吧!
## 特点
### 高级特点
- 支持EtherNet/IP和Modbus TCP。
- 使用MPL 2.0或LGPL 2+开源许可证。
- 纯C库,可在Linux、Windows和macOS以及32位和64位上进行移植。
- 支持x86、ARM和MIPS,可能还支持其他架构。
- 非常稳定的API,自2012年以来几乎没有进行除了功能添加之外的更改。
- 低内存使用,非常高的性能和容量。使用协议特定的功能来提高性能。
- 简单的API,最小化使用特定语言的数据,以便轻松包装到其他语言中。
- 大量示例程序展示所有库功能的使用。
- 针对C#/.Net、Julia等高级语言的包装器。
- 免费!
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![exe](https://img-home.csdnimg.cn/images/20210720083343.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![text/plain](https://img-home.csdnimg.cn/images/20210720083646.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)