Some NuttX compat + coding conventions