Close Device and Close Libmetal Environment - 2023.2 English

Libmetal and OpenAMP User Guide (UG1186)

Document ID
UG1186
Release Date
2023-11-07
Version
2023.2 English

After using the libmetal APIs to talk to the devices, close the device and libmetal environment as follows:

/* Close the opened device */

metal_device_close(device);

/* Close the libmetal environment */

metal_finish();