dmxpainter.git
10 years agoAdded TODOs about buf size not based on N_PAINTER.
Malte S. Stretz [Sat, 7 Mar 2009 15:32:02 +0000]
Added TODOs about buf size not based on N_PAINTER.

10 years agoClean up declaration and usage of global variables, mark with a suffix instead of...
Malte S. Stretz [Sat, 7 Mar 2009 15:30:38 +0000]
Clean up declaration and usage of global variables, mark with a suffix instead of a prefix.

10 years agoRemoved obsolete code.
Malte S. Stretz [Sat, 7 Mar 2009 14:10:55 +0000]
Removed obsolete code.

10 years agoRename buffer* to buf*.
Malte S. Stretz [Sat, 7 Mar 2009 14:09:23 +0000]
Rename buffer* to buf*.

10 years agoIntroducing the TLC_SRTN pin. Might be useful at some point.
Malte S. Stretz [Tue, 3 Mar 2009 16:48:41 +0000]
Introducing the TLC_SRTN pin.  Might be useful at some point.

10 years agoClearify what mcu_register_isr() does, declaration of the implementation is now implicit.
Malte S. Stretz [Tue, 3 Mar 2009 13:17:46 +0000]
Clearify what mcu_register_isr() does, declaration of the implementation is now implicit.

10 years agoExplicitly disable the edge trigger on startup, weird stuff is happening.
Malte S. Stretz [Fri, 27 Feb 2009 15:14:53 +0000]
Explicitly disable the edge trigger on startup, weird stuff is happening.

10 years agoRename foo_start to foo_exec, introduce one for DMX.
Malte S. Stretz [Fri, 27 Feb 2009 14:54:17 +0000]
Rename foo_start to foo_exec, introduce one for DMX.

10 years agoMore comments.
Malte S. Stretz [Fri, 27 Feb 2009 14:40:14 +0000]
More comments.

10 years agoConditionally disable mcu_debug_* stuff if PIN_DEBUG is undefined.
Malte S. Stretz [Fri, 27 Feb 2009 11:05:37 +0000]
Conditionally disable mcu_debug_* stuff if PIN_DEBUG is undefined.

10 years agoCleaned up debug macros.
Malte S. Stretz [Fri, 27 Feb 2009 10:53:44 +0000]
Cleaned up debug macros.

10 years agoAdded MCU macro.
Malte S. Stretz [Fri, 27 Feb 2009 10:46:53 +0000]
Added MCU macro.

10 years agoRemove SD stuff for now.
Malte S. Stretz [Fri, 27 Feb 2009 10:41:28 +0000]
Remove SD stuff for now.

10 years agoMove utility headers out of the root.
Malte S. Stretz [Fri, 27 Feb 2009 10:40:00 +0000]
Move utility headers out of the root.

10 years agoMoved mcu-stuff out of the root.
Malte S. Stretz [Fri, 27 Feb 2009 10:36:25 +0000]
Moved mcu-stuff out of the root.

10 years agoAdded main system LED.
Malte S. Stretz [Fri, 20 Feb 2009 15:27:20 +0000]
Added main system LED.

10 years agoRemove scheduler code.
Malte S. Stretz [Fri, 20 Feb 2009 15:21:16 +0000]
Remove scheduler code.

10 years agoTuned Dot Correction (100%, 30%, 30%)
Malte S. Stretz [Fri, 20 Feb 2009 15:19:37 +0000]
Tuned Dot Correction (100%, 30%, 30%)

10 years agoAnd finally... a working state machine!
Malte S. Stretz [Wed, 11 Feb 2009 15:48:10 +0000]
And finally... a working state machine!

10 years agoDot correction... broken?
Malte S. Stretz [Wed, 11 Feb 2009 15:47:04 +0000]
Dot correction... broken?

10 years agoRemove broken macro.
Malte S. Stretz [Wed, 11 Feb 2009 15:46:11 +0000]
Remove broken macro.

10 years agoA better state machine.
Malte S. Stretz [Tue, 10 Feb 2009 16:29:02 +0000]
A better state machine.

10 years agoAdded -funroll-loops.
Malte S. Stretz [Mon, 9 Feb 2009 21:03:11 +0000]
Added -funroll-loops.

