You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/run_and_compile_time_errors.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,23 @@ Compile time errors and warnings that incorrect syntax, or misuse of variables o
4
4
5
5
Common errors are:
6
6
7
-
* Missing declarations of variables and interfaces, leading to `Identifier undefined` errors.
8
-
* Missing semicolons (`;`). Semicolons are required at the end of each line.
9
-
* Missing quotes or brackets (`""`, `()`, `[]` or `{}`). These are used in pairs to contain various types of statement. The compiler reports an error if you have not used them in correct pairings.
10
-
* Always tackle the first reported error because later errors may be as a result of the first one and will disappear you correct the first one.
7
+
- Missing declarations of variables and interfaces, leading to `Identifier undefined` errors.
8
+
- Missing semicolons (`;`). Semicolons are required at the end of each line.
9
+
- Missing quotes or brackets (`""`, `()`, `[]` or `{}`). These are used in pairs to contain various types of statement. The compiler reports an error if you have not used them in correct pairings.
10
+
- Always tackle the first reported error because later errors may be as a result of the first one and will disappear you correct the first one.
11
11
12
-
If you see a compile time error or warning that you do not understand, you can usually find explanations of the error message on Google, or post to the [Arm Mbed forums](https://os.mbed.com/questions/).
12
+
For more information about compile time errors or warning, please see [the list of Mbed OS defined error codes and descriptions](/docs/development/reference/error-handling.html#list-of-mbed-os-defined-error-codes-and-descriptions). If you have questions about a compile time error or warning that you do not understand, please post to the [Arm Mbed forums](https://os.mbed.com/questions/).
13
13
14
-
### Runtime errors and lights of the dead
14
+
### Runtime errors and siren lights
15
15
16
-
<spanclass="images"></span>
*LPC1768, LPC11U24 and FRDM-KL25Z showing their distinctive lights of dead pattern*
22
+
*LPC1768, LPC11U24 and FRDM-KL25Z showing their distinctive pattern of siren lights*
23
23
24
-
When your development board shows the "lights of dead" it means the board ran into a runtime error. Runtime errors occur when code is correct but tries to do something that is invalid, or when malfunctioning hardware cannot be accessed.
24
+
When your development board shows the siren lights, it means the board ran into a runtime error. Runtime errors occur when code is correct but tries to do something that is invalid, or when malfunctioning hardware cannot be accessed.
25
25
26
26
A typical example is assigning the wrong function to a pin. For example, switching the `SDA` and `SCK` pins when accessing I2C or trying to use `PwmOut` on a pin that does not support pulse-width modulation.
0 commit comments