]> hackdaworld.org Git - my-code/arm.git/commitdiff
initial checkin (for git testing) origin
authorhackbard <hackbard>
Sat, 14 Jul 2007 17:24:45 +0000 (17:24 +0000)
committerhackbard <hackbard>
Sat, 14 Jul 2007 17:24:45 +0000 (17:24 +0000)
betty/betty.c [new file with mode: 0644]
betty/fwbc.c [new file with mode: 0644]
betty/fwdump.c [new file with mode: 0644]

diff --git a/betty/betty.c b/betty/betty.c
new file mode 100644 (file)
index 0000000..f2ce2e5
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * betty.c - alternative firmware for the betty tv ;)
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+int main() {
+
+
+
+       return 0;
+}
+
diff --git a/betty/fwbc.c b/betty/fwbc.c
new file mode 100644 (file)
index 0000000..6a8f187
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * fwbc.c - broadcast the betty tv original firmware via uart0
+ *          use fwdump to write it onto your computers harddisk
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+void uart0_init(void) {
+
+       PINSEL0|=((1<<0)|(1<<2));       /* pin select: tx, rx */
+
+}
+
+void arm_init(void) {
+
+       /* pin selection */
+       uart0_init();
+
+}
+
+void main(void) {
+
+       /* initialization */
+       arm_init();
+
+}
+
diff --git a/betty/fwdump.c b/betty/fwdump.c
new file mode 100644 (file)
index 0000000..6bb250a
--- /dev/null
@@ -0,0 +1,8 @@
+/*
+ * fwdump.c - dump the firmware received by uart to your computers harddisk
+ *            use fwbc as a transmitting firmware
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+