INL-retro-progdump/firmware/source
Paul Molloy ec725f7e33 Getting closer to how I'd like to handle dictionary calls with lua.
Effectively deleted old dictionary call function/files.
Created lua_usb_vend_xfr function so lua can directly send and receive
vendor setup transfers.

Dictionary calls are more like function calls now, and all args aren't
required so the LED can be turned on for example in lua like so:
dict_pinport("LED_ON")
general format is:
dict_name( opcode, operand, misc, datastring )
Also added ability to store opcode's return length in shared dict library
files with RL=number in the comments following the opcode.
Negative numbers designate OUT transfers, positive for IN.
Default value can be determined by each dictionary's calling function.
Decided pinport is 1 for SUCCESS/ERROR CODE.
Also have default return data means with second byte giving length of
return data in bytes that follows.
dictionary call function reports any errors reported by the device and
returns any return data from the device excluding error code / data len

Now time to start implementing some of these dictionaries on the device.
2017-08-01 17:17:13 -05:00
..
old Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
avr_gpio.h Creation of pinport abstraction layer to make firmware more generic to the 2017-07-22 23:58:16 -05:00
main.c Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
pinport_al.h Getting closer to how I'd like to handle dictionary calls with lua. 2017-08-01 17:17:13 -05:00
pinport_stm.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
types.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
usb.c Getting closer to how I'd like to handle dictionary calls with lua. 2017-08-01 17:17:13 -05:00
usb.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00