Commit Graph

293 Commits

Author SHA1 Message Date
Stefan `Sec` Zehl 18dc658956 inline these helper functions to save space 2011-08-03 18:28:24 +02:00
Stefan `Sec` Zehl 8ec395879b Fix off-by-one bug. [Found by 9r] 2011-08-03 18:23:56 +02:00
schneider 761c56f4f2 s.c 2011-08-03 11:34:18 +02:00
schneider 8f7664a938 vcard: moved more code into loadables 2011-08-03 10:54:22 +02:00
schneider 7539f4e6f7 moved code for vacrd from flash to loadables 2011-08-03 10:38:43 +02:00
schneider 01f7fde0d4 added vcard loadable draft 2011-08-03 10:21:31 +02:00
kiu d8a1d0c78d fixed greather than/less than for mode change 2011-08-03 00:53:33 +02:00
Stefan `Sec` Zehl 0aadf3fba8 Do the init automatically now, also fix "=>" to ">=" :) 2011-08-03 00:44:12 +02:00
kiu 222f491205 fixed mode changes (greater than/lesser than), removed unused flameEnabled check 2011-08-03 00:35:02 +02:00
Stefan `Sec` Zehl 5a19b970bb Honor privacy in mesh 2011-08-03 00:25:09 +02:00
Stefan `Sec` Zehl 69907e7d16 Send OpenBeacon (if privacy allows) 2011-08-03 00:23:31 +02:00
Stefan `Sec` Zehl 080cffff23 Err. cut&paste mistake 2011-08-02 23:53:41 +02:00
Stefan `Sec` Zehl 9cf0b573c3 Make the config menu use repeat functionality. Also: more speed :) 2011-08-02 23:39:37 +02:00
Stefan `Sec` Zehl f57e0a9e90 frob fontselector 2011-08-02 21:23:10 +02:00
Stefan `Sec` Zehl d76bf573d0 Re-add msc mode 2011-08-02 21:21:58 +02:00
Stefan `Sec` Zehl 32e05be404 Center nickname 2011-08-02 21:01:27 +02:00
Stefan `Sec` Zehl b6ef360f43 Check stackpointer 2011-08-02 20:53:43 +02:00
Stefan `Sec` Zehl 861994ef93 Remove mandel2, its a loadable now 2011-08-02 20:51:46 +02:00
Stefan `Sec` Zehl a267e2caf6 Support menu timeout 2011-08-02 20:49:55 +02:00
Stefan `Sec` Zehl c2b42a8d1f Move mandelbrot into loadables. 2011-08-02 14:16:06 +02:00
Stefan `Sec` Zehl 3a4490db18 Some menu changes. Also: cleanup apps and make the rest build again 2011-08-02 13:31:57 +02:00
Stefan `Sec` Zehl 7eaa5f4e4b more utility/debugging/info stuff 2011-08-02 10:55:01 +02:00
Stefan `Sec` Zehl 999b3bd809 Properly turn off flame when it's day.
Also: skip everything if disabled.
And: debugging display
2011-08-02 10:51:34 +02:00
Stefan `Sec` Zehl 942440ec0c Whoops. Swapped day/night invert 2011-08-02 10:50:51 +02:00
Stefan `Sec` Zehl d357e6000f Clean up util.c 2011-08-02 02:45:25 +02:00
Stefan `Sec` Zehl 0824a2cd25 Some stuff we probably want in the final firmware. 2011-08-02 02:10:15 +02:00
iggy 2957ee4f21 Merge branch 'master' of github.com:r0ket/r0ket 2011-08-02 01:13:20 +02:00
iggy bad31c466a spacinvaders stuff 2011-08-02 01:12:52 +02:00
Stefan `Sec` Zehl 42fd4f116c cleanup a bit 2011-08-01 23:50:58 +02:00
Stefan `Sec` Zehl 5a6be961a0 Fix the default background stuff properly. 2011-08-01 23:49:41 +02:00
kiu 21be4195eb added config options for menu 2011-08-01 23:34:13 +02:00
iggy cafdbed82f bunkers in spaceinvaders 2011-08-01 21:44:48 +02:00
iggy 4ccd0bf18d Merge branch 'master' of github.com:r0ket/r0ket 2011-08-01 18:30:18 +02:00
iggy f82cb8382a spaceinvaders improved 2011-08-01 18:29:50 +02:00
Stefan `Sec` Zehl 5b7a675e1f Whoops. Make systick called again in APP=tester 2011-08-01 16:09:04 +02:00
Stefan `Sec` Zehl bd047cbe5a Add simple lcdRefresh() speedtest 2011-08-01 14:32:22 +02:00
bernd 49c49e328f Disable too flashy backlight cycling in life 2011-08-01 06:15:44 +02:00
Stefan `Sec` Zehl 29df9b9e1f Add missing config.h 2011-08-01 01:34:11 +02:00
Stefan `Sec` Zehl 5d0887be71 Move config stuff into own include. Iggy said its better :-) 2011-08-01 01:12:21 +02:00
Stefan `Sec` Zehl 621bca40b3 improve application Makfile 2011-08-01 01:08:05 +02:00
Stefan `Sec` Zehl aa821fca3f Fix a few things. 2011-07-31 22:13:06 +02:00
schneider c95eb0844f Merge branch 'master' of github.com:r0ket/r0ket 2011-07-31 20:35:36 +02:00
schneider b28920fec8 initial: no watchdog in isp mode 2011-07-31 20:34:56 +02:00
schneider e4869f6ec0 initial: wait for flashed.cfg 2011-07-31 20:32:37 +02:00
Stefan `Sec` Zehl e3d46f01bd Fix a few global config regressions, and add sample config menu 2011-07-31 18:20:55 +02:00
Stefan `Sec` Zehl cfe6e328e5 You will probably hate me, but commit new, global config framework
hopefully it will be stable now. Sorry for breaking your stuff
2011-07-31 18:15:44 +02:00
Stefan `Sec` Zehl 2c62859a60 more pretty-printing 2011-07-31 00:55:02 +02:00
Stefan `Sec` Zehl a20a260117 Show badge uptime 2011-07-31 00:54:41 +02:00
iggy e911376fe6 Merge branch 'master' of github.com:r0ket/r0ket
Conflicts:
	firmware/basic/Makefile
