Simple Ameba Archive Library Analyzer/Generator
This tool extract archive library and put the extracted object code into the unzipped
folder, user can then disassemble the object code into assembly code for further analysis
How to use
This tool has 3 functions,
unzip
-- unzip an archive libraryanalyze FILE=(the file name of your choice)
-- disassemble the object code into assemblers and dumped to txt file for further analysisnewlib
-- create a new "lib_arduino.a" that is specially designed for MicroPython SDK
Preparation
Put the .a
file in the "archive_lib" folder if you want to unzip
or analyze
If you wanna create new library, then put the new .a
file in the "archive_lib_new" folder
unzip
Using For ameba D library,
$ make unzip
For ameba 1 library,
$ make unzip BOARD=1
analyze
Using For ameba D,
$ make analyze FILE=The name of your interested file without extension
Fore example, I am interested in analyzing the cJSON.o file, then I will type
$ make analyze FILE=cJSON
For ameba 1,
$ make analyze FILE=The name of your interested file without extension
newlib
Using For ameba d,
$ make newlib