VRBRAIN: Added NuttX driver vroutput for PWM out

Modified script rc.APM to launch modules vrinput and vroutput
Modified startup scripts to run APM without SD
This commit is contained in:
Emile Castelnuovo 2014-04-08 14:37:53 +10:00 committed by Andrew Tridgell
parent c5620dfd39
commit 7fe4847b6c
3 changed files with 12 additions and 6 deletions

View File

@ -39,9 +39,9 @@ void VRBRAINRCOutput::init(void* unused)
return;
}
_alt_fd = open("/dev/px4fmu", O_RDWR);
_alt_fd = open("/dev/vroutput", O_RDWR);
if (_alt_fd == -1) {
hal.console->printf("RCOutput: failed to open /dev/px4fmu");
hal.console->printf("RCOutput: failed to open /dev/vroutput");
return;
}
}

View File

@ -18,8 +18,11 @@ MODULES += drivers/stm32/adc
MODULES += drivers/stm32/tone_alarm
MODULES += drivers/led
MODULES += drivers/px4fmu
MODULES += drivers/boards/vrbrain-v4
MODULES += drivers/vrbrain/vroutput
MODULES += drivers/vrbrain/vrinput/controls
MODULES += drivers/vrbrain/vrinput
@ -53,7 +56,7 @@ MODULES += systemcmds/mtd
MODULES += systemcmds/top
MODULES += systemcmds/tests

View File

@ -18,8 +18,11 @@ MODULES += drivers/stm32/adc
MODULES += drivers/stm32/tone_alarm
MODULES += drivers/led
MODULES += drivers/px4fmu
MODULES += drivers/boards/vrbrain-v5
MODULES += drivers/vrbrain/vroutput
MODULES += drivers/vrbrain/vrinput/controls
MODULES += drivers/vrbrain/vrinput
@ -53,7 +56,7 @@ MODULES += systemcmds/mtd
MODULES += systemcmds/top
MODULES += systemcmds/tests