diff options
Diffstat (limited to 'firmware/microblaze/apps/blinkenlights.c')
-rw-r--r-- | firmware/microblaze/apps/blinkenlights.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/firmware/microblaze/apps/blinkenlights.c b/firmware/microblaze/apps/blinkenlights.c deleted file mode 100644 index 4cebe5c9d..000000000 --- a/firmware/microblaze/apps/blinkenlights.c +++ /dev/null @@ -1,26 +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; - - while(1) { - //delay(5000000); - for(c=0;c<5000000;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"); -//} |