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: pelion-example-common
Revision 4:11215bdf5084, committed 2018-11-17
- Comitter:
- ytsuboi
- Date:
- Sat Nov 17 14:46:30 2018 +0000
- Parent:
- 3:6e60574091dd
- Commit message:
- Support IARCC compiler
Changed in this revision
| WS2812.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WS2812.cpp Mon Nov 12 05:05:50 2018 +0000
+++ b/WS2812.cpp Sat Nov 17 14:46:30 2018 +0000
@@ -2,6 +2,8 @@
#if defined ( __GNUC__ ) /* GCC Compiler */
#define NOP __asm __volatile("nop\n")
+#elif defined(__ICCARM__) /* IAR */
+#define NOP asm("NOP")
#else
#define NOP __nop()
#endif