fw/icE1usb: Import firmware for the icE1usb and icE1usb-proto boards

Currently only the icE1usb-proto is supported. Adaptation for the
final production hardware is yet to be done.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
diff --git a/firmware/ice40-riscv/icE1usb/e1.h b/firmware/ice40-riscv/icE1usb/e1.h
new file mode 100644
index 0000000..e68514f
--- /dev/null
+++ b/firmware/ice40-riscv/icE1usb/e1.h
@@ -0,0 +1,15 @@
+/*
+ * e1.h
+ *
+ * Copyright (C) 2019-2020  Sylvain Munaut <tnt@246tNt.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#pragma once
+
+void e1_init(bool clk_mode);
+void e1_poll(void);
+void e1_debug_print(bool data);
+
+volatile uint8_t *e1_data_ptr(int mf, int frame, int ts);
+unsigned int e1_data_ofs(int mf, int frame, int ts);