Skip to content

Include RTC support #172

Closed
Closed

Description

@klattimer

I'd like to propose the following kernel options get added to the raspberry pi kernel configuration;

CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_DS1307=m

To enable the Dallas/Maxim DS1307 RTC - this is trivial to attach to the I2C bus.

A guide for how to wire this in can be found here; http://binerry.de/post/26685647322/raspberry-pi-and-i2c

Also, I have a kickstarter project for a raspberry-pi peripheral which includes this RTC chip; http://www.kickstarter.com/projects/582604098/hotpi

Activity

  1. popcornmix commented on Dec 11, 2012

    @popcornmix
    Collaborator

    I believe these options are all enabled. E.g.
    zcat /proc/config.gz |grep 1307
    CONFIG_RTC_DRV_DS1307=m

  2. klattimer commented on Dec 11, 2012

    @klattimer
    Author

    Can you point me to a commit? I've got a slightly old version running it would appear.

  3. popcornmix commented on Dec 11, 2012

    @popcornmix
    Collaborator

    a915a4f

    Four months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions