]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/micropython.py
Add Orange Pi boards (One, Lite, PC Plus, Plus 2E)
[Adafruit_Blinka-hackapet.git] / src / micropython.py
old mode 100644 (file)
new mode 100755 (executable)
index 7aaaca6..620646f
@@ -1,3 +1,14 @@
-class const:
-    def __new__(self, x):
-        return x
+def const(x):
+    return x
+
+
+def native(f):
+    return f
+
+
+def viper(f):
+    raise SyntaxError("invalid micropython decorator")
+
+
+def asm_thumb(f):
+    raise SyntaxError("invalid micropython decorator")
\ No newline at end of file