2 Replies Latest reply on Jan 10, 2019 5:18 PM by 82574674_3965836

    when does WICED_VERSION get its value?

    82574674_3965836

      It is defined in wwd_constants.h but I found no where it has been modified .

      and it print out

       

      it's value of Unknown changed to vWiced_006.002.001.0002 .. I don't  why this happen.

      Can someone help with that?

        • 1. Re: when does WICED_VERSION get its value?
          grsr

          The WICED version has been defined in /tools/makefiles/wiced_config.mk as WICED_SDK_VERSION ?=  Wiced_006.002.001.0002. This is assigned to WICED_VERSION as shown:

          WICED_SDK_COMMON_CFLAGS := -DWICED_VERSION=$(SLASH_QUOTE_START)$(WICED_SDK_VERSION)$(SLASH_QUOTE_END) \
                               -DBUS=$(SLASH_QUOTE_START)$$(BUS)$(SLASH_QUOTE_END) \
                               -I$(OUTPUT_DIR)/resources/  \
                               -DPLATFORM=$(SLASH_QUOTE_START)$$(PLATFORM)$(SLASH_QUOTE_END) \
                               -DAPPS_CHIP_REVISION=$(SLASH_QUOTE_START)$$(APPS_CHIP_REVISION)$(SLASH_QUOTE_END)

           

          Value in makefile takes precedence over the header file value while building the project.

          1 of 1 people found this helpful