diff --git a/laphone/config.json b/laphone/config.json old mode 100755 new mode 100644 index bb70bdfac766e31f0de7839fca43420aaabea1a2..f3997a179105db6302b7606927c8fcb5b6b1f479 --- a/laphone/config.json +++ b/laphone/config.json @@ -47,6 +47,10 @@ { "component": "drivers_peripheral_ril", "features":[] + }, + { + "component": "drivers_peripheral_nnrt", + "features":[] } ] }, diff --git a/laphone/hdf_config/uhdf/device_info.hcs b/laphone/hdf_config/uhdf/device_info.hcs index 34aecdcafab4029b1a6927a93ea70c915eb95534..038e36577923e8754a3f51035bba6c8896c825c9 100644 --- a/laphone/hdf_config/uhdf/device_info.hcs +++ b/laphone/hdf_config/uhdf/device_info.hcs @@ -512,5 +512,21 @@ } } } + + nnrt :: host { + hostName = "nnrt_host"; + priority = 50; + uid = ""; + gid = ""; + caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH"]; + nnrt_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libnnrt_driver.z.so"; + serviceName = "nnrt_device_service"; + } + } + } } }