nanohub: move common definitions to common header and adjust code

this is a no-op change;
it moves definitions from os-specific to project-wide generic
header, to allow both HAL and FW use the same data structures.

There are minor code changes to ensure correct type handling.
Some changes done to source formatting as well

Bug: 31393280
Change-Id: I29d3034e1956ea6bc89b92424425894d408a95e0
Signed-off-by: Alexey Polyudov <[email protected]>
9 files changed
tree: fa14ed197499d1300815c8198fe05aafefc05b75
  1. contexthubhal/
  2. firmware/
  3. inc/
  4. lib/
  5. sensorhal/
  6. util/
  7. .gitignore