1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-29 09:50:39 +02:00
Commit Graph

50 Commits

Author SHA1 Message Date
Werner Almesberger
d33449e128 tools/libtxt/: move alloc_sprintf from font.c to util.h, for later sharing 2012-07-01 20:32:56 -03:00
Werner Almesberger
8cfe660a2e tools/ant-cl/plot-diag: visualize diagnostic results with gnuplot
usage:

ant-cl -D >file
plot-diag file
2012-07-01 20:17:19 -03:00
Werner Almesberger
2de055ce1b tools/ant-cl/ant-cl.c (send_diag): print the requested pattern (if verbose) 2012-07-01 19:53:53 -03:00
Werner Almesberger
206eb4d591 clean up diagnostic more and make it more robust
A number of changes:
- don't enable interrupts, since they often cause hangs (not sure why)
- remove GND measurement
- wait 100 us between AMUX setup and start of conversion, to let input
  settle
- reduce delay between line setup and samping from 100 ms to 50 ms,
  for this is already sufficient
2012-07-01 19:40:01 -03:00
Werner Almesberger
1b7639c53b tools/ant-cl/ant-cl.c (send_diag): remove extra ">" from progress 2012-07-01 18:05:46 -03:00
Werner Almesberger
2f82a4f306 tools/ant-cl/ant-cl.c: add diagnostic mode (-D); various RF comm improvements
The RF communicaion improvements:
- separate ACK handling from packet(),
- pass ACK payload to caller,
- take reception timeout from callers,
- -d also dumps received packets.
2012-07-01 11:55:51 -03:00
Werner Almesberger
f5b85a464e tools/ant-cl/Makefile: update convenience targets for name and directory change 2012-07-01 10:44:42 -03:00
Werner Almesberger
fbe0767eb4 tools/ant-txt/: new utility to compose texts for Antorcha 2012-06-30 14:58:25 -03:00
Werner Almesberger
60e9a1e919 tools/libtxt/edit.c (text2edit): correct handling of newlines 2012-06-30 14:57:45 -03:00
Werner Almesberger
3faf58c601 tools/libtxt/font.c (do_draw): we can now have negative coordinates; clip them too 2012-06-30 13:57:03 -03:00
Werner Almesberger
5e94179a29 tools/libtxt/edit.c (text2edit): disentangle confused logic of "e" variable
We used it for the whole list and the current element, which didn't work
very well.
2012-06-30 13:14:57 -03:00
Werner Almesberger
ccc27577cb tools/libtxt/edit.c (text2edit): properly finish parsing (it always failed) 2012-06-30 13:02:43 -03:00
Werner Almesberger
6ffcd815f9 tools/libtxt/font.c (free_image, free_font): allow NULL pointer 2012-06-30 12:59:50 -03:00
Werner Almesberger
350283375c tools/libtxt/: create library instead of executable 2012-06-30 12:52:01 -03:00
Werner Almesberger
758d9e7fc4 tools/: rename "antorcha" to ant-cl (command line) and move to tools/ant-cl/ 2012-06-30 12:40:06 -03:00
Werner Almesberger
56290e0174 tools/libtxt/: add edit compiler (untested) 2012-06-30 12:34:18 -03:00
Werner Almesberger
2a83110369 tools/libtxt/: add image drawing (future <IMG name> directive) 2012-06-30 12:01:24 -03:00
Werner Almesberger
e2eced62a2 tools/libtxt/edit.c: forgot to commit in 67a3ecc798 2012-06-30 11:44:09 -03:00
Werner Almesberger
3ef4fb3ca2 tools/libtxt/: make_font takes ownership of the image
This way, we don't need to track/free the image separately.
2012-06-30 11:43:13 -03:00
Werner Almesberger
67a3ecc798 tools/libtxt/: add rendering of (compiled) edits (untested, WIP) 2012-06-29 22:52:25 -03:00
Werner Almesberger
d05c6a9558 tools/libtxt/: restructure to make more modular and avoid global variables 2012-06-29 22:21:30 -03:00
Werner Almesberger
60c8145991 tools/libtxt/fonts/: 4x5, 4x7, 5x5, and 5x7 font 2012-06-29 21:04:58 -03:00
Werner Almesberger
2514c0891a tools/libtxt/: text composition library (WIP) 2012-06-29 21:04:11 -03:00
Werner Almesberger
f9e253963b tools/Makefile: add targets "clean" and "spotless" 2012-06-29 15:30:55 -03:00
Werner Almesberger
28a3689672 tools/: add cross-compilation for the Ben NanoNote
This uses the OpenWRT toolchain. It creates a static executable that will
also run on JLime. Graphical output is disabled so far.
2012-06-29 15:30:08 -03:00
Werner Almesberger
01a9eebc99 tools/bit2ant: renamed to xbm2ant 2012-06-28 16:36:14 -03:00
Werner Almesberger
69ee8dfec7 tools/antorcha.c (usage): explain options and show parameter names and defaults 2012-06-28 01:21:47 -03:00
Werner Almesberger
00f0b4e692 tools/antorcha.c: new option -R to command a reset 2012-06-28 00:39:15 -03:00
Werner Almesberger
fe3ff8d5e1 fw/antorcha.c: cleanup
- rename "param" to send_param"
- move "map" from add_param to compilation unit scope
2012-06-27 03:32:10 -03:00
Werner Almesberger
558f5a7503 fw/antorcha.c (send_image, param): update hash when sending salt 2012-06-27 03:30:33 -03:00
Werner Almesberger
3241822a93 tools/antorcha.c: add parameter upload 2012-06-27 03:28:41 -03:00
Werner Almesberger
5b1f722568 tools/: -S now dumps samples to stdout; -S -S produces graphical output 2012-06-23 14:35:44 -03:00
Werner Almesberger
2f120fa683 tools/antorcha.c (samples): move reading of X/Y samples to shared function 2012-06-23 14:25:08 -03:00
Werner Almesberger
ea994c8ed0 tools/antorcha.c (samples): show the timestamp when printing sample values 2012-06-21 19:19:40 -03:00
Werner Almesberger
77bd5797d3 tools/plot.c: clear sample mode screen with C 2012-06-21 18:56:18 -03:00
Werner Almesberger
87050bc12a tools/: exit from sample mode by pressing Q or by closing the window 2012-06-21 18:48:54 -03:00
Werner Almesberger
4eb1065dd7 tools/: add sampling mode (-S) with graphical output 2012-06-21 16:21:56 -03:00
Werner Almesberger
7356fccbfd tools/Makefile: target "off" to load an empty image 2012-06-21 12:57:35 -03:00
Werner Almesberger
3b7c3017fc tools/Makefile: new targets "update" and "ping" for firmware update and ping 2012-06-20 18:43:26 -03:00
Werner Almesberger
647f029775 tools/bit2ant: X bitmap to Antorcha image converter 2012-06-20 18:28:30 -03:00
Werner Almesberger
87f0ed17fc tools/antorcha.c (send_image): fix packet type
Argh. Image upload now seems to work.
2012-06-20 17:17:23 -03:00
Werner Almesberger
625f262e1d tools/antorcha.c: new option -d to enable message content dumping
This was a quick and dirty compile-time option before.
2012-06-20 17:17:16 -03:00
Werner Almesberger
bafdc8c563 tools/antorcha.c (usage): document image upload syntax 2012-06-20 17:13:30 -03:00
Werner Almesberger
1d1c83f926 tools/antorcha.c: add image upload (doesn't work yet) 2012-06-20 16:50:23 -03:00
Werner Almesberger
ea2cd37c04 properly implement "ping" and invoke it with antorcha -P 2012-06-20 11:31:56 -03:00
Werner Almesberger
823fdcfcb1 tools/antorcha.c: require option -F for firmware upload 2012-06-20 10:56:11 -03:00
Werner Almesberger
cc4b5607c7 RESET protocol to jump from application to boot loader without power cycling 2012-06-18 20:31:20 -03:00
Werner Almesberger
332f8aceb6 add ben-wpan to include search paths, for at86rf230.h 2012-06-18 19:24:12 -03:00
Werner Almesberger
89b10939f9 make firmware upload protocol less secure but lean; boot loader works 2012-06-18 18:22:56 -03:00
Werner Almesberger
55d212983f tools/: command-line tool to upload firmware, images, and parameters (WIP)
This tool will also need adjusting after dumbing down the boot loader.
2012-06-18 11:00:10 -03:00