1 TI LP5523 LASM(LP5523 Assembler) for Linux
2 ==========================================
4 Copyright (C) 2015 Texas Instruments
5 Author: Milo Kim <milo.kim@ti.com>
7 Introduction
8 ------------
9 LASM is used for generating program code which runs LP5523 chip
11 (input) (output)
12 *.src -> lasm.py -> *.bin and *.hex
14 Written based on documents below
15 http://www.ti.com/lit/ds/symlink/lp5523.pdf
16 http://www.ti.com/lit/an/snva664/snva664.pdf
18 Python version compatibility
19 ----------------------------
20 Tested under Python 2.7 and 3.3.
21 The module 'six' is used for support version compatibility.
23 How to use
24 ----------
25 Two options are available.
26 Single file conversion and multiple files conversion under a directory.
28 To convert a .src into .bin and .hex,
30 $python lasm.py -f foo.src
32 To convert whole src files under a directory,
33 For example, let's assume that there are tens of *.src files under 'examples'
34 directory.
36 $python lasm.py -d examples/
38 Output files are generated under same directory as *.src exists.
40 Limitation
41 ----------
42 1) *.lst file
43 LASM.exe (Windows version) creates *.lst from *.src as well.
44 However, this tool doesn't generate *.lst at this moment.
46 2) Option for recursive conversion
47 This tool doesn't support recursive option yet.