Skip to content

Commit

Permalink
Added [dm-api] note
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Ellis committed Sep 27, 2011
1 parent 075c9dd commit 8dbd090
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ testing with Beagleboards.

The driver has two modes.

Duty-cycle (default) - generates PWM signals with outputs in the range 0-100 duty cycle.
Duty-cycle mode (default) - generates PWM signals with outputs in the range 0-100 duty cycle.

Servo mode - runs at 50 Hz, generating pulses from 1-2 ms in duration
Servo mode - runs at 50 Hz, generating pulses from 1-2 ms in duration by default


Build
-------

There is a ${MACHINE}-source-me.txt file that will set up your environment for
the cross-compilation. It assumes you are using an OE environment.
Adjust for the build system you are using.
Expand All @@ -39,6 +42,16 @@ Follow these steps to build.
$ cd omap3-pwm


NOTE: There is a [dm-api] branch that replaces the bit-banging ioremap
control of the timers to using the omap_dm_timer API. I only tested
on 2.6.39, but it compiles fine on 2.6.34 and 2.6.36. This will get merged
into the master branch when I get around to testing an earlier kernel.
Feel free to let me know if it works. Checkout the branch like this

$ git checkout -b dm-api origin/dm-api



If you have your OE temp directory in a non-standard location, then export an
OETMP variable with the path before sourcing the overo-source-me.txt file.

Expand Down

0 comments on commit 8dbd090

Please sign in to comment.