Gavan Fantom
|
6a700d0dbe
|
No point in calling event_dispatch() from the menu any more.
|
13 years ago |
Gavan Fantom
|
65b11ff92e
|
Use the timer to kick off WMP readings regularly.
|
13 years ago |
Gavan Fantom
|
fda1b2a672
|
Use events to invoke menu handling on UART receive. We now have a basic
main dispatch loop.
|
13 years ago |
Gavan Fantom
|
0562093ebb
|
Don't call event handlers for events which haven't been registered.
|
13 years ago |
Gavan Fantom
|
fa84a1b8bb
|
Change API for getch to make it the caller's responsibility to poll for
input, allowing it to do other stuff if it wants to.
|
13 years ago |
Gavan Fantom
|
9f79b3d82e
|
* Make total stack size available as a symbol
* Implement SWI handler to enable/disable interrupts
* Implement event system to deal with kicking non-interrupt code
|
13 years ago |
Gavan Fantom
|
0f508fb424
|
Offload I2C work onto interrupts. For now, we just spin while waiting
for the I2C activity to complete.
|
13 years ago |
Gavan Fantom
|
6a3c096bc5
|
Tidy up #ifdeffery for i2c speed
|
13 years ago |
Gavan Fantom
|
f0efc593ea
|
Use interrupts and buffer the UART receive side too.
|
13 years ago |
Gavan Fantom
|
4eaff797c9
|
* Use interrupts and buffering for UART TX
* Set up P0.26 as an output, driving the on-board LED
* Toggle the LED while waiting for UART input to demonstrate activity
|
13 years ago |
Gavan Fantom
|
e1b1b60a53
|
* Move UART code into its own file
* Set up vectored interrupt controller
* Set up timer interrupt
|
13 years ago |
Gavan Fantom
|
91c1c7e6be
|
More warnings courtesy of -Wextra
|
14 years ago |
Gavan Fantom
|
6e7ef6488f
|
Add script to test the benefit of various -O flags
|
14 years ago |
Gavan Fantom
|
4d37c82b12
|
* Allow COPTIM to be set outside Makefile
* Use -Wall -Werror
* Fix some warnings
|
14 years ago |
Gavan Fantom
|
b3f0bbf7c9
|
More hacking:
* initial Wii Motion+ support
* initial timer support
|
14 years ago |
Gavan Fantom
|
52e1c59a2e
|
Some progress on i2c control.
|
14 years ago |
Gavan Fantom
|
85d33abdd9
|
Silly interactive loop to test things out.
|
14 years ago |
Gavan Fantom
|
b7cb6a5bce
|
Configure the UART sufficiently to actually get the message out.
|
14 years ago |
Gavan Fantom
|
51190c4949
|
Remove commented out line
|
14 years ago |
Gavan Fantom
|
f5159013b3
|
Initial checkin. Basic build and runtime environment, prior to first
test on actual hardware.
|
14 years ago |