From 4ed60d9076b23307cc86da136562cdc741370d50 Mon Sep 17 00:00:00 2001 From: Vijay Kumar Banerjee Date: Tue, 25 Jun 2019 12:43:43 +0530 Subject: i2c tool : port to RTEMS --- rtemsbsd/rtems/rtems-bsd-shell-i2c.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 rtemsbsd/rtems/rtems-bsd-shell-i2c.c (limited to 'rtemsbsd/rtems/rtems-bsd-shell-i2c.c') diff --git a/rtemsbsd/rtems/rtems-bsd-shell-i2c.c b/rtemsbsd/rtems/rtems-bsd-shell-i2c.c new file mode 100644 index 00000000..2e1da406 --- /dev/null +++ b/rtemsbsd/rtems/rtems-bsd-shell-i2c.c @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2019 Vijay Kumar Banerjee +#include + +rtems_shell_cmd_t rtems_shell_I2C_Command = { + .name = "i2c", + .usage = "i2c [args]", + .topic = "i2c", + .command = rtems_bsd_command_i2c +}; -- cgit v1.2.3