Commit graph

860 commits

Author SHA1 Message Date
Stefan `Sec` Zehl
6c387d39a4 Define strtok_r before using it. C99 requires it. 2011-05-21 02:07:52 +02:00
Stefan `Sec` Zehl
d2b20e25bd TIL: nested functions are a gcc extension.
So un-nest them to be more standards compliant
(cherry picked from commit f105b357822bfcbae17cac517771e0414eea76fa)
2011-05-21 01:48:15 +02:00
Stefan `Sec` Zehl
eadc01177e Merge branch 'master' of github.com:p42/project42 2011-05-21 01:30:17 +02:00
Stefan `Sec` Zehl
589b4aaf6a move reinvoke_isp to separate file, and fix it.
Note: Proto#1 badges need an small hardware patch %-)
2011-05-21 01:29:18 +02:00
kiu
7e353dfc35 added comment to remove int handler from gpio.c 2011-05-21 01:26:34 +02:00
Stefan `Sec` Zehl
3f3d18b1bb Merge remote-tracking branch 'remotes/origin/microbuilder-fixes' 2011-05-21 01:22:04 +02:00
kiu
76e3cf789f prefixed lcd functions
lcd uses basic now
2011-05-21 01:12:09 +02:00
kiu
dd5b101589 use basic/basic
indent
removed unused stuff
2011-05-21 00:53:09 +02:00
kiu
53c678cef5 shortened RB_ 2011-05-21 00:31:58 +02:00
kiu
86b2d28ff3 added basic/basic containing badge defaults 2011-05-21 00:01:53 +02:00
bsx
2a58e88fd2 added eeprom read/write code
Only single bytes can be read or written, page read/write will follow.
Added testcode in main.c to write a value to the EEPROM and read+verify
it.
2011-05-19 14:05:28 +02:00
schneider
96d6cbd616 added adc readout for the battery voltage and shutdown 2011-05-19 00:20:10 +02:00
Stefan `Sec` Zehl
1cc2fd1384 main returns int, not void. while gcc doesn't care, clang/llvm insists on this 2011-05-18 17:47:38 +02:00
Stefan `Sec` Zehl
0b6fcc1354 Add help and some documentation. 2011-05-16 12:57:31 +02:00
Stefan `Sec` Zehl
638e7ad09d Add orbitron font as per bsx' wish. Update ubuntu font file with licence 2011-05-16 11:54:47 +02:00
Stefan `Sec` Zehl
d7cade6bce Merge branch 'master' of github.com:p42/project42 2011-05-16 11:49:12 +02:00
Stefan `Sec` Zehl
c3436f19c4 Add font licence to output, deal better with font names.
Add some meta informatiou to bottom of C file (including compression ratio)
+ some cleanup
2011-05-16 11:47:45 +02:00
Stefan `Sec` Zehl
ff46c3cedb Whoops. Fix include, too 2011-05-16 01:21:12 +02:00
Stefan `Sec` Zehl
ed83a35379 Font cleanup. Remove fonts with unclear licences, add replacement font 2011-05-16 01:13:31 +02:00
Stefan `Sec` Zehl
c5a92a49fa Get real font name from ttf 2011-05-16 01:07:26 +02:00
Stefan `Sec` Zehl
1aaf25d5cc Add support for characters starting with a set pixel. 2011-05-16 00:15:39 +02:00
Stefan `Sec` Zehl
d3882b0b80 Fix buglet which generated spurious perl warnings (no effect on generated fonts) 2011-05-15 22:33:00 +02:00
Stefan `Sec` Zehl
fe229628b3 Debugging tool for fonts.
(just checking it in so it doesn't get lost)
2011-05-15 22:20:57 +02:00
Stefan `Sec` Zehl
5bd4236bdf .ttf sources for our fonts 2011-05-15 22:14:15 +02:00
Stefan `Sec` Zehl
27ad07e791 Implement command line options 2011-05-15 22:13:43 +02:00
kiu
57d578404e ran fromdos on *.c *.h 2011-05-15 13:27:49 +02:00
kiu
5b920f13a4 Merge branch 'microbuilder-fixes' of github.com:p42/project42 2011-05-15 13:01:12 +02:00
kiu
1b0ccf7af4 fixed gpioSetInterrupt to respect parameters 2011-05-15 12:57:45 +02:00
Stefan `Sec` Zehl
5f4d76c18e Some more cleanup 2011-05-15 00:56:33 +02:00
Stefan `Sec` Zehl
073ff2c25d more cleanup and typo fixing 2011-05-15 00:38:09 +02:00
Stefan `Sec` Zehl
ef50bdb98d Now creates compressed fonts. Yay! 2011-05-14 22:51:14 +02:00
Stefan `Sec` Zehl
0f3f4b951c Correctly support fonts with uncompressable characters 2011-05-14 22:44:18 +02:00
Stefan `Sec` Zehl
d2ba467294 Cleanup 2011-05-14 22:32:10 +02:00
Stefan `Sec` Zehl
7e80ec2bb1 Update font list 2011-05-14 22:24:45 +02:00
Stefan `Sec` Zehl
b7a2bb3b03 Modiify font list. Also activate C99 compiler 2011-05-14 22:23:55 +02:00
Stefan `Sec` Zehl
f4ac900579 New compressed fonts 2011-05-14 22:23:25 +02:00
Stefan `Sec` Zehl
38fb18fdb5 Support for new packed fonts. Restructure a bit 2011-05-14 22:21:51 +02:00
Stefan `Sec` Zehl
289881e354 remove uncompressed fonts 2011-05-14 22:17:57 +02:00
Stefan `Sec` Zehl
4d89560723 Support for non-integer heights 2011-05-14 22:15:30 +02:00
Stefan `Sec` Zehl
0eff38ac06 decode PK-compressed bitmap fonts 2011-05-14 22:11:36 +02:00
Stefan `Sec` Zehl
0709d52b3a Merge branch 'master' of github.com:p42/project42 2011-05-13 15:21:19 +02:00
Stefan `Sec` Zehl
3c58231899 Test bigger font now 2011-05-13 15:20:34 +02:00
Stefan `Sec` Zehl
c4617f0988 improve build infrastructure a bit 2011-05-13 15:20:08 +02:00
Stefan `Sec` Zehl
e074b46c43 More bigger fonts 2011-05-13 15:19:43 +02:00
Stefan `Sec` Zehl
202f2e253a Ooups forgot new fonts.h 2011-05-13 15:18:32 +02:00
kiu
c3e5b6559a ran fromdos 2011-05-13 15:14:21 +02:00
Stefan `Sec` Zehl
99456e3ce0 Compress fonts a little. Chop of space at beginning and end 2011-05-13 03:19:47 +02:00
Stefan `Sec` Zehl
7647b79033 ugly hack to convert .bdf to c files.
Turns out, fontforge's rasterizer sucks, so my .bdf files were
ugly. I suggest you use makefont.pl instead.
2011-05-12 20:32:41 +02:00
Stefan `Sec` Zehl
cbacae9f70 Small tool to create raster fonts from ttf 2011-05-12 20:31:26 +02:00
Stefan `Sec` Zehl
410bfc2e0d Fix font heights now that the renderer is capable 2011-05-12 14:18:06 +02:00