mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
ANDROID: Treat utilities as its own library
Since src/utilities now builds a C/C++ library, other targets which were using symbols from utilities now need to include the correct target dependency. This is mainly for upm_delay* functions. Added utilities-c target to all sensor library CMakeLists.txt which require it. Moved macro for __FILENAME__ from upm_utilities.h to upm_fti.h since ONLY the FTI headers used this. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -5,4 +5,4 @@ upm_mixed_module_init (NAME apa102
|
||||
CPP_HDR apa102.hpp
|
||||
CPP_SRC apa102.cxx
|
||||
FTI_SRC apa102_fti.c
|
||||
REQUIRES mraa)
|
||||
REQUIRES mraa utilities-c)
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include "apa102.h"
|
||||
#include "upm_utilities.h"
|
||||
|
||||
apa102_context apa102_init(int ledcount, int bus, int cs) {
|
||||
|
||||
|
Reference in New Issue
Block a user