summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/lua/pp.lua (unfollow)
Commit message (Collapse)Author
2016-04-08hwstub: port hwstub_shell to the new libraryAmaury Pouly
Also use this opportunity to cleanup support for multiple devices: the shell now supports dynamic changes in the device and will call init() everytime a new device is selected, to prepare a new environment. The shell now honors register width on register read/write. The shell also provides access to variants as follows by creating a subtable under the register using the variant type in UPPER case and having the same layout as a register. For example if register HW.GPIO.DIR has variants "set" and "clr", those can be used like this: HW.GPIO.DIR.SET.write(0xff) HW.GPIO.DIR.CLR.write(0xff00) Change-Id: I943947fa98bce875de0cba4338e8b7196a4c1165
2014-05-11hwstub: add some PP and Sansa View codeAmaury Pouly
Change-Id: If188a01adee2a0e1c7a46c424a0a9cde9f666831
2014-05-11hwstub: fix hwstub_shellAmaury Pouly
Change-Id: I008a55675054c86fd206cc5248f2bd9475e80b49
2014-04-12hwstub: add proper PP supportAmaury Pouly
- drop support for PP500x: it's very different from other PP and although it would be possible to support them, I don't have one to test the code - make sure only the CPU is started - add PP descriptor to report chip ID and revision - add code in shell and lua to support pp (no register description yet) - compile for ARMv4 because PP502x is an ARM7TDMI Change-Id: I36c4e465dfc2cfdfe7433b2f65cc8f6f0720fe62