FreeCalypso > hg > freecalypso-sw
view target-utils/c139explore/main.c @ 1006:6e1fcffd3266
gsm-fw/riviera/rvt channel addition: missed the bit in rvt_task.c
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 20 Mar 2016 18:58:07 +0000 |
parents | d92e4aadeeb3 |
children |
line wrap: on
line source
#include "types.h" main() { /* delay kludge workaround for defect in fc-compalram */ osmo_delay_ms(30); printf("C139 hardware exploration utility running\n"); /* GPIO init */ *(volatile u16 *)0xfffe4802 = 0x0002; *(volatile u16 *)0xfffe4804 = 0xFFF5; /* take peripherals out of reset */ *(volatile u16 *)0xfffffd04 = 0xFFF3; abb_init(); uwire_init(); for (;;) { putchar('='); if (command_entry()) command_dispatch(); } }