From 90fa4f3eca580f497dd24e9b3afd818d3b1f7054 Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 14 Jul 2007 17:24:45 +0000 Subject: [PATCH] initial checkin (for git testing) --- betty/betty.c | 14 ++++++++++++++ betty/fwbc.c | 28 ++++++++++++++++++++++++++++ betty/fwdump.c | 8 ++++++++ 3 files changed, 50 insertions(+) create mode 100644 betty/betty.c create mode 100644 betty/fwbc.c create mode 100644 betty/fwdump.c diff --git a/betty/betty.c b/betty/betty.c new file mode 100644 index 0000000..f2ce2e5 --- /dev/null +++ b/betty/betty.c @@ -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 index 0000000..6a8f187 --- /dev/null +++ b/betty/fwbc.c @@ -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 index 0000000..6bb250a --- /dev/null +++ b/betty/fwdump.c @@ -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 + * + */ + -- 2.39.2