Skip to content

Commit 2573711

Browse files
author
Amanda Butler
authored
Update content in run_and_compile_time_errors.md
Change Google reference to internal link to information, and replace "lights of dead" with "siren lights".
1 parent 63e9b3a commit 2573711

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/tutorials/run_and_compile_time_errors.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ Compile time errors and warnings that incorrect syntax, or misuse of variables o
44

55
Common errors are:
66

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.
1111

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/).
1313

14-
### Runtime errors and lights of the dead
14+
### Runtime errors and siren lights
1515

16-
<span class="images">![LPC1768 Lights of dead](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights1.gif)</span>
16+
<span class="images">![LPC1768 siren lights](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights1.gif)</span>
1717

18-
<span class="images">![LPC11U24 Lights of dead](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights2.gif)</span>
18+
<span class="images">![LPC11U24 siren lights](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights2.gif)</span>
1919

20-
<span class="images">![FRMD-KL25Z Lights of dead](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights3.gif)</span>
20+
<span class="images">![FRMD-KL25Z siren lights](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/lights3.gif)</span>
2121

22-
*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*
2323

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.
2525

2626
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

Comments
 (0)