mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 22:24:39 +08:00
bsps/shared: Add MCP7940M RTC driver
The MCP7940M is a I2C RTC chip. The new driver uses the dev/i2c API to support the RTC. It is written with the intention, that the driver can be adapted to other RTCs with a similar register layout by just replacing the initialization function.
This commit is contained in:
@@ -42,6 +42,7 @@ install:
|
||||
- bsps/include/libchip/ide_ctrl_cfg.h
|
||||
- bsps/include/libchip/ide_ctrl_io.h
|
||||
- bsps/include/libchip/m48t08.h
|
||||
- bsps/include/libchip/mcp7940m-rtc.h
|
||||
- bsps/include/libchip/ns16550.h
|
||||
- bsps/include/libchip/ns16550_p.h
|
||||
- bsps/include/libchip/rtc.h
|
||||
@@ -93,6 +94,7 @@ source:
|
||||
- bsps/shared/dev/rtc/m48t08_reg2.c
|
||||
- bsps/shared/dev/rtc/m48t08_reg4.c
|
||||
- bsps/shared/dev/rtc/m48t08_reg8.c
|
||||
- bsps/shared/dev/rtc/mcp7940m.c
|
||||
- bsps/shared/dev/rtc/rtcprobe.c
|
||||
- bsps/shared/dev/serial/arm-pl011.c
|
||||
- bsps/shared/dev/serial/ns16550-context.c
|
||||
|
||||
Reference in New Issue
Block a user