Private
Public Access
2
0

ft4222: move calls to libft4222.so to use dlopen

Makes the lib a runtime only dependency

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Thomas Ingleby
2016-02-14 17:04:31 +01:00
committed by Brendan Le Foll
parent 441a24aaea
commit 7f78b6760f
4 changed files with 86 additions and 35 deletions

View File

@@ -28,12 +28,13 @@
extern "C" {
#endif
#include <dlfcn.h>
#include "mraa_internal.h"
mraa_result_t mraa_ftdi_ft4222_init();
mraa_result_t mraa_ftdi_ft4222_get_version(unsigned int* versionChip, unsigned int* versionLib);
mraa_board_t* mraa_ftdi_ft4222();
void *libft4222_lib;
#ifdef __cplusplus
}