Now lua scripts can make usb dictionary calls based off of C shared_dict*.h files. Don't have to have separate lua tables for host, and C #defines for firmware to keep things aligned! Tested and working on all current shared_dict*.h files including some simple error checking. Does not permit multi-line comments, but inline is fine and properly accounted for. defines starting with underscore are skipped to not trip up header define guard statement. defines can't be set to other defines, macros, or math, only a decimal/hex number. Tested and able to turn on/off/ip/op LED on kazzo. |
||
|---|---|---|
| .. | ||
| inlretro.lua | ||
| test.lua | ||
| usb_device.lua | ||