Skip to content

Commit 708caf7

Browse files
committed
Add section for compilation error
1 parent 033a7b8 commit 708caf7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ In this section:
157157
- [Cannot generate profile file error message: Error: Path not found](#cannot-generate-profile-file-error-message-error-path-not-found)
158158
- [Error: invalid path creating config dir](#error-invalid-path-creating-config-dir)
159159
- [“Error” in the bottom right corner on first use of the board](#error-in-the-bottom-right-corner-on-first-use-of-the-board)
160+
- [Cannot compile Sketch file (error code: -1)](#cannot-compile-sketch-file)
160161

161162
> [!NOTE]
162163
> If you see a **dfu-util** warning or error that's not in this list, see [dfu-util errors when uploading (exit status 74)](https://support.arduino.cc/hc/en-us/articles/11011849739804-dfu-util-errors-when-uploading-exit-status-74).
@@ -225,6 +226,12 @@ Follow these steps:
225226
2. [Reformat the QSPI flash memory](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices).
226227
3. Reinstall the runtime and try again.
227228

229+
### Cannot compile Sketch file (error code: -1)
230+
231+
This means there is a syntax error in the Arduino Sketch.
232+
233+
Review the code and try again.
234+
228235
---
229236

230237
## If there is an issue activating the license

0 commit comments

Comments
 (0)