[PATCH v2] libmisc/shell: Add an i2c command

2022-08-28 Thread chrisj
From: Chris Johns Closes #4708 --- cpukit/include/rtems/shellconfig.h | 7 + cpukit/libmisc/shell/main_i2c.c| 653 + spec/build/cpukit/objshell.yml | 1 + 3 files changed, 661 insertions(+) create mode 100644 cpukit/libmisc/shell/main_i2c.c diff --git a/

[PATCH RTEMS v2] Add i2c command

2022-08-28 Thread chrisj
The patch adds an i2c command. It is a single command to test and explore I2C buses on hardware. The command lets you string together reads and writes on a single command line to access a number of devices so you can script basic functionality simply. This command adds to the existing i2cdetect,