Commit Graph

872 Commits

Author SHA1 Message Date
iggy cafdbed82f bunkers in spaceinvaders 2011-08-01 21:44:48 +02:00
Stefan `Sec` Zehl 99f3095b46 Fix invader font 2011-08-01 20:03:12 +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
bernd 174e7ee9e5 The calls to nrf_off on lowpower-off require a -lfunk at the end 2011-08-01 06:10:22 +02:00
Rainer Mueller 377d614c38 Fix build on Mac OS X
The header stdio.h on Mac OS X includes some defines to do buffer
overflow checks if using _FORTIFY_SOURCE > 2, which is the default.
Defining _FORTIFY_SOURCE=0 disables this behavior.

The Mac OS X linker ld64 has problem with common symbols in static
archives. The workaround here is to run 'ranlib -c' on the static
archive.
2011-08-01 05:45:16 +02:00
Stefan `Sec` Zehl d4c48f66c2 Disable nrf on lowpower-off 2011-08-01 05:31:47 +02:00
Stefan `Sec` Zehl 26515e2717 I forgot this new .h file a few commits ago. 2011-08-01 05:23:14 +02:00
Stefan `Sec` Zehl cccb869423 Fix a few warnings 2011-08-01 05:22:24 +02:00
Stefan `Sec` Zehl 61c1293611 Add Timestamp support for filesystem. This took me 3h to debug :-/ 2011-08-01 05:11:56 +02:00
Stefan `Sec` Zehl 6bd703f006 fix new font setting for internal fonts 2011-08-01 05:11:04 +02:00
Stefan `Sec` Zehl 34869e2973 modernize menu.c 2011-08-01 05:10:37 +02:00
Stefan `Sec` Zehl f41d900e0d Adjust startup value 2011-08-01 05:06:20 +02:00
Stefan `Sec` Zehl d5e93a1fca Merge branch 'master' of github.com:r0ket/r0ket
Conflicts:
	firmware/basic/config.c
