Close Device and Close Libmetal Environment - Close Device and Close Libmetal Environment - 2024.1 English - UG1186

Libmetal and OpenAMP User Guide (UG1186)

Document ID
UG1186
Release Date
2024-06-26
Version
2024.1 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();