Skip to content

infinet/bananapi

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

PPS over GPIO patch for linux kernel 3.4

This is a patch for pps-gpio module to enable GPIO pin config during module loading.

It is based on the PPS patch for Raspberry Pi.

The patched pps-gpio module accept three parameters:

  • gpio_pin: the GPIO pin number, default to use pin 18.
  • falling_edge: rising / falling edge of PPS signal, default to 0, meaning rising edge.
  • capture_clear: PPS capture clear, default to 0.

Usage

Add a line

pps-gpio

to /etc/modules

and specify the pin number by create a new file, /etc/modprobe.d/pps-gpio.conf, with following content:

options pps-gpio gpio_pin=Your_PPS_GPIO_PIN

About

PPS over GPIO patch for linux kernel 3.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages