From 28b40106b1802165aaa17685771fe77a447c785b Mon Sep 17 00:00:00 2001 From: Zhanglong Xia Date: Fri, 6 Jan 2023 03:34:23 +0800 Subject: [PATCH] [posix] add posix config file configuration (#8612) The ot-br-posix uses the posix platform's config file as its config file. So the ot-br-posix can't set different configurations with posix platform via the config file. This commit adds a config macro `OPENTHREAD_POSIX_CONFIG_FILE` for ot-br-posix to specify a config file to overwrite the posix platform's configurations. --- src/posix/platform/openthread-posix-config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/posix/platform/openthread-posix-config.h b/src/posix/platform/openthread-posix-config.h index 5ff59ccc7..ce5ed3c27 100644 --- a/src/posix/platform/openthread-posix-config.h +++ b/src/posix/platform/openthread-posix-config.h @@ -31,6 +31,10 @@ #include "openthread-core-config.h" +#ifdef OPENTHREAD_POSIX_CONFIG_FILE +#include OPENTHREAD_POSIX_CONFIG_FILE +#endif + /** * @file * @brief