1
0
mirror of https://github.com/olofk/serv.git synced 2026-03-08 03:19:18 +00:00

Add iCESugar-nano board

Follow the 6 steps to add support for a new target.

Step 1: Locate input and output pins.

Step 2: Add pin constraint file. This covers clock input, LED and UART
        output.

Step 3: Create a clock generator. The chip has no internal clock
        generator so the external 12 MHz clock is used.

Step 4: Add top level servant_ice40_cm36 which connects the one-wire
        output of servant to the LED pin.

Step 5: Add fileset including the new top level and pin constraints.

Step 6: Add target icesugar-nano.
This commit is contained in:
Palle Ravn
2025-02-28 19:07:59 +01:00
committed by Olof Kindgren
parent 64e475c40c
commit f5ddfaa637
4 changed files with 79 additions and 0 deletions

9
data/icesugar_nano.pcf Normal file
View File

@@ -0,0 +1,9 @@
# 12 MHz external clock
set_io i_clk D1
# LED
set_io o_led B6
# UART
set_io i_uart_rx A3
set_io o_uart_tx B3