Commit Graph

3 Commits

Author SHA1 Message Date
Piotr Esden-Tempski
cb73d4ba3d Updated to the new locm3 changed to stdint types. 2013-06-12 19:43:10 -07:00
Alexandru Gagniuc
adddf9e418 lm4f: Update examples to the new GPIO API
We updated the GPIO API to use the AHB bus; however the AHP aperture for
GPIO ports A through J needs to be explicitly enabled at runtime. Accessing
the AHB aperture otherwise hardfaults.

To make the examples work again, we call gpio_enable_ahb_aperture() at the
start of main().

Since we're at it, we also take out the ugly register accesses in favor
of the new gpio functions.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-06-06 11:26:59 -05:00
Piotr Esden-Tempski
9d5526f773 Initial commit. 2013-04-19 17:19:32 -07:00