mbed-os-examples
/
mbed-os-example-mbed5-sys-info
Example to get the System Information from Mbed OS
Revision 16:49a99fd4085c, committed 2018-11-14
- Comitter:
- mbed_official
- Date:
- Wed Nov 14 03:00:28 2018 +0000
- Parent:
- 15:0d8d06c4864d
- Child:
- 17:123ea9d5b79f
- Commit message:
- Merge pull request #14 from kegilbert/patch-2
Add compiler ID enum definitions to comments
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-sys-info
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 13 23:45:22 2018 +0000 +++ b/main.cpp Wed Nov 14 03:00:28 2018 +0000 @@ -27,6 +27,11 @@ */ printf("CPU ID: 0x%x \n", stats.cpu_id); + /* Compiler IDs + ARM = 1 + GCC_ARM = 2 + IAR = 3 + */ printf("Compiler ID: %d \n", stats.compiler_id); /* Compiler versions: