We have added a custom zephyr module in zephyrproject\zephyr\modules
The module consists of a static library and Kconfig parameters
Module and library worked as expected, but we get warnings in just four parameters of Kconfig:
[122/257] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj zephyr/misc/generated/configs.c: In function '_ConfigAbsSyms': zephyr/misc/generated/configs.c:56: warning: "CONFIG_TEST_MODEL_TESTNode_sign" redefined 56 | #define CONFIG_TEST_MODEL_TESTNode_sign 101; | In file included from <command-line>: C:/Users/OMAR/zephyrproject/zephyr/samples/bluetooth_models_static_libV1/build/zephyr/include/generated/autoconf.h:46: note: this is the location of the previous definition 46 | #define CONFIG_TEST_MODEL_TESTNode_sign 101 | zephyr/misc/generated/configs.c:57: warning: "CONFIG_TEST_MODEL_sign" redefined 57 | #define CONFIG_TEST_MODEL_sign 0x99; | In file included from <command-line>: C:/Users/OMAR/zephyrproject/zephyr/samples/bluetooth_models_static_libV1/build/zephyr/include/generated/autoconf.h:47: note: this is the location of the previous definition 47 | #define CONFIG_TEST_MODEL_sign 0x99 | zephyr/misc/generated/configs.c:61: warning: "CONFIG_addrs_RSSI_list_SIZE" redefined 61 | #define CONFIG_addrs_RSSI_list_SIZE 50; | In file included from <command-line>: C:/Users/OMAR/zephyrproject/zephyr/samples/bluetooth_models_static_libV1/build/zephyr/include/generated/autoconf.h:51: note: this is the location of the previous definition 51 | #define CONFIG_addrs_RSSI_list_SIZE 50 | zephyr/misc/generated/configs.c:65: warning: "CONFIG_TEST_SRV_MODEL_sign" redefined 65 | #define CONFIG_TEST_SRV_MODEL_sign 0x79; | In file included from <command-line>: C:/Users/OMAR/zephyrproject/zephyr/samples/bluetooth_models_static_libV1/build/zephyr/include/generated/autoconf.h:55: note: this is the location of the previous definition 55 | #define CONFIG_TEST_SRV_MODEL_sign 0x79a