TI LP5523 LASM(LP5523 Assembler) for Linux ========================================== Copyright (C) 2015 Texas Instruments Author: Milo Kim Introduction ------------ LASM is used for generating program code which runs LP5523 chip (input) (output) *.src -> lasm.py -> *.bin and *.hex Written based on documents below http://www.ti.com/lit/ds/symlink/lp5523.pdf http://www.ti.com/lit/an/snva664/snva664.pdf Python version compatibility ---------------------------- Tested under Python 2.7 and 3.3. The module 'six' is used for support version compatibility. How to use ---------- Two options are available. Single file conversion and multiple files conversion under a directory. To convert a .src into .bin and .hex, $python lasm.py -f foo.src To convert whole src files under a directory, For example, let's assume that there are tens of *.src files under 'examples' directory. $python lasm.py -d examples/ Output files are generated under same directory as *.src exists. Limitation ---------- 1) *.lst file LASM.exe (Windows version) creates *.lst from *.src as well. However, this tool doesn't generate *.lst at this moment. 2) Option for recursive conversion This tool doesn't support recursive option yet.