diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-07-24 16:03:09 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-08-01 09:24:33 +0200 |
commit | 38dd86355df4439d03c5a8a2e84d5cf6650679e4 (patch) | |
tree | d22b12357787d3350419299500a979ec14ee0b5a /spec | |
parent | bsps/stm32h7: add modification notice required by Apache License 2.0 (diff) | |
download | rtems-38dd86355df4439d03c5a8a2e84d5cf6650679e4.tar.bz2 |
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.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/bsps/obj.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/build/bsps/obj.yml b/spec/build/bsps/obj.yml index 8da4869583..6f76e9bb7c 100644 --- a/spec/build/bsps/obj.yml +++ b/spec/build/bsps/obj.yml @@ -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 |