2011-07-30 19:31:12 +02:00
iggy d8cbdc79fa string input + demo 2011-07-30 19:28:37 +02:00
Stefan `Sec` Zehl 8625d1b3ef Mesh++ Now we can display messages. 2011-07-30 19:06:12 +02:00
Stefan `Sec` Zehl 1a23641c8d Refactor mesh stuff 2011-07-30 16:10:30 +02:00
Stefan `Sec` Zehl f79f8a93f5 Mesh in systick. Now retransmits the time correctly 2011-07-30 11:51:05 +02:00
Stefan `Sec` Zehl 4b95235843 More serial support 2011-07-30 11:43:08 +02:00
schneider 75c5ae71d9 streamlined bootstrap application 2011-07-30 11:17:35 +02:00
Stefan `Sec` Zehl da6cc353da Better serial input/output 2011-07-30 03:27:29 +02:00
Stefan `Sec` Zehl d621d9b117 make TYPE=serial a proper air debugging tool 2011-07-29 22:30:36 +02:00
Stefan `Sec` Zehl 62a8270609 Time transmit now works 2011-07-29 19:49:24 +02:00
Stefan `Sec` Zehl 9cf36467e4 First minimesh code. 2011-07-29 19:40:24 +02:00
Stefan `Sec` Zehl ad62356734 Semi-functional remo0te with 1st attemt at message-back 2011-07-28 01:32:45 +02:00
Stefan `Sec` Zehl 03e95c9681 More funk test code (rem0te/game support) 2011-07-27 23:43:14 +02:00
Stefan `Sec` Zehl 196ac680e9 First version of an serial openbeaconsniffer. Yay. 2011-07-27 19:03:25 +02:00
Stefan `Sec` Zehl 9e4f27ad12 More usbserial utility functions 2011-07-27 18:22:53 +02:00
Stefan `Sec` Zehl ce6b63046f Whoops. (Cygwin-)Symlinks and git don't mix 2011-07-27 17:33:55 +02:00
Stefan `Sec` Zehl 63ff0de8b2 Actually try to use USB-serial code. "make APP=tester TYPE=serial" 2011-07-27 15:41:18 +02:00
Stefan `Sec` Zehl 250ea3213f Make backlight and lcd-state config vars actually work 2011-07-27 01:15:52 +02:00
Stefan `Sec` Zehl 477dfcf98a APP=initial is compiled without default.c 2011-07-27 01:02:26 +02:00
Stefan `Sec` Zehl 5a55da7f76 Fix some menu regressions because of getInputWait() changes 2011-07-27 00:58:48 +02:00
Stefan `Sec` Zehl 535b635b0e First draft of the new global config system
Sorry if your display is mirrored again %)
2011-07-27 00:57:36 +02:00
Stefan `Sec` Zehl 833a6387fb always remove libapp.a before rebuilding it. 2011-07-27 00:28:08 +02:00
Stefan `Sec` Zehl 2da811bf61 Make our systick interval a #define 2011-07-27 00:25:24 +02:00
Stefan `Sec` Zehl e124c142f2 Fix more instances of wrong define used 2011-07-27 00:18:23 +02:00
roy rocket 0477dc01e2 Merge branch 'master' of ssh://github.com/r0ket/r0ket 2011-07-26 23:41:24 +02:00
Stefan `Sec` Zehl 3e30e03ba9 Actually enable formatting the DF 2011-07-26 02:09:52 +02:00
Stefan `Sec` Zehl 3d701fda1b If no filesystem, fail configstuff quickly 2011-07-26 02:06:10 +02:00
Stefan `Sec` Zehl cb5ebc57d8 add APP=initial, template for initial firmware to be flashed. 2011-07-26 01:55:33 +02:00
Stefan `Sec` Zehl e182a2c179 APP=tester now supports systick-functions, too 2011-07-26 01:18:31 +02:00
Stefan `Sec` Zehl 292d1ba36f Rename timer.c into more correct queue.c 2011-07-26 01:09:31 +02:00
Stefan `Sec` Zehl bb178629a2 oops 2011-07-25 23:41:26 +02:00
Stefan `Sec` Zehl 0b930aef48 Use new mutex :) 2011-07-25 23:26:18 +02:00
kiu 68b5afbe47 handle i2c through queue, probe i2c for flame 2011-07-25 20:33:20 +02:00
bernd 242bb480a0 Code cleanup, got rid of warnings 2011-07-25 08:48:19 +02:00
schneider 78f3f25937 vcard: funny errors with vcard... 2011-07-25 02:11:41 +02:00
schneider 4c8839b2ba vcard: read keys from filesystem 2011-07-24 21:53:11 +02:00
Stefan `Sec` Zehl f79d3b49f4 More powersaving/queue-working 2011-07-24 16:29:14 +02:00
Stefan `Sec` Zehl 7a019d06e7 Add simple queue to move jobs from systick to main/idle. 2011-07-24 15:44:35 +02:00
Stefan `Sec` Zehl 9b95dab688 remove use of removed global variable 2011-07-24 15:37:03 +02:00
Stefan `Sec` Zehl 860f226e45 Whoops. Forgot "mktester" shell script for APP=tester support 2011-07-24 14:12:30 +02:00
bernd 9a77b01cef Use xor drawing to animate game of life over arbitrary display content 2011-07-24 08:59:56 +02:00
kiu cd1d43883d Merge branch 'master' of github.com:r0ket/r0ket 2011-07-24 03:32:20 +02:00
kiu a7c737f62c added secs night detection 2011-07-24 03:31:47 +02:00
Stefan `Sec` Zehl 3204b537b5 Add APP=tester with menu-modules in tester/*c 2011-07-24 02:57:35 +02:00
Stefan `Sec` Zehl f13a772cca Merge branch 'master' of github.com:r0ket/r0ket 2011-07-24 01:52:19 +02:00
Stefan `Sec` Zehl da8d8003aa Read ambient light and toggle display background accordingly. Also: isNight() 2011-07-24 01:51:28 +02:00
schneider cdaa8f78ca added random number generator based on adc and xxtea 2011-07-23 23:47:42 +02:00
kiu c01a8e7e82 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-23 22:12:06 +02:00
kiu a6b9622764 prepared night support 2011-07-23 22:11:33 +02:00
schneider 404b789c04 openbeacon: use chip id 2011-07-23 19:17:14 +02:00
schneider 76a84b354f vcard: small clean up 2011-07-23 17:58:56 +02:00
schneider ec956a3263 working encrypted filetransfer. 2011-07-23 15:35:00 +02:00
Stefan `Sec` Zehl 30d3089cc8 Allow fonts from dataflash. use "setExtFont(filename)". for flash fonts use "setIntFont(&font)". 2011-07-23 14:39:50 +02:00
kiu d01fd1ef25 glowing flame 2011-07-23 06:04:04 +02:00
kiu dae166e99e Merge branch 'master' of github.com:r0ket/r0ket 2011-07-21 23:32:50 +02:00
kiu 3cc75be31d some i2c tests 2011-07-21 23:32:28 +02:00
Stefan `Sec` Zehl 89e430de97 Add more code to test scrolling 2011-07-21 22:32:48 +02:00
Stefan `Sec` Zehl 148b2d9aee Also allow diagonal movement here. 2011-07-21 20:08:00 +02:00
Stefan `Sec` Zehl 742c422439 Also enable diagonal scrolling. 2011-07-21 20:02:44 +02:00
Sebastian 'iggy' Steuer a5b227b60e Merge branch 'master' of github.com:r0ket/r0ket 2011-07-21 17:22:23 +02:00
Sebastian 'iggy' Steuer 62bc287d0f mandelbrot displaybuffer scrolling, zoom out 2011-07-21 17:04:22 +02:00
bernd 71d7bb28b1 Use cbitset for game of life to reduce data size - making it run on r0ket 2011-07-20 08:08:09 +02:00
bernd eabf38452f Use cbitset for game of life to reduce data size - making it run on r0ket 2011-07-20 08:03:02 +02:00
bernd ff6a7882a1 Merge git://github.com/r0ket/r0ket 2011-07-20 06:02:18 +02:00
kiu f5c5ccea3d removed unused init 2011-07-20 00:03:15 +02:00
kiu ed7119b45d initial flame test 2011-07-20 00:00:37 +02:00
bernd f917464315 Code cleanup: removed remaining spaceinvader definitions 2011-07-19 12:35:08 +02:00
bernd 54dfa15718 Merge branch 'master' of http://www.itfuzzi.de/git/r0ket 2011-07-19 12:29:22 +02:00
bernd cef9ad9540 Added life application 2011-07-19 12:28:21 +02:00
bernd 95c92d764c Merge git://github.com/r0ket/r0ket 2011-07-19 10:47:52 +02:00
Stefan `Sec` Zehl 18dc47fa2b Fix dependecies and building for APP=loadable 2011-07-19 10:14:54 +02:00
Stefan `Sec` Zehl 6a8da54274 Add APP=loadable, simple loadable module wrapper to run them as app.
Build with "make APP=loadable LAPP=spaceinvaders"
2011-07-19 10:01:00 +02:00
bernd 3edfff8d59 Wrapped ARM specific code with #ifdef ARM because of simulat0r 2011-07-19 08:30:57 +02:00
Sebastian 'iggy' Steuer c65fe4c523 lcdBuffer scrolling 2011-07-19 02:43:15 +02:00
Stefan `Sec` Zehl f4dee3550c Remove argument from lcdDisplay() and ISPandReset() 2011-07-18 22:09:31 +02:00
Stefan `Sec` Zehl c39052259d Use 24c3 encryption key 2011-07-18 21:42:59 +02:00
Stefan `Sec` Zehl 3281d591dc APP=font actually needs all the fonts it can get 2011-07-18 20:00:31 +02:00
Stefan `Sec` Zehl fcf3ec22c5 Fix includes to remove unneccessary dependencies on <allfonts.h> 2011-07-18 18:19:22 +02:00
schneider 2d4e1163d0 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-18 01:17:44 +02:00
schneider 0eb87072ff funk: use openbeacon code 2011-07-18 01:16:44 +02:00
Stefan `Sec` Zehl 71bd7e97c6 font_direction is no more 2011-07-17 22:09:13 +02:00
schneider 84d09d8fb9 default: we only have one file open 2011-07-17 21:02:37 +02:00
Stefan `Sec` Zehl b2983a53a3 Allow Scrolling out-of-screen to show off the new render feature. 2011-07-17 16:51:01 +02:00
Stefan `Sec` Zehl 06ea1d11f3 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 16:50:29 +02:00
schneider 13637cafb9 vcard: moved to new rf interface 2011-07-17 12:46:33 +02:00
Stefan `Sec` Zehl baf59c0c1f Also fix off-by-ones 2011-07-17 12:38:50 +02:00
schneider 46db3203d7 added file chooser for vcard 2011-07-17 11:26:52 +02:00
Stefan `Sec` Zehl 33af906622 Simple font testing app. 2011-07-17 11:06:34 +02:00
schneider 1710ad8b07 debug output for cdc example 2011-07-17 10:53:52 +02:00
schneider 2e338dff8a Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 10:26:58 +02:00
Stefan `Sec` Zehl 60576f30de Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 02:23:41 +02:00
Stefan `Sec` Zehl 6008507845 Start of counter-receive code. TBD. 2011-07-17 02:23:07 +02:00
schneider 1ef352200a streamlined executor 2011-07-17 02:20:36 +02:00
Stefan `Sec` Zehl 5574ca2cdc Create default r0ket.cfg if missing 2011-07-17 02:09:48 +02:00
schneider bc3fa885f5 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 02:03:08 +02:00
schneider 5967575ef3 moved file execution code into filesystem lib 2011-07-17 02:02:45 +02:00
Stefan `Sec` Zehl 5f0995f1fe Add MSC for convenience. Also change MAC 2011-07-17 02:01:51 +02:00
Stefan `Sec` Zehl cae3872c34 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 02:01:30 +02:00
Stefan `Sec` Zehl eb884543da Add support for r0ket.cfg (invert & mirror flags for now) 2011-07-17 02:00:02 +02:00
schneider 4f8c1c7ade Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 01:10:34 +02:00
schneider 68c5034205 first file chooser 2011-07-17 01:09:03 +02:00
Stefan `Sec` Zehl de44902188 Add encryption 2011-07-17 01:06:06 +02:00