Commit Graph

136 Commits

Author SHA1 Message Date
Øyvind Kolås 5244d1cda2 removed 76 bytes from stringin 2011-08-03 18:49:28 +02:00
Stefan `Sec` Zehl c62c06c087 Make prototypes single-line so my parser understands them 2011-08-03 18:21:49 +02:00
Stefan `Sec` Zehl 11ae0a5b9a Make Timeout of 0 work as intended (no timeout) 2011-08-03 18:19:07 +02:00
Stefan `Sec` Zehl 3457388389 Guard against double-include 2011-08-03 16:50:25 +02:00
schneider 8f7664a938 vcard: moved more code into loadables 2011-08-03 10:54:22 +02:00
schneider b07eb7c577 executor: made encryption work 2011-08-03 08:59:55 +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 e25e591287 support repeat. Swap up&down. Also some cleanup 2011-08-02 23:34:47 +02:00
Stefan `Sec` Zehl 691fa7d09b Add getInputWaitRepeat, to support key repeat 2011-08-02 23:34:13 +02:00
Stefan `Sec` Zehl cf219be0c1 fix a warning 2011-08-02 21:01:48 +02:00
Stefan `Sec` Zehl a267e2caf6 Support menu timeout 2011-08-02 20:49:55 +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 3c3d1032c5 Correct default for contrast setting.
Add alivecheck(systick blink) setting
2011-08-02 10:54:05 +02:00
Stefan `Sec` Zehl 2d3d2af051 Config variables for flame 2011-08-02 02:09:37 +02:00
Stefan `Sec` Zehl 623582bbb4 Saner code. 2011-08-02 00:03:37 +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 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 2a632870fd added 32 level contrast 2011-08-01 02:18:03 +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 aa821fca3f Fix a few things. 2011-07-31 22:13:06 +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 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 e8f06b2388 Some time related functionality 2011-07-30 15:25:14 +02:00
Stefan `Sec` Zehl 76ee150b3f Add GetTimer() 2011-07-29 19:06:23 +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 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 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 2da811bf61 Make our systick interval a #define 2011-07-27 00:25:24 +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 cb5ebc57d8 add APP=initial, template for initial firmware to be flashed. 2011-07-26 01:55:33 +02:00
Stefan `Sec` Zehl 7eba1c5240 Fix delayms_power to do proper timecounting 2011-07-26 01:04:34 +02:00
bernd ea8754c1dd Implemented time counter in simulat0r 2011-07-25 08:50:33 +02:00
bernd 34b0ba6e58 Renamed C++ keyword "new" to "qnew" in function prototypes 2011-07-24 22:25:35 +02:00
roy rocket f668dff151 ifdefed ASMs 2011-07-24 22:14:06 +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 6a76e01a67 bring baisc.h in line with new uuid.h form schneider 2011-07-24 10:28:17 +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 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
Stefan `Sec` Zehl 63572af567 Refactor getInput() using getInputRaw() 2011-07-21 20:37:04 +02:00
schneider b49a49f31c filesystem: add option to decode loadables 2011-07-19 01:21:05 +02:00
schneider 27412ef03d basic: added cbc-mac with xxtea for messages with n*4 words 2011-07-19 00:51:07 +02:00
Stefan `Sec` Zehl f4dee3550c Remove argument from lcdDisplay() and ISPandReset() 2011-07-18 22:09:31 +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 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 0343e5f895 added stupid network byte order shuffel to xxtea 2011-07-18 10:31:20 +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 e2039ec2f4 added byteorder utils 2011-07-17 20:01:29 +02:00
Stefan `Sec` Zehl eaa37b4a4a font_direction is no more 2011-07-17 18:13:52 +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 3865132caa fixes 2011-07-14 02:24:33 +02:00
schneider 3ba6d6ef2f added byte wise xxtea encryption up to 32bytes 2011-07-14 02:16:57 +02:00
schneider 30e793ecdf added xxtea code for arm 2011-07-14 01:27:54 +02:00
Stefan `Sec` Zehl 02b45cdce2 Add lcd/print.c for easier lcd output 2011-07-13 01:13:19 +02:00
schneider 068cf4a0d6 msc: made msc optional 2011-07-10 15:32:20 +02:00
Stefan `Sec` Zehl d2a31aa6b0 Clear first, display later. 2011-07-09 22:48:26 +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 b0f5c3e9b6 add openbeacon-compatible crc (CCITT-16) 2011-07-08 00:10:53 +02:00
Stefan `Sec` Zehl a03f202e7c First attempt at nrf support code 2011-07-05 02:33:36 +02:00
Stefan `Sec` Zehl 52d4a93fc7 Impement "enter==ISP" on bootup as discussed 2011-07-04 22:49:35 +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 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
schneider 883e642618 new tree structure 2011-06-19 21:01:00 +02:00