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/usrp2p/bootloader/icap_test.c | 31 ------------------------------ 1 file changed, 31 deletions(-) delete mode 100644 firmware/zpu/usrp2p/bootloader/icap_test.c (limited to 'firmware/zpu/usrp2p/bootloader/icap_test.c') diff --git a/firmware/zpu/usrp2p/bootloader/icap_test.c b/firmware/zpu/usrp2p/bootloader/icap_test.c deleted file mode 100644 index 5feb9d014..000000000 --- a/firmware/zpu/usrp2p/bootloader/icap_test.c +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2010 Ettus Research LLC - * - */ - -#include -#include -#include -#include - -void delay(uint32_t t) { - while(t-- != 0) asm("NOP"); -} - - -int main(int argc, char *argv[]) { - pic_init(); - hal_uart_init(); - puts("\nStarting delay...\n"); - - output_regs->leds = 0xFF; - delay(4000000); - output_regs->leds = 0x00; - delay(4000000); - - puts("Rebooting FPGA to 0x00000000\n"); - icap_reload_fpga((uint32_t)0x00000000); - - return 0; -} -- cgit v1.2.3