diff --git a/laphone/config.json b/laphone/config.json index d9764826c94327c24836bba0067c22bd0b776cba..471855deab57bbff07711b0ebf9e42609531ac15 100755 --- 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 74962d0ad5340900d51184359dd8d2f857e767fd..72d59909a34735eaa3120c985a9e6f02de2c460a 100644 --- a/laphone/hdf_config/uhdf/device_info.hcs +++ b/laphone/hdf_config/uhdf/device_info.hcs @@ -511,5 +511,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"; + } + } + } } }