diff --git a/cmake/configs/qurt_eagle_release.cmake b/cmake/configs/qurt_eagle_release.cmake index d617d60fd5e..bca8e7f3bf7 100644 --- a/cmake/configs/qurt_eagle_release.cmake +++ b/cmake/configs/qurt_eagle_release.cmake @@ -41,6 +41,7 @@ set(config_module_list ${EAGLE_DRIVERS_SRC}/uart_esc ${EAGLE_DRIVERS_SRC}/rc_receiver ${EAGLE_DRIVERS_SRC}/csr_gps + ${EAGLE_DRIVERS_SRC}/utils # # System commands diff --git a/src/platforms/qurt/include/qurt_log.h b/src/platforms/qurt/include/qurt_log.h index 5c8f468877d..ad32e8999a5 100644 --- a/src/platforms/qurt/include/qurt_log.h +++ b/src/platforms/qurt/include/qurt_log.h @@ -47,6 +47,8 @@ __EXPORT extern uint64_t hrt_absolute_time(void); // declaration to make the compiler happy. This symbol is part of the adsp static image. void HAP_debug(const char *msg, int level, const char *filename, int line); +#ifndef qurt_log_defined +#define qurt_log_defined static __inline void qurt_log(int level, const char *file, int line, const char *format, ...) { @@ -57,5 +59,6 @@ static __inline void qurt_log(int level, const char *file, int line, va_end(args); HAP_debug(buf, level, file, line); } +#endif __END_DECLS