diff options
author | Nick Foster <nick@nerdnetworks.org> | 2011-04-22 11:28:27 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2011-04-22 11:28:27 -0700 |
commit | 361300327fceb20a5256cc9c5e5c6096cdbcd014 (patch) | |
tree | d740ba064a1e42b2057484bcc325e9c045cc1fa3 /firmware/zpu/apps/blinkenlights.c | |
parent | 3dd74062fc6cfad68a62faac6669bada96f3aecf (diff) | |
download | uhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.tar.gz uhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.tar.bz2 uhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.zip |
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.
Diffstat (limited to 'firmware/zpu/apps/blinkenlights.c')
-rw-r--r-- | firmware/zpu/apps/blinkenlights.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/firmware/zpu/apps/blinkenlights.c b/firmware/zpu/apps/blinkenlights.c deleted file mode 100644 index 30cb33a7f..000000000 --- a/firmware/zpu/apps/blinkenlights.c +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2010 Ettus Research LLC - * - */ - -#include "memory_map.h" -#include <nonstdio.h> - -int main(int argc, char *argv[]) { - - uint32_t c = 0; - uint8_t i = 0; - - output_regs->led_src = 0; - - while(1) { - //delay(5000000); - for(c=0;c<50000;c++) asm("NOP"); - output_regs->leds = (i++ % 2) ? 0xFF : 0x00; //blink everything on that register - } - - return 0; -} - -//void delay(uint32_t t) { -// while(t-- != 0) asm("NOP"); -//} |