add rtu and common dirs

Add rtu (remote terminal unit) and common dirs and enable this in top
level meson.build file. Add meson option for modbus-rtu and
conditionally include rtu based on this option.

Tested: meson build passed.

Change-Id: I9b3b061cf31ebb5195854f89ce399bc765c64a85
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
4 files changed
tree: dbd8bd7e0a232a420bfacf991f4589c322050b87
  1. common/
  2. rtu/
  3. subprojects/
  4. .clang-format
  5. .clang-tidy
  6. .gitignore
  7. LICENSE
  8. meson.build
  9. meson.options
  10. OWNERS
  11. README.md
README.md

phosphor-modbus

phosphor-modbus provides a set of software applications to query sensors info, inventory data, firmware info of various modbus devices.

Dependencies

The phosphor-modbus requires phosphor-dbus-interfaces, sdbusplus and phosphor-logging.

Building

The phosphor-modbus is built using meson.

meson build && ninja -C build