From 361300327fceb20a5256cc9c5e5c6096cdbcd014 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Fri, 22 Apr 2011 11:28:27 -0700 Subject: N210: TXRX_UHD now has bootloader #ifdef'ed into it. Safe firmware now embedded into FPGA bootloader. Also did some cleanup of unused source files and consolidated bootloader stuff into bootloader_utils. --- firmware/zpu/apps/hardware_testbed.c | 47 ------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 firmware/zpu/apps/hardware_testbed.c (limited to 'firmware/zpu/apps/hardware_testbed.c') diff --git a/firmware/zpu/apps/hardware_testbed.c b/firmware/zpu/apps/hardware_testbed.c deleted file mode 100644 index e68e68ff7..000000000 --- a/firmware/zpu/apps/hardware_testbed.c +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2010 Ettus Research LLC - * - */ - -#include -#include -#include -#include -#include -//#include -#include -#include -#include -#include -#include -#include - -//so this is just an evolving file used to set up and test different bits of hardware (EEPROM, clock chip, A/D, D/A, PHY) -void delay(uint32_t t) { - while(t-- != 0) asm("NOP"); -} - -int main(int argc, char *argv[]) { - - hal_disable_ints(); - hal_uart_init(); - spi_init(); - - puts("Hardware testbed. Init clocks..."); - - clocks_init(); - - //now, hopefully, we should be running at 100MHz instead of 50MHz, meaning our UART is twice as fast and we're talking at 230400. - - while(1) { - delay(500000); - puts("Eat at Joe's."); - } - - - - - - return 0; -} -- cgit v1.2.3