1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

Introduce library with ATSPI access functions (largely untested)

- tools/include/atspi.h, tools/lib/Makefile, tools/lib/atspi.c: library
  with ATSPI access functions
- tools/atspi-id/Makefile: use libatspi
- tools/atspi-id/atspi-id.c (main) use atspi_open instead of open_usb
- fw/atspi/at86rf230.h: moved to fw/include/
- fw/include/at86rf230.h: added ID registers
- fw/atspi/ep0.c: removed stray #endif
This commit is contained in:
Werner Almesberger
2010-08-20 16:27:24 -03:00
parent bf74a0348b
commit ac349b0bc0
7 changed files with 171 additions and 9 deletions

View File

@@ -211,7 +211,6 @@ static __bit my_setup(struct setup_request *setup) __reentrant
nSS = 1;
usb_send(&ep0, buf, size, NULL, NULL);
return 1;
#endif
default:
error("Unrecognized SETUP: 0x%02x 0x%02x ...\n",

View File

@@ -26,4 +26,11 @@ enum at86rf230_spi_cmd {
#define MAX_PSDU 127 /* octets, see AT86RF230 manual section 8.1 */
#define SRAM_SIZE 128
enum at86rf230_regs {
AT86RF230_REG_PART_NUM = 0x1c,
AT86RF230_REG_VERSION_NUM = 0x1d,
AT86RF230_REG_MAN_ID_0 = 0x1e,
AT86RF230_REG_MAN_ID_1 = 0x1f,
};
#endif /* !AT86RF230_H */