2014-03-13 05:06:26 +04:00
|
|
|
// qstrs specific to this port
|
|
|
|
|
|
|
|
Q(help)
|
|
|
|
Q(pyb)
|
|
|
|
Q(info)
|
|
|
|
Q(sd_test)
|
|
|
|
Q(stop)
|
|
|
|
Q(standby)
|
|
|
|
Q(source_dir)
|
|
|
|
Q(main)
|
|
|
|
Q(sync)
|
|
|
|
Q(gc)
|
|
|
|
Q(repl_info)
|
|
|
|
Q(delay)
|
|
|
|
Q(udelay)
|
|
|
|
Q(switch)
|
|
|
|
Q(SW)
|
|
|
|
Q(servo)
|
|
|
|
Q(pwm)
|
|
|
|
Q(accel)
|
|
|
|
Q(accel_read)
|
|
|
|
Q(accel_mode)
|
|
|
|
Q(hid)
|
|
|
|
Q(time)
|
2014-03-22 17:41:02 +04:00
|
|
|
Q(rng)
|
2014-03-13 05:06:26 +04:00
|
|
|
Q(Led)
|
|
|
|
Q(LCD)
|
|
|
|
Q(Servo)
|
|
|
|
Q(SD)
|
|
|
|
Q(SDcard)
|
|
|
|
Q(I2C)
|
|
|
|
Q(gpio)
|
|
|
|
Q(gpio_in)
|
|
|
|
Q(gpio_out)
|
|
|
|
Q(Usart)
|
|
|
|
Q(ADC)
|
|
|
|
Q(ADC_all)
|
|
|
|
Q(Audio)
|
|
|
|
Q(open)
|
|
|
|
Q(File)
|
|
|
|
// Entries for sys.path
|
|
|
|
Q(0:/)
|
|
|
|
Q(0:/src)
|
|
|
|
Q(0:/lib)
|
|
|
|
Q(Pin)
|
|
|
|
Q(PinMap)
|
|
|
|
Q(PinAF)
|
|
|
|
Q(PinNamed)
|
|
|
|
Q(Exti)
|
|
|
|
Q(ExtiMeta)
|
|
|
|
Q(rtc_info)
|
|
|
|
Q(millis)
|
|
|
|
Q(PULL_NONE)
|
|
|
|
Q(PULL_UP)
|
|
|
|
Q(PULL_DOWN)
|
|
|
|
Q(PUSH_PULL)
|
|
|
|
Q(OPEN_DRAIN)
|
2014-03-22 18:56:32 +04:00
|
|
|
|
|
|
|
// for os module
|
|
|
|
Q(os)
|
|
|
|
Q(/)
|
|
|
|
Q(listdir)
|
|
|
|
Q(mkdir)
|
|
|
|
Q(remove)
|
|
|
|
Q(rmdir)
|
|
|
|
Q(unlink)
|
|
|
|
Q(sep)
|
|
|
|
Q(urandom)
|
2014-03-22 19:06:29 +04:00
|
|
|
|
|
|
|
// for time module
|
|
|
|
Q(time)
|
|
|
|
Q(sleep)
|
2014-03-23 03:53:50 +04:00
|
|
|
|
|
|
|
// for input
|
|
|
|
Q(input)
|