FreeCalypso > hg > freecalypso-sw
view target-utils/helloapp/main.c @ 490:06ab60fec942
gsm-fw/gpf/tst_pei/tst_pei.c: use FFS_O_RDONLY when reading tracemask file
gsm-fw/finlink/Makefile: proper dependency logic for GPF libraries
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 30 Jun 2014 05:04:35 +0000 |
parents | be293e656a6f |
children | a7b0b426f9ca |
line wrap: on
line source
#include "types.h" #include "romvars.h" extern struct boot_rom_vars rom_vars; extern char *uart_name; main() { uart_select_init(); printf("Hello-world demo app running\n"); printf("Loaded via UART %d (%s) at baud rate #%d\n", rom_vars.uart_id, uart_name, rom_vars.baud_rate_code); printf("TCXO clock input autodetected to be %d MHz\n", rom_vars.clktcxo_13mhz ? 13 : 26); for (;;) { putchar('='); if (command_entry()) command_dispatch(); } }