10 years agoThis might work...
Malte S. Stretz [Mon, 9 Feb 2009 15:34:23 +0000]
This might work...

10 years agoA (probably buggy) DMX implementation.
Malte S. Stretz [Mon, 9 Feb 2009 14:49:41 +0000]
A (probably buggy) DMX implementation.

10 years agoRemoved stale commented-out code.
Malte S. Stretz [Mon, 9 Feb 2009 13:54:05 +0000]
Removed stale commented-out code.

10 years agoA simple INT0 test.
Malte S. Stretz [Mon, 9 Feb 2009 13:52:02 +0000]
A simple INT0 test.

10 years agoRemove stale line.
Malte S. Stretz [Mon, 9 Feb 2009 13:51:49 +0000]
Remove stale line.

10 years agoRemove debugging.
Malte S. Stretz [Mon, 9 Feb 2009 13:11:55 +0000]
Remove debugging.

10 years agoMake red blink on INT0.
Malte S. Stretz [Mon, 9 Feb 2009 12:46:56 +0000]
Make red blink on INT0.

10 years agoUse native eol, fix messed up files.
Malte S. Stretz [Mon, 9 Feb 2009 11:47:58 +0000]
Use native eol, fix messed up files.

10 years agoUse native eol.
Malte S. Stretz [Mon, 9 Feb 2009 10:57:28 +0000]
Use native eol.

10 years agoIt workx!
Malte S. Stretz [Tue, 13 Jan 2009 16:51:51 +0000]
It workx!

10 years agoDisable/ignore scheduler for now.
Malte S. Stretz [Tue, 13 Jan 2009 13:45:40 +0000]
Disable/ignore scheduler for now.

10 years agoInclude mcu.h.
Malte S. Stretz [Tue, 13 Jan 2009 13:36:10 +0000]
Include mcu.h.

10 years agoInclude mcu.h.
Malte S. Stretz [Tue, 13 Jan 2009 13:35:45 +0000]
Include mcu.h.

10 years agoEnable ext. INT0.
Malte S. Stretz [Tue, 13 Jan 2009 13:35:19 +0000]
Enable ext. INT0.

10 years agoMove trigger of next (static) data packet.
Malte S. Stretz [Tue, 13 Jan 2009 13:34:35 +0000]
Move trigger of next (static) data packet.

10 years agoMore debugging stuff.
Malte S. Stretz [Tue, 13 Jan 2009 13:33:02 +0000]
More debugging stuff.

10 years agoSome debugging routines.
Malte S. Stretz [Tue, 13 Jan 2009 13:14:56 +0000]
Some debugging routines.

10 years agoKeep first func, don't sleep for now, we don't wake up.
Malte S. Stretz [Tue, 13 Jan 2009 12:54:47 +0000]
Keep first func, don't sleep for now, we don't wake up.

10 years agoUse memset to zero out gs-buffer if applicable, fix bounds for loop.
Malte S. Stretz [Tue, 13 Jan 2009 12:35:25 +0000]
Use memset to zero out gs-buffer if applicable, fix bounds for loop.

10 years agoMake buffer scheduler handler private.
Malte S. Stretz [Tue, 13 Jan 2009 12:21:57 +0000]
Make buffer scheduler handler private.

10 years agoWe want an SD card at some point.
Malte S. Stretz [Tue, 13 Jan 2009 12:14:24 +0000]
We want an SD card at some point.

10 years agoUse buffer handling code.
Malte S. Stretz [Tue, 13 Jan 2009 12:10:42 +0000]
Use buffer handling code.

10 years agoBuffer initialization.
Malte S. Stretz [Tue, 13 Jan 2009 12:09:49 +0000]
Buffer initialization.

10 years agoIt works... almost.
Malte S. Stretz [Mon, 12 Jan 2009 17:16:57 +0000]
It works... almost.

10 years agoThis send_dc code should actually work...
Malte S. Stretz [Sun, 11 Jan 2009 17:05:58 +0000]
This send_dc code should actually work...

