1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 17:54:59 +02:00
ben-wpan/cntr/fw/cntr
Werner Almesberger 4e568b0f1a Adapted firmware for V2 hardware.
- cntr/cntr.h: new file for variables shared among cntr.c and ep0.c
- cntr/cntr.c (cntr), cntr/ep0.c (cntr): moved to cntr/cntr.h
- fw/common/io.h (VERSION_ID): we can detect the board version by reading
  P2_1 (GND on version 1, open on version 2)
- cntr/cntr.c (init_io): added board version detection, board-specific
  GPIO initialization, and a LED blink to indicate version 2
- cntr/cntr.h (hw_type), cntr/cntr.c (hw_type), cntr/ep0.c (my_setup),
  common/config.h (HW_TYPE): the hardware type is now determined at run
  time
2010-11-03 12:20:13 -03:00
..
cntr.c Adapted firmware for V2 hardware. 2010-11-03 12:20:13 -03:00
cntr.h Adapted firmware for V2 hardware. 2010-11-03 12:20:13 -03:00
descr.c Completed the basic counter firmware. Now it just has to work ... 2010-08-23 19:56:02 -03:00
ep0.c Adapted firmware for V2 hardware. 2010-11-03 12:20:13 -03:00
Makefile Completed the basic counter firmware. Now it just has to work ... 2010-08-23 19:56:02 -03:00