FreeCalypso > hg > freecalypso-tools
changeset 37:f24b31082605
c139explore: turn on ARMIO module clock, needed to exercise the buzzer
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 26 Oct 2016 00:02:27 +0000 |
parents | 29d0965ebf86 |
children | c90b1fff224a |
files | target-utils/c139explore/main.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/c139explore/main.c Tue Oct 25 23:57:15 2016 +0000 +++ b/target-utils/c139explore/main.c Wed Oct 26 00:02:27 2016 +0000 @@ -8,6 +8,7 @@ /* GPIO init */ *(volatile u16 *)0xfffe4802 = 0x0002; *(volatile u16 *)0xfffe4804 = 0xFFF5; + *(volatile u16 *)0xfffe4806 = 0xFFF3; /* enable ARMIO clock */ /* take peripherals out of reset */ *(volatile u16 *)0xfffffd04 = 0xFFF3; abb_init();