tree: 95efd74efaa7587886dbd986639869d8f143c59a [path history] [tgz]
  1. args.gni
  2. BLEManagerImpl.cpp
  3. BLEManagerImpl.h
  4. BlePlatformConfig.h
  5. BUILD.gn
  6. CHIPDevicePlatformConfig.h
  7. CHIPDevicePlatformEvent.h
  8. CHIPLinuxStorage.cpp
  9. CHIPLinuxStorage.h
  10. CHIPLinuxStorageIni.cpp
  11. CHIPLinuxStorageIni.h
  12. CHIPPlatformConfig.h
  13. ConfigurationManagerImpl.cpp
  14. ConfigurationManagerImpl.h
  15. ConnectivityManagerImpl.cpp
  16. ConnectivityManagerImpl.h
  17. ConnectivityUtils.cpp
  18. ConnectivityUtils.h
  19. DeviceInstanceInfoProviderImpl.cpp
  20. DeviceInstanceInfoProviderImpl.h
  21. DiagnosticDataProviderImpl.cpp
  22. DiagnosticDataProviderImpl.h
  23. DnssdImpl.cpp
  24. DnssdImpl.h
  25. InetPlatformConfig.h
  26. KeyValueStoreManagerImpl.cpp
  27. KeyValueStoreManagerImpl.h
  28. Logging.cpp
  29. NetworkCommissioningDriver.h
  30. NetworkCommissioningEthernetDriver.cpp
  31. NetworkCommissioningThreadDriver.cpp
  32. NetworkCommissioningWiFiDriver.cpp
  33. OTAImageProcessorImpl.cpp
  34. OTAImageProcessorImpl.h
  35. PlatformManagerImpl.cpp
  36. PlatformManagerImpl.h
  37. PosixConfig.cpp
  38. PosixConfig.h
  39. README.md
  40. SystemPlatformConfig.h
  41. SystemTimeSupport.cpp
  42. ThreadStackManagerImpl.cpp
  43. ThreadStackManagerImpl.h
  44. WirelessDefs.h
src/platform/NuttX/README.md

Overview of CHIP NuttX Adaption

This platform is based on Linux adaptation, The code introduction can be seen in Linux's README.md:src/platform/Linux/README.md

To avoid integration errors caused by CI build breaks on the NuttX platform when new features are added to the Linux code, the current Linux code was copied as the base for NuttX to avoid a strong dependency between the two platforms.

The reason for adapting based on Linux is that NuttX is also a POSIX-compliant operating system, and the code can be almost completely reused while keeping the definitions and comments with the Linux prefix, which makes it easier to cherry-pick modifications from the Linux platform to the NuttX platform in the future.