10 years agoMove tlc_send_dc down a bit.
Malte S. Stretz [Sun, 11 Jan 2009 15:57:11 +0000]
Move tlc_send_dc down a bit.

10 years agoRemoved some trailing spaces.
Malte S. Stretz [Sun, 11 Jan 2009 15:32:14 +0000]
Removed some trailing spaces.

10 years agoThis should shift the GS-data properly.
Malte S. Stretz [Sun, 11 Jan 2009 15:25:05 +0000]
This should shift the GS-data properly.

10 years agoRename and globalize TLC_N_* macros.
Malte S. Stretz [Sun, 11 Jan 2009 14:53:14 +0000]
Rename and globalize TLC_N_* macros.

10 years agoRemove those buffer-access macros again.
Malte S. Stretz [Sun, 11 Jan 2009 14:39:14 +0000]
Remove those buffer-access macros again.

10 years agoClean up the global namespace (buffer-stuff) and add some comments.
Malte S. Stretz [Sun, 11 Jan 2009 14:32:38 +0000]
Clean up the global namespace (buffer-stuff) and add some comments.

10 years agoAbstraction of ISRs.
Malte S. Stretz [Sun, 11 Jan 2009 14:30:13 +0000]
Abstraction of ISRs.

10 years agoSome optimizations.
Malte S. Stretz [Sun, 11 Jan 2009 00:25:23 +0000]
Some optimizations.

10 years agoUse the sclk-function we have.
Malte S. Stretz [Sat, 10 Jan 2009 22:57:00 +0000]
Use the sclk-function we have.

10 years agoBetter names for bits.h-stuff.
Malte S. Stretz [Sat, 10 Jan 2009 22:41:40 +0000]
Better names for bits.h-stuff.

10 years agoMove general AVR includes to mcu.h, we need them all the time.
Malte S. Stretz [Sat, 10 Jan 2009 21:52:59 +0000]
Move general AVR includes to mcu.h, we need them all the time.

10 years agoRemove stale atmoic-include.
Malte S. Stretz [Sat, 10 Jan 2009 21:51:49 +0000]
Remove stale atmoic-include.

10 years agoAbstraction of ISR-stuff.
Malte S. Stretz [Sat, 10 Jan 2009 21:50:09 +0000]
Abstraction of ISR-stuff.

10 years agoRemove obsolete global var.
Malte S. Stretz [Sat, 10 Jan 2009 21:21:12 +0000]
Remove obsolete global var.

10 years agoAdd clean-svn target.
Malte S. Stretz [Sat, 10 Jan 2009 21:20:44 +0000]
Add clean-svn target.

10 years agoCleanup tlc_* namespace.
Malte S. Stretz [Sat, 10 Jan 2009 21:18:55 +0000]
Cleanup tlc_* namespace.

10 years agoBLNK outputs as early as possible.
Malte S. Stretz [Sat, 10 Jan 2009 21:03:12 +0000]
BLNK outputs as early as possible.

10 years agoRemove disabling of the Watchdog, not needed.
Malte S. Stretz [Sat, 10 Jan 2009 20:55:56 +0000]
Remove disabling of the Watchdog, not needed.

10 years agoMake debug stuff more portable.
Malte S. Stretz [Sat, 10 Jan 2009 20:43:07 +0000]
Make debug stuff more portable.

10 years agoMove pins_atmega8.h to mcu_atmega8_pins.h
Malte S. Stretz [Sat, 10 Jan 2009 19:37:06 +0000]
Move pins_atmega8.h to mcu_atmega8_pins.h

10 years agoMove config.h to mcu_config.h, remove AVR Studio project file.
Malte S. Stretz [Sat, 10 Jan 2009 19:34:05 +0000]
Move config.h to mcu_config.h, remove AVR Studio project file.

10 years agoMight work...
Malte S. Stretz [Fri, 9 Jan 2009 10:39:24 +0000]
Might work...

10 years agoCast to uint8_t not needed it seems.
Malte S. Stretz [Fri, 9 Jan 2009 10:38:58 +0000]
Cast to uint8_t not needed it seems.

10 years agoDoh! Use _BV!
Malte S. Stretz [Fri, 9 Jan 2009 10:24:47 +0000]
Doh! Use _BV!

