Comments (4)
The error message means that iarbuild did not exit correctly, but it is difficult to tell why without more information. Could you post the last portion of the iarbuild log above?
Do you have this problem with all projects you open or only this one?
from iar-vsc-build.
I tested with the tutorial projects from IAR Information Center.
Intellisense error happens with
- GettingStarted - Basic debugging
- Adbanced Debugging
Does not happens with
- Language support
- Linker and libraries
(But C standards libraries header path was still not resolved.)
The output windows message is as follows:
[GettingStarted - Basic debugging project]
Preparing intellisense information for 'BasicDebugging'.
IAR Command Line Build Utility V8.0.14.5326
Copyright 2002-2018 IAR Systems AB.
Building configuration: BasicDebugging - Debug
Updating build tree...
0 file(s) deleted.
Updating build tree...
Fibonacci.c
iccarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\GettingStarted\Fibonacci.c" "-o" "c:\userpass\IAR Embedded Workbench\arm\tutorials\GettingStarted\Debug\Obj" "--no_cse" "--no_unroll" "--no_inline" "--no_code_motion" "--no_tbaa" "--no_clustering" "--no_scheduling" "--debug" "--endian=little" "--cpu=ARM7TDMI" "-e" "--fpu=None" "--dlib_config" "C:/Program Files (x86)\IAR Systems\EWARM\8.22.1\arm\INC\c\DLib_Config_Normal.h" "--cpu_mode" "thumb" "-Ol"
Utilities.c
iccarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\GettingStarted\Utilities.c" "-o" "c:\userpass\IAR Embedded Workbench\arm\tutorials\GettingStarted\Debug\Obj" "--no_cse" "--no_unroll" "--no_inline" "--no_code_motion" "--no_tbaa" "--no_clustering" "--no_scheduling" "--debug" "--endian=little" "--cpu=ARM7TDMI" "-e" "--fpu=None" "--dlib_config" "C:/Program Files (x86)\IAR Systems\EWARM\8.22.1\arm\INC\c\DLib_Config_Normal.h" "--cpu_mode" "thumb" "-Ol"
Intellisense configuration did not complete: Process exited with code: 2
Intellisense configuration did not complete for 'BasicDebugging': Process exited with code: 2
No intellisense configurations were generated
Intellisense configuration did not complete: No intellisense configurations were generated
[Adbanced Debugging workspace]
Preparing intellisense information for 'SimulatingATimerInterrupt'.
Preparing intellisense information for 'SimulatingSerialPortInput'.
IAR Command Line Build Utility V8.0.14.5326
Copyright 2002-2018 IAR Systems AB.
Building configuration: SimulatingATimerInterrupt - Debug
Updating build tree...
c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj\TimerInterrupt.o
c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\List\cstartupCM3.lst
c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj\cstartupCM3.o
c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\List\SimulateTimerInterrupt.map
c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Exe\SimulateTimerInterrupt.out
5 file(s) deleted.
Updating build tree...
cstartupCM3.s
iasmarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\cstartupCM3.s" "-Oc:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj" "-s+" "-M<>" "-w+" "-r" "-Lc:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\List" "-t8" "--cpu" "Cortex-M3" "--fpu" "None"
TimerInterrupt.c
iccarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\TimerInterrupt.c" "-o" "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj" "--no_cse" "--no_unroll" "--no_inline" "--no_code_motion" "--no_tbaa" "--no_clustering" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M3" "-e" "--fpu=None" "--dlib_config" "C:/Program Files (x86)\IAR Systems\EWARM\8.22.1\arm\INC\c\DLib_Config_Normal.h" "-Ol"
Total number of errors: 0
Total number of warnings: 0
ERROR, Command failed: build
WARN: Builder closed without reaching linking stage.
Intellisense configuration did not complete: Process exited with code: 2
Intellisense configuration did not complete for 'SimulatingATimerInterrupt': Process exited with code: 2
IAR Command Line Build Utility V8.0.14.5326
Copyright 2002-2018 IAR Systems AB.
Building configuration: SimulatingSerialPortInput - Debug
Updating build tree...
0 file(s) deleted.
Updating build tree...
cstartupCM3.s
iasmarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\cstartupCM3.s" "-Oc:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj" "-s+" "-M<>" "-w+" "-r" "--cpu" "Cortex-M3" "--fpu" "None"
Utilities.c
iccarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Utilities.c" "-o" "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj" "--no_cse" "--no_unroll" "--no_inline" "--no_code_motion" "--no_tbaa" "--no_clustering" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M3" "-e" "--fpu=None" "--dlib_config" "C:/Program Files (x86)\IAR Systems\EWARM\8.22.1\arm\INC\c\DLib_Config_Normal.h" "-Ol"
SerialPortInterrupt.c
iccarm.exe "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\SerialPortInterrupt.c" "-o" "c:\userpass\IAR Embedded Workbench\arm\tutorials\AdvancedDebugging\Debug\Obj" "--no_cse" "--no_unroll" "--no_inline" "--no_code_motion" "--no_tbaa" "--no_clustering" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M3" "-e" "--fpu=None" "--dlib_config" "C:/Program Files (x86)\IAR Systems\EWARM\8.22.1\arm\INC\c\DLib_Config_Normal.h" "-Ol"
Intellisense configuration did not complete: Process exited with code: 2
Intellisense configuration did not complete for 'SimulatingSerialPortInput': Process exited with code: 2
No intellisense configurations were generated
Intellisense configuration did not complete: No intellisense configurations were generated
Seems the build stops before finish the build.
from iar-vsc-build.
Thanks, I am able to reproduce the problem. Running a 'clean' on the project and reloading VS Code seems to temporarily fix it.
I have not been able to find what causes it, but the problem does not occur with EWARM 8.40. Most likely this is a bug in iarbuild that has been fixed in later versions. In that case there isn't much we can do about it from the VS Code extension, and the best I can do for you is recommend that you upgrade to a newer version of Embedded Workbench if possible.
from iar-vsc-build.
Thank you. I confirmed that running a 'clean' works for this issue.
from iar-vsc-build.
Related Issues (20)
- When I use --preinclude cmake reports an error.
- Changing the project configuration does not correctly update preprocessor macros for Intellisense
- Cannot build single file at a time HOT 1
- IAR Visual Studio Code Intellisense does not recognize CMSIS packages
- Build fails when using the $WS_DIR$ macro in the prebuild command HOT 7
- IAR VSCode extension error HOT 1
- Intellisense fails for NAN and INFINITY from iar math.h for RX HOT 2
- Failed to load project error, 'Invalid method name: 'GetCurrentConfiguration' with v1.30.5 release HOT 1
- No command available to build current project HOT 2
- Failed to Batch Build when using $WS_DIR$ in custom arguments file HOT 1
- Incorrect intellisense for currently selected project HOT 4
- Overwriting settings in ".vscode\iar-vsc.json" HOT 1
- Sync launch.json with project files HOT 6
- Cannot force IntelliSense file associations to cpp for .c files HOT 1
- Intellisense generates error for @ address assignments HOT 1
- Configuration selection doesn't write iar-vsc.json HOT 1
- Intellisense problem with $CONFIG_NAME$ preprocessor HOT 8
- Task `iar: Open Workspace in IAR Embedded Workbench` is running until the workbench is closed HOT 1
- Intellisense not working properly showing unrelated variables/select intelliSense config not working HOT 3
- Error initiating IAR toolchain backend. Some functionality may be unavailable: Service registry exited prematurely, code: 1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iar-vsc-build.