Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: test-lpc1768 oldheating gps motorhome ... more
lpc1768.c@49:d056e2c5c4ee, 2019-05-08 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed May 08 12:13:37 2019 +0000
- Revision:
- 49:d056e2c5c4ee
- Parent:
- 48:9784768cdc6c
- Child:
- 51:fb18aa3ec115
Sorted out reset module to properly read the RSID register
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 28:00c3324e2434 | 1 | #include "system.h" |
| andrewboyson | 28:00c3324e2434 | 2 | #include "led.h" |
| andrewboyson | 49:d056e2c5c4ee | 3 | #include "reset.h" |
| andrewboyson | 28:00c3324e2434 | 4 | #include "firmware.h" |
| andrewboyson | 48:9784768cdc6c | 5 | #include "lpc1768-this.h" |
| andrewboyson | 28:00c3324e2434 | 6 | |
| andrewboyson | 48:9784768cdc6c | 7 | void Lpc1768Init() |
| andrewboyson | 48:9784768cdc6c | 8 | { |
| andrewboyson | 48:9784768cdc6c | 9 | SystemInit(); |
| andrewboyson | 48:9784768cdc6c | 10 | LedInit(); |
| andrewboyson | 49:d056e2c5c4ee | 11 | ResetInit(); |
| andrewboyson | 48:9784768cdc6c | 12 | Lpc1768ThisInit(); |
| andrewboyson | 48:9784768cdc6c | 13 | } |
| andrewboyson | 28:00c3324e2434 | 14 | void Lpc1768Main() |
| andrewboyson | 28:00c3324e2434 | 15 | { |
| andrewboyson | 49:d056e2c5c4ee | 16 | ResetMain(); |
| andrewboyson | 48:9784768cdc6c | 17 | FirmwareMain(); |
| andrewboyson | 48:9784768cdc6c | 18 | Lpc1768ThisMain(); |
| andrewboyson | 28:00c3324e2434 | 19 | } |