remove gpio driver

This commit is contained in:
Sebastien Bourdeauducq 2015-04-04 22:06:54 +08:00
parent 21a0919ddc
commit 833178462d
3 changed files with 0 additions and 24 deletions

View File

@ -1,16 +0,0 @@
from artiq.language.core import *
from artiq.language.db import *
class GPIOOut(AutoDB):
class DBKeys:
core = Device()
channel = Argument()
@kernel
def on(self):
syscall("gpio_set", self.channel, True)
@kernel
def off(self):
syscall("gpio_set", self.channel, False)

View File

@ -12,7 +12,6 @@ llvm.initialize_all_targets()
llvm.initialize_all_asmprinters() llvm.initialize_all_asmprinters()
_syscalls = { _syscalls = {
"gpio_set": "ib:n",
"rtio_oe": "ib:n", "rtio_oe": "ib:n",
"rtio_set": "Iii:n", "rtio_set": "Iii:n",
"rtio_get_counter": "n:I", "rtio_get_counter": "n:I",

View File

@ -12,13 +12,6 @@
"arguments": {} "arguments": {}
}, },
"led": {
"type": "local",
"module": "artiq.coredevice.gpio",
"class": "GPIOOut",
"arguments": {"channel": 0}
},
"pmt0": { "pmt0": {
"type": "local", "type": "local",
"module": "artiq.coredevice.rtio", "module": "artiq.coredevice.rtio",