From: hackbard Date: Sat, 14 Jul 2007 17:24:45 +0000 (+0000) Subject: initial checkin (for git testing) X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Forigin;p=my-code%2Farm.git initial checkin (for git testing) --- 90fa4f3eca580f497dd24e9b3afd818d3b1f7054 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 + * + */ +