This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF9160DK ver 0.9.0 - application software show error during build. asset_tracker_v2 in v1.7.1

Hi.

I´m trying to install the  application asset_tracker_v2 on my nRF9160DK ver 0.9.0 board.

I´m using VS code and during the build i got errors.

"too few arguments in invocation of macro" 

LOG_INF,   LOG_WRN and LOG_ERR

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 185,
"startColumn": 3,
"endLineNumber": 185,
"endColumn": 10
}

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 203,
"startColumn": 2,
"endLineNumber": 203,
"endColumn": 9
}

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 269,
"startColumn": 4,
"endLineNumber": 269,
"endColumn": 11
}

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 490,
"startColumn": 3,
"endLineNumber": 490,
"endColumn": 10
}

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 530,
"startColumn": 5,
"endLineNumber": 530,
"endColumn": 12
}

{
"resource": "/c:/NordicApp/MyApps/MyFistsAssetTracker/My_asset_tracker_v2/src/main.c",
"owner": "C/C++",
"code": "54",
"severity": 8,
"message": "too few arguments in invocation of macro \"Z_FOR_LOOP_1\"",
"source": "C/C++",
"startLineNumber": 540,
"startColumn": 4,
"endLineNumber": 540,
"endColumn": 11
}

any sugestion to owercome this problems ?

Parents
  • Hi Tomas,

    I got the same issue as you. The IntelliSense system gets confused by the complicated wizardry of the logging subsystem macros.

    We have got several reports related to these error squiggles, this is no quick solution for these issues by far. We will continue to investigate this issue further.

    Thanks for your feedback!

    Best regards,

    Charlie

Reply
  • Hi Tomas,

    I got the same issue as you. The IntelliSense system gets confused by the complicated wizardry of the logging subsystem macros.

    We have got several reports related to these error squiggles, this is no quick solution for these issues by far. We will continue to investigate this issue further.

    Thanks for your feedback!

    Best regards,

    Charlie

Children
No Data
Related