mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-29 12:32:28 +02:00
4e568b0f1a
- 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 |
||
---|---|---|
.. | ||
config.h | ||
io.h | ||
Makefile | ||
regs.h |