when does WICED_VERSION get its value?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
motac_3965836
Level 2
Level 2
First like received First like given

pastedImage_1.png

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

and it print out pastedImage_2.png

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

Can someone help with that?

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

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.

View solution in original post

2 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

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.

thank u  !

0 Likes