From d3a753f7d747b007f464a831d6b2b21e87991e46 Mon Sep 17 00:00:00 2001 From: Clifford Wolf <clifford@clifford.at> Date: Tue, 6 Feb 2018 14:57:28 +0100 Subject: Add icebreaker example project --- examples/icebreaker/icebreaker.pcf | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 examples/icebreaker/icebreaker.pcf (limited to 'examples/icebreaker/icebreaker.pcf') diff --git a/examples/icebreaker/icebreaker.pcf b/examples/icebreaker/icebreaker.pcf new file mode 100644 index 0000000..8780f6d --- /dev/null +++ b/examples/icebreaker/icebreaker.pcf @@ -0,0 +1,64 @@ +# 12 MHz clock +set_io -nowarn CLK 35 + +# RS232 +set_io -nowarn RX 6 +set_io -nowarn TX 9 + +# LEDs and Button +set_io -nowarn BTN_N 10 +set_io -nowarn LEDR_N 11 +set_io -nowarn LEDG_N 37 + +# RGB LED Driver +set_io -nowarn LED_RED_N 39 +set_io -nowarn LED_GRN_N 40 +set_io -nowarn LED_BLU_N 41 + +# SPI Flash +set_io -nowarn FLASH_SCK 15 +set_io -nowarn FLASH_SSB 16 +set_io -nowarn FLASH_IO0 14 +set_io -nowarn FLASH_IO1 17 +set_io -nowarn FLASH_IO2 12 +set_io -nowarn FLASH_IO3 13 + +# PMOD 1A +set_io -nowarn P1A1 4 +set_io -nowarn P1A2 2 +set_io -nowarn P1A3 47 +set_io -nowarn P1A4 45 +set_io -nowarn P1A7 3 +set_io -nowarn P1A8 48 +set_io -nowarn P1A9 46 +set_io -nowarn P1A10 44 + +# PMOD 1B +set_io -nowarn P1B1 43 +set_io -nowarn P1B2 38 +set_io -nowarn P1B3 34 +set_io -nowarn P1B4 31 +set_io -nowarn P1B7 42 +set_io -nowarn P1B8 36 +set_io -nowarn P1B9 32 +set_io -nowarn P1B10 28 + +# PMOD 2 +set_io -nowarn P2_1 27 +set_io -nowarn P2_2 25 +set_io -nowarn P2_3 21 +set_io -nowarn P2_4 19 +set_io -nowarn P2_7 26 +set_io -nowarn P2_8 23 +set_io -nowarn P2_9 20 +set_io -nowarn P2_10 18 + +# LEDs and Buttons (PMOD 2) +set_io -nowarn LED1 27 +set_io -nowarn LED2 25 +set_io -nowarn LED3 21 +set_io -nowarn BTN2 19 +set_io -nowarn LED5 26 +set_io -nowarn LED4 23 +set_io -nowarn BTN1 20 +set_io -nowarn BTN3 18 -- cgit v1.2.3