WICED Build error: 'OTA2_IMAGE_FLASH_BASE' undeclared

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

cross mob
lock attach
Attachments are accessible only for community members.
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Please provide some ideas why a build of one project fails while others succeed?

Building test.console (a project included with WICED) works fine on two different PCs. Building test.at_cmd (a project provided by Murata) fails on one specific computer. It works on the other computer. The computer it works on has been running WICED for many years. The computer it fails on is at a different company and recently loaded WICED. WICED has been removed and reinstalled several times with no major improvements.

The error is:

libraries/filesystems/ota2/./wiced_ota2_image.c: In function 'wiced_ota2_image_copy_uncompressed_component':
libraries/filesystems/ota2/./wiced_ota2_image.c:577:19: error: 'OTA2_IMAGE_FLASH_BASE' undeclared (first use in this function); did you mean 'PLATFORM_FLASH_BASE'?

The full console output is attached for the PC that fails and for the PC that passes.

Greg

 

0 Likes
1 Solution
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Aditi,

The issue appears to have been with the path name in Windows. There were spaces in either the location where WICED was installed or the workspace. The spaces appear to have been the result of Microsoft OneDrive implementation. There seems to be a method to hide the full pathname of the Documents directory in Windows. Use the Command Prompt to see the full name. 

Open Command Prompt. Type DIR. Look for a directory starting with the name "OneDrive....". Change Directories into the OneDrive... directory by typing CD followed by the directory name. Note there's a "Documents" directory under the "OneDrive..." directory. That's the directory that shows up in Windows file explorer. However, WICED sees the full path name. If the "OneDrive..." name has spaces or other characters that WICED doesn't like, there's likely to be inconsistent issues.

Greg

View solution in original post

0 Likes
3 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Is it possible to provide the project/code example? Is it a snip application of WICED or a custom project?

Thanks

Aditi

0 Likes
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Aditi,

The issue appears to have been with the path name in Windows. There were spaces in either the location where WICED was installed or the workspace. The spaces appear to have been the result of Microsoft OneDrive implementation. There seems to be a method to hide the full pathname of the Documents directory in Windows. Use the Command Prompt to see the full name. 

Open Command Prompt. Type DIR. Look for a directory starting with the name "OneDrive....". Change Directories into the OneDrive... directory by typing CD followed by the directory name. Note there's a "Documents" directory under the "OneDrive..." directory. That's the directory that shows up in Windows file explorer. However, WICED sees the full path name. If the "OneDrive..." name has spaces or other characters that WICED doesn't like, there's likely to be inconsistent issues.

Greg

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Thanks for the update. I suppose the issue is resolved now, right?

 

0 Likes