2011-08-01 05:05:47 +02:00
schneider 13df9eec9d select: wait for key release 2011-08-01 02:18:36 +02:00
schneider 2a632870fd added 32 level contrast 2011-08-01 02:18:03 +02:00
Stefan `Sec` Zehl f2c5d53cb9 Oops. We need to close the files, too. 2011-08-01 01:55:04 +02:00
Stefan `Sec` Zehl 29df9b9e1f Add missing config.h 2011-08-01 01:34:11 +02:00
Stefan `Sec` Zehl 6299286348 Two utility functions to read/write small files 2011-08-01 01:12:58 +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 1ccda41467 Sign error. Whoops. 2011-07-31 22:46:24 +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
Stefan `Sec` Zehl 8bc5424607 Fix time and generation handling a bit 2011-07-31 00:53:53 +02:00
Stefan `Sec` Zehl 06ac802ee5 More abstracted num to string functions 2011-07-31 00:53:14 +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 1077b5fd1e Fix filename to be the same in read && write 2011-07-30 15:30:35 +02:00
Stefan `Sec` Zehl e8f06b2388 Some time related functionality 2011-07-30 15:25:14 +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 6c95119e38 do lcd_mirror command by default. (so schneider can test it) 2011-07-30 03:27:53 +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 76ee150b3f Add GetTimer() 2011-07-29 19:06:23 +02:00
Stefan `Sec` Zehl 01e1077e25 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-29 19:02:01 +02:00
Stefan `Sec` Zehl 3fc7fb22ac forgot a "void" here. 2011-07-29 19:01:41 +02:00
bernd 3f7ac1c777 Merge git://github.com/r0ket/r0ket 2011-07-29 04:38:12 +02:00
bernd 9d933f7d4c Use untracked Makefile.sitespecific to optionally override some build flags 2011-07-29 04:33:29 +02:00
bernd e0ae77294e Removed #error statement (that was left in after debugging architektur ifdef?) 2011-07-29 02:46:22 +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 7993bc3f0d library dependency fix 2011-07-28 01:32:13 +02:00
Stefan `Sec` Zehl 03e95c9681 More funk test code (rem0te/game support) 2011-07-27 23:43:14 +02:00
Stefan `Sec` Zehl 5e1ac514ea Add simple itoa-style function 2011-07-27 23:41:09 +02:00
Stefan `Sec` Zehl 932d5502d2 Add #include <time.h> for time_t definition 2011-07-27 23:40:14 +02:00
Stefan `Sec` Zehl 28cc6e63ca OOps: Remove debugging-#error 2011-07-27 23:39:07 +02:00
Stefan `Sec` Zehl 625af67f3f New polling-based funk receive functions. 2011-07-27 23:38:52 +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 838f04505c Add small lcd documentation :) 2011-07-27 17:19:29 +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
Stefan `Sec` Zehl 0a268ebfc3 Fix #define to somethin which works :) 2011-07-27 00:11:30 +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 7eba1c5240 Fix delayms_power to do proper timecounting 2011-07-26 01:04:34 +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
schneider d8563eb64d Merge branch 'master' of github.com:r0ket/r0ket 2011-07-25 23:25:44 +02:00
schneider 0fbdd071ab added adc mutex 2011-07-25 23:25:00 +02:00
kiu 68b5afbe47 handle i2c through queue, probe i2c for flame 2011-07-25 20:33:20 +02:00
bernd ea8754c1dd Implemented time counter in simulat0r 2011-07-25 08:50:33 +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 8daf823d98 fs: improved file selector 2011-07-25 00:32:36 +02:00
bernd 34b0ba6e58 Renamed C++ keyword "new" to "qnew" in function prototypes 2011-07-24 22:25:35 +02:00
bernd 31efd30e85 Merge branch 'master' of http://www.itfuzzi.de/git/r0ket 2011-07-24 22:19:46 +02:00
roy rocket f668dff151 ifdefed ASMs 2011-07-24 22:14:06 +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 c896b4645e rename random() to getRandom(), just to please you. 2011-07-24 15:58:47 +02:00
Stefan `Sec` Zehl 80f914e58f Make GetInputWait() work our new queue. Make the menu code use it by default. 2011-07-24 15:54:18 +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 235cadaa89 remove unused variable 2011-07-24 15:38:28 +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
Stefan `Sec` Zehl ea3b4f3337 another "select()" function renamed. This time its lcd_select() 2011-07-24 14:08:52 +02:00
Stefan `Sec` Zehl 6a76e01a67 bring baisc.h in line with new uuid.h form schneider 2011-07-24 10:28:17 +02:00
Stefan `Sec` Zehl 53ff9f468e Merge branch 'master' of github.com:r0ket/r0ket 2011-07-24 10:26:39 +02:00
Stefan `Sec` Zehl abfe5342c9 Rename inconveniently-named select() to more correct mmc_select() 2011-07-24 10:26:04 +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
schneider b9a26a5698 openbeacon: corrected header 2011-07-23 22:29:57 +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 f77bb1f04a basic: don't crash on bus interrupt 2011-07-23 21:47:29 +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
kiu cb5288e220 enable fast mode plus for i2c 2011-07-21 23:03:11 +02:00
Stefan `Sec` Zehl 89e430de97 Add more code to test scrolling 2011-07-21 22:32:48 +02:00
Stefan `Sec` Zehl bb3dc0044c Add scrolling to lcdPrint() & co. 2011-07-21 22:31:26 +02:00
Stefan `Sec` Zehl c69431c085 Whoops. lcdShiftV8 had up/down swapped :) 2011-07-21 22:27:08 +02:00
Stefan `Sec` Zehl 80ea686dc8 Fix "wrap==false" scrolling case. 2011-07-21 22:21:41 +02:00
Stefan `Sec` Zehl 63572af567 Refactor getInput() using getInputRaw() 2011-07-21 20:37:04 +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
Stefan `Sec` Zehl f81e2b8283 fix missing include. Also make lcdScroll nicer to read. 2011-07-21 20:01:49 +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
Stefan `Sec` Zehl c5e8b92c4a Rename key to openbeaconkey to reduce global namespace pollution 2011-07-19 09:59:16 +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 4bef39e4f3 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-19 02:49:43 +02:00
Sebastian 'iggy' Steuer eb5dd5cc9c Merge branch 'master' of github.com:r0ket/r0ket 2011-07-19 02:43:56 +02:00
Sebastian 'iggy' Steuer c65fe4c523 lcdBuffer scrolling 2011-07-19 02:43:15 +02:00
schneider b49a49f31c filesystem: add option to decode loadables 2011-07-19 01:21:05 +02:00
schneider 43eddd123b filesystem: check signature of loadables with cbc-mc 2011-07-19 01:12:53 +02:00
schneider 27412ef03d basic: added cbc-mac with xxtea for messages with n*4 words 2011-07-19 00:51:07 +02:00
schneider 643e8365aa openbeacon: increment seq counter on boot 2011-07-19 00:19:50 +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 7b88a9f7a9 implement ntoh with one assembler byte 2011-07-18 21:42:17 +02:00
schneider 6b59593b2a voltage: enable voltage reading again 2011-07-18 21:37:15 +02:00
Stefan `Sec` Zehl 49c55eae0e Fix warnings 2011-07-18 20:27:18 +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 dae367b568 Add dependency handling for lcd/ subdir 2011-07-18 18:53:17 +02:00
Stefan `Sec` Zehl ff5bbad940 Add smallfonts back to lcd.h. Many APPs need it. This should probably change 2011-07-18 18:32:30 +02:00
Stefan `Sec` Zehl 2788612f89 Fix includes on main.c 2011-07-18 18:25:14 +02:00
Stefan `Sec` Zehl f90c995053 Fix "use of unitialized variable" in xxtea.c and byteorder.c 2011-07-18 18:24:34 +02:00
Stefan `Sec` Zehl 628b88ce73 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-18 18:20:02 +02:00
Stefan `Sec` Zehl fcf3ec22c5 Fix includes to remove unneccessary dependencies on <allfonts.h> 2011-07-18 18:19:22 +02:00
schneider 00d4edb8aa Merge branch 'master' of github.com:r0ket/r0ket 2011-07-18 10:32:28 +02:00
schneider a684899016 openbeacon: use 24c3 key 2011-07-18 10:31:58 +02:00
schneider 0343e5f895 added stupid network byte order shuffel to xxtea 2011-07-18 10:31:20 +02:00
Stefan `Sec` Zehl 4b6bf26481 Fix make depend 2011-07-18 10:12:52 +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 4d5a355e96 Fix warnings. Remove unnecesssary dup of get_rc 2011-07-17 22:20:14 +02:00
Stefan `Sec` Zehl 71bd7e97c6 font_direction is no more 2011-07-17 22:09:13 +02:00
Stefan `Sec` Zehl ea90f92ebb add proper "const" qualifiers 2011-07-17 22:08:27 +02:00
Stefan `Sec` Zehl 54e29bc10b Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 21:58:44 +02:00
Stefan `Sec` Zehl c306f82883 Stupid error. Fixed. %-) 2011-07-17 21:58:02 +02:00
schneider 84d09d8fb9 default: we only have one file open 2011-07-17 21:02:37 +02:00
schneider cf9a19de17 openbeacon: set mac 2011-07-17 21:01:09 +02:00
schneider c9ca6d1be6 removed broken xxtea byte level routines 2011-07-17 20:34:59 +02:00
schneider bfbc6c2732 openbeacon: save seq to file 2011-07-17 20:32:17 +02:00
schneider 812a8f8b13 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 20:01:48 +02:00
schneider e2039ec2f4 added byteorder utils 2011-07-17 20:01:29 +02:00
Stefan `Sec` Zehl 093370587f add nrf_set_strength() - openbeacon needs it :-) 2011-07-17 20:01:07 +02:00
Stefan `Sec` Zehl 462d9f3a32 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 18:28:44 +02:00
Stefan `Sec` Zehl eaa37b4a4a font_direction is no more 2011-07-17 18:13:52 +02:00
schneider 30900a87ba openbeacon: fixes 2011-07-17 17:42:19 +02:00
Stefan `Sec` Zehl 7a6fc6bf5d Use r0ket sprite. 2011-07-17 17:25:22 +02:00
Stefan `Sec` Zehl d284f80562 Turns out I forgot the r0ket in the invaders font. Fixed. 2011-07-17 17:14:06 +02:00
Stefan `Sec` Zehl 1315e1a376 Raw encoded invaders font (it's smaller :) 2011-07-17 17:08:41 +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
Stefan `Sec` Zehl db4d929b2a Fix renderer so it can render partial characters at borders.
Try to make the code a bit clearer by encapsulating the coordinate transform stuff more clearly.
2011-07-17 16:49:14 +02:00
Stefan `Sec` Zehl f98c33d49b Remove more unnecessary depends 2011-07-17 15:13:59 +02:00
schneider c14b529742 added openbeacon helper files 2011-07-17 14:25:15 +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
Stefan `Sec` Zehl 6ca793a6ca Fix off-by-one in the MIRRORX case. *whoops* 2011-07-17 12:32:19 +02:00
Stefan `Sec` Zehl 0fb18e7991 Remove unneeded dependency 2011-07-17 12:26:06 +02:00
Stefan `Sec` Zehl 932455ccd3 Coordinate safe SetPixel. I will need it. 2011-07-17 12:19:35 +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 0c3045ebb4 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-17 10:54:18 +02:00
schneider 1710ad8b07 debug output for cdc example 2011-07-17 10:53:52 +02:00
Stefan `Sec` Zehl c7f207bb9e Do not print space in front of positive integers 2011-07-17 10:47:21 +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 6c3fdd3d5d select files to execute 2011-07-17 01:45:00 +02:00
Stefan `Sec` Zehl 5d67cfbd1a workaround for "make clean" problem 2011-07-17 01:39:55 +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
Stefan `Sec` Zehl e78594a650 Add encryption (+toggle) 2011-07-17 01:04:21 +02:00
Stefan `Sec` Zehl 42b6fa7a6b Whoops stupid decryption error %-) 2011-07-17 00:59:05 +02:00
Stefan `Sec` Zehl 4af33c9074 Enhance a bit, and adapt to crc-including send functions 2011-07-17 00:52:02 +02:00
Stefan `Sec` Zehl 2ee9846d1c Schneider will probably hate me, but change back to require packet buffer to include space for the crc16. 2011-07-17 00:50:54 +02:00
Stefan `Sec` Zehl 486d52b624 Sample application to transfer cursor movements 2011-07-16 23:04:40 +02:00
Stefan `Sec` Zehl 2ee12e413e Add config_set config_get to reconfiger MACs and Channel 2011-07-16 22:02:33 +02:00
Stefan `Sec` Zehl 6c0887c332 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-16 21:49:47 +02:00
Stefan `Sec` Zehl fc610dbd1e Use new utility functions and receive interface 2011-07-16 20:26:00 +02:00
Stefan `Sec` Zehl afd01eada1 Revamp receive function. It now checks everything and returns only
valid packets or 0 (timeout)
2011-07-16 20:25:15 +02:00
Stefan `Sec` Zehl 830ecd93d4 More support functions 2011-07-16 20:24:43 +02:00
schneider 588068f8dd Merge branch 'master' of github.com:r0ket/r0ket 2011-07-16 20:18:12 +02:00
schneider c75b52238c vcard: first working things 2011-07-16 20:17:46 +02:00
Stefan `Sec` Zehl 2a62c13c7e Also check crc on receive now 2011-07-16 19:55:41 +02:00
Stefan `Sec` Zehl 64ee2abbd7 Skip crc on receive 2011-07-16 19:43:23 +02:00
schneider 4d89ccf805 first steps for vcard 2011-07-16 19:12:35 +02:00
schneider f1f02b4c43 added ecc to basic lib 2011-07-16 03:41:23 +02:00
schneider b3e4323a37 filetransfer: better mac handling 2011-07-16 03:38:44 +02:00
schneider 3cc27add50 added xxtea encrypted file transfer 2011-07-14 23:40:03 +02:00
schneider 4b36410c09 added xxtea encrypted packet handling 2011-07-14 02:42:39 +02:00
schneider d8bad889d1 funk.c: transmit some text 2011-07-14 02:24:42 +02:00
schneider 3865132caa fixes 2011-07-14 02:24:33 +02:00
schneider ba41690912 library order 2011-07-14 02:24:14 +02:00
schneider d89b1be37f Merge branch 'master' of github.com:r0ket/r0ket 2011-07-14 02:18:39 +02:00
schneider 3ba6d6ef2f added byte wise xxtea encryption up to 32bytes 2011-07-14 02:16:57 +02:00
Stefan `Sec` Zehl 5ee854f6ac Start reading the dir to find .c0d files 2011-07-14 02:03:27 +02:00
Stefan `Sec` Zehl dd2a1ae5b5 cleanup and remove 2 warnings 2011-07-14 02:02:23 +02:00
Stefan `Sec` Zehl 508838231b add DoCharX 2011-07-14 02:01:41 +02:00
Stefan `Sec` Zehl fc85fde75e Merge branch 'master' of github.com:r0ket/r0ket 2011-07-14 01:40:55 +02:00
Stefan `Sec` Zehl 5f80216674 Add a few utility functions. 2011-07-14 01:35:56 +02:00
schneider f24b88f84b Merge branch 'master' of github.com:r0ket/r0ket 2011-07-14 01:28:19 +02:00
schneider 30e793ecdf added xxtea code for arm 2011-07-14 01:27:54 +02:00
Stefan `Sec` Zehl 9ac724aee5 fix order of static libs. Again. 2011-07-14 00:56:34 +02:00
schneider b8bc4e837a sending works 2011-07-14 00:13:16 +02:00
schneider 59bb6ba046 added simple block transfer code 2011-07-13 23:03:40 +02:00
Stefan `Sec` Zehl 0e87c693f4 More utility functions in lcd/print.c 2011-07-13 02:15:47 +02:00
Stefan `Sec` Zehl 12818d6411 Cleanup executor 2011-07-13 01:13:50 +02:00
Stefan `Sec` Zehl 02b45cdce2 Add lcd/print.c for easier lcd output 2011-07-13 01:13:19 +02:00
Stefan `Sec` Zehl d25d57313c Update exe to use new f_get_rc_string() 2011-07-13 00:23:58 +02:00
Stefan `Sec` Zehl f3f1c01d57 Add f_get_rc_string to get result code strings.
Probably only use for debugging
2011-07-13 00:22:18 +02:00
Stefan `Sec` Zehl 01ae52af76 Add executor in new menu-style 2011-07-13 00:07:36 +02:00
Stefan `Sec` Zehl e4e26de687 Fix warnings (and sanity-check for 0-bytes in utf8-strings 2011-07-13 00:07:22 +02:00
schneider 9d4d62f6a8 added cdc example 2011-07-10 19:45:47 +02:00
schneider 198c48f79a Merge branch 'master' of github.com:r0ket/r0ket 2011-07-10 18:02:30 +02:00
schneider 5697926358 moved usbcdc to own lib 2011-07-10 18:02:07 +02:00
lilafisch 2b265e531f sw fuer piezo m0dul 2011-07-10 18:01:18 +02:00
schneider d473eef054 removed interrupts from timer api 2011-07-10 16:20:03 +02:00
schneider 1848185e80 more minimalistic minimal.c 2011-07-10 15:41:16 +02:00
schneider 068cf4a0d6 msc: made msc optional 2011-07-10 15:32:20 +02:00
schneider e3bc255d28 added flash target to makefile 2011-07-10 14:24:05 +02:00
schneider 8e07d95657 rf: CE low on startup 2011-07-10 02:40:56 +02:00
Stefan `Sec` Zehl 8987b5c15c Move crc handling to send function. Also: change chip-crc to openbeacon compatible values 2011-07-10 02:19:10 +02:00
schneider 1e7e82b2c5 nrf: use single byte crc 2011-07-10 02:07:50 +02:00
Stefan `Sec` Zehl a93ad6a9ef New version including mirror/voltage and fixed crc (byte swap) 2011-07-10 01:28:03 +02:00
Stefan `Sec` Zehl b726d0d7bd Support for x-inverted display 2011-07-09 23:23:33 +02:00
Stefan `Sec` Zehl 51286999ea Sending works! 2011-07-09 22:49:24 +02:00
Stefan `Sec` Zehl d2a31aa6b0 Clear first, display later. 2011-07-09 22:48:26 +02:00
Stefan `Sec` Zehl 76f080d302 Optional check for pin connect error :-) 2011-07-09 22:47:38 +02:00
Stefan `Sec` Zehl 7701a48f69 replace systemInit with its contents, so we can remove unnecessary code here 2011-07-09 22:13:46 +02:00
Stefan `Sec` Zehl 308c04b542 Remove now duplace menu code, to make them compile again 2011-07-09 20:23:39 +02:00
Stefan `Sec` Zehl 68f69b34ee Move menu code into basic/menu.c, add keyinput with wait, fix some types. 2011-07-09 20:19:05 +02:00
Stefan `Sec` Zehl f941dd5451 Optimize Makefiles (add auto-dependencies),
and convert basic/ into a lib like the other subdirs
2011-07-09 20:17:00 +02:00
Stefan `Sec` Zehl 2985d1b9f5 Fix executor for adjustable ram size 2011-07-09 15:13:29 +02:00
Stefan `Sec` Zehl 1bd05ca9cf Update funk test app 2011-07-09 14:53:33 +02:00
Stefan `Sec` Zehl 5feababa13 Make DoInt properly print "0" values. 2011-07-09 14:53:01 +02:00
Stefan `Sec` Zehl 0abca10597 Fix receive so that it returns as soon as a packet arrives. 2011-07-09 14:51:47 +02:00
schneider 6ebb783b1e added space invaders applet 2011-07-08 01:31:05 +02:00
schneider 5f17ea9bcd Merge branch 'master' of github.com:r0ket/r0ket 2011-07-08 01:30:43 +02:00
schneider 3319c24c6d 2k space for applets 2011-07-08 01:30:22 +02:00
Stefan `Sec` Zehl bd4eb20d5e 1st attempt at sending a packet 2011-07-08 00:39:51 +02:00
Stefan `Sec` Zehl 821acca753 Update test app. Can receive packet and check crc. 2011-07-08 00:11:31 +02:00
Stefan `Sec` Zehl b0f5c3e9b6 add openbeacon-compatible crc (CCITT-16) 2011-07-08 00:10:53 +02:00
Stefan `Sec` Zehl fc7b630902 Fix code, now that we have sspSendReceive 2011-07-08 00:06:53 +02:00
Stefan `Sec` Zehl 1c2846734c Stop gcc from reordering functions in loadables. We want the first function first in the binary... 2011-07-07 18:41:06 +02:00
schneider e7adf388bf added a loadable with functions 2011-07-07 18:28:07 +02:00
schneider a534cb9215 modified nrf code to use sspSendReceive 2011-07-06 09:59:08 +02:00
schneider 1d6f1a3adc made rf test work 2011-07-06 02:54:15 +02:00
Stefan `Sec` Zehl 50ac82f893 Workaround render bug. TODO: make nice. 2011-07-05 15:49:44 +02:00
Stefan `Sec` Zehl 70bf904c1c Fix invaders font, simple patch to spaceinvaders.c to see if it renders ok 2011-07-05 15:48:26 +02:00
Stefan `Sec` Zehl 8113cd8931 Add invaders font (source & makefonitified). Go iggy, go! 2011-07-05 15:25:54 +02:00
Stefan `Sec` Zehl 9d23c476da More debugging 2011-07-05 14:42:12 +02:00
Stefan `Sec` Zehl 4a21f48e27 more debugging app 2011-07-05 11:52:09 +02:00
Stefan `Sec` Zehl f1c6b7c55c hook funk up to build. Add testing app, try to implement receiving 2011-07-05 11:11:08 +02:00
Stefan `Sec` Zehl 876ee2474f Fix loadables to honor size $RAMCODE from Makefile.inc 2011-07-05 02:45:55 +02:00
Stefan `Sec` Zehl a03f202e7c First attempt at nrf support code 2011-07-05 02:33:36 +02:00
Stefan `Sec` Zehl 8c0c89e407 Fix gitignore and remove autogenerated wrapper.c 2011-07-05 02:32:24 +02:00
Stefan `Sec` Zehl fc286a1551 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-04 22:50:44 +02:00
Stefan `Sec` Zehl 52d4a93fc7 Impement "enter==ISP" on bootup as discussed 2011-07-04 22:49:35 +02:00
schneider 79efab54f6 added minimal example 2011-07-04 02:04:33 +02:00
schneider 06183ea9fb added test of the asym enc 2011-07-03 22:55:56 +02:00
Stefan `Sec` Zehl 26c01e0baa Disable USB interrupts while updting display.
Hope this is correct. It appears to work, at least :-)
2011-06-27 10:43:46 +02:00
Stefan `Sec` Zehl bb4b0f1b9c Add global usbMSCenabled flag.
Make ISPandReset honor this flag by disabling MSC first
2011-06-27 01:35:32 +02:00
Stefan `Sec` Zehl 050df7db06 Menuentry for USB unmount 2011-06-27 00:59:57 +02:00
Stefan `Sec` Zehl 31584b0a4d Remove hacky workaround. Turns out we can keep BTN0 :-) 2011-06-26 11:45:05 +02:00
Stefan `Sec` Zehl 878092c569 Hack: ignore BTN_0 if not configured correctly. (USB:MSC stuff) 2011-06-26 02:57:08 +02:00
Stefan `Sec` Zehl 807ef50254 Whoops. Missed one file for the MODULE=/APP= change 2011-06-21 01:02:45 +02:00
schneider 2d25081337 Merge branch 'master' of github.com:r0ket/r0ket 2011-06-20 23:40:56 +02:00
Stefan `Sec` Zehl bc1c118db1 Fix gitignores 2011-06-20 23:38:55 +02:00
Stefan `Sec` Zehl f6a68ef975 rename "module" to "application" to reduce confusion with "m0dules" 2011-06-20 23:35:07 +02:00
schneider e7da0619e2 added license 2011-06-20 23:03:56 +02:00
schneider 75b4e005ce changed paths in config files 2011-06-19 22:03:37 +02:00
schneider 883e642618 new tree structure 2011-06-19 21:01:00 +02:00