10 years agoAha!
Malte S. Stretz [Tue, 6 Jan 2009 17:41:07 +0000]
Aha!

10 years agoTesting...
Malte S. Stretz [Tue, 6 Jan 2009 17:22:15 +0000]
Testing...

10 years agoBetter test code, disabled.
Malte S. Stretz [Tue, 6 Jan 2009 17:21:55 +0000]
Better test code, disabled.

10 years agoFixed typo.
Malte S. Stretz [Tue, 6 Jan 2009 17:21:07 +0000]
Fixed typo.

10 years agoFixed typo.
Malte S. Stretz [Tue, 6 Jan 2009 15:28:56 +0000]
Fixed typo.

10 years agoUse function.
Kai Falkenberg [Tue, 6 Jan 2009 12:32:52 +0000]
Use function.

10 years agoTest...
Malte S. Stretz [Tue, 6 Jan 2009 12:24:22 +0000]
Test...

10 years agoBetter test code.
Malte S. Stretz [Tue, 6 Jan 2009 12:23:46 +0000]
Better test code.

10 years agoUpdate pin assignment.
Malte S. Stretz [Tue, 6 Jan 2009 12:17:34 +0000]
Update pin assignment.

10 years agoUse Makefile.
Malte S. Stretz [Tue, 6 Jan 2009 12:16:56 +0000]
Use Makefile.

10 years agoFix this... but not now.
Malte S. Stretz [Sun, 4 Jan 2009 22:41:28 +0000]
Fix this... but not now.

10 years agoSome ISR reordering.
Malte S. Stretz [Sun, 4 Jan 2009 22:40:14 +0000]
Some ISR reordering.

10 years agoDoh!
Malte S. Stretz [Sun, 4 Jan 2009 22:38:47 +0000]
Doh!

10 years agoVoodoo...
Malte S. Stretz [Sun, 4 Jan 2009 22:37:59 +0000]
Voodoo...

10 years agoUse of indirection makes things clearer.
Malte S. Stretz [Sun, 4 Jan 2009 21:26:23 +0000]
Use of indirection makes things clearer.

10 years agoSome fixes.
Malte S. Stretz [Sun, 4 Jan 2009 21:24:25 +0000]
Some fixes.

10 years agoSome public macros for the helpers.
Malte S. Stretz [Sun, 4 Jan 2009 21:22:56 +0000]
Some public macros for the helpers.

10 years agoMore refactoring plus input handling.
Malte S. Stretz [Sun, 4 Jan 2009 21:16:54 +0000]
More refactoring plus input handling.

10 years agoActually do something.
Malte S. Stretz [Sun, 4 Jan 2009 19:49:34 +0000]
Actually do something.

10 years agoNice flow.
Malte S. Stretz [Sun, 4 Jan 2009 19:30:39 +0000]
Nice flow.

10 years agoThis should work...
Malte S. Stretz [Sun, 4 Jan 2009 19:21:41 +0000]
This should work...

10 years agoFixed infinite loop in scheduler.
Malte S. Stretz [Sun, 4 Jan 2009 18:52:13 +0000]
Fixed infinite loop in scheduler.

10 years agoRemove obsolete main_init.
Malte S. Stretz [Sun, 4 Jan 2009 18:13:39 +0000]
Remove obsolete main_init.

10 years agoWe need GCC 4 or higher (for #pragma and other stuff)
Malte S. Stretz [Sun, 4 Jan 2009 17:15:36 +0000]
We need GCC 4 or higher (for #pragma and other stuff)

10 years agoMore macro additions/changes.
Malte S. Stretz [Sun, 4 Jan 2009 17:08:12 +0000]
More macro additions/changes.

10 years agoSome renaming in pin.h
Malte S. Stretz [Sun, 4 Jan 2009 16:39:44 +0000]
Some renaming in pin.h

10 years agoUse MCU abstraction.
Malte S. Stretz [Sun, 4 Jan 2009 16:33:25 +0000]
Use MCU abstraction.

10 years agoSome MCU abstraction macros.
Malte S. Stretz [Sun, 4 Jan 2009 16:32:33 +0000]
Some MCU abstraction macros.