16 Commits

Author SHA1 Message Date
Bernhard Nortmann
6271d370af fexc: Fix thinko in script decompiler
Both the error output in function decompile_section() and the
definition of GPIO_BANK_MAX in script.h suffered from an "off
by one" logic. The bank numbering in the .bin is based on 1,
so it should be added to ('A' - 1) for human-readable output,
and the maximum number corresponding to 'N' is 14.

This became apparent when trying to translate a fex2bin-compiled
a80_optimus_board.bin back to its original .fex equivalent.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-25 00:36:11 +02:00
Bernhard Nortmann
99daba15e7 Move list declarations from common.h into a separate list.h
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-04 10:31:00 +02:00
Alejandro Mery
92f1d0dec1 fexc: add support for pio banks up to N
needed for A31 support. closes issue #9

Signed-off-by: Alejandro Mery <amery@geeks.cl>
2013-01-19 14:05:40 +01:00
Alejandro Mery
a9b9991630 fexc: script: add script_find_entry() helper 2012-10-01 10:34:56 +02:00
Alejandro Mery
bae6b6a93a script: add script_find_section() helper 2012-09-29 16:48:42 +02:00
Alejandro Mery
79ea14d4e0 Relicensed as GPLv2+ 2012-06-15 22:34:22 +02:00
Alejandro Mery
a14b0a7aa8 script_bin: move bin structs from script.h to script_bin.h 2012-05-11 16:20:48 +02:00
Alejandro Mery
25e78f0c2a script: moved script_bin_* structs from bin2fex.h to script.h 2012-05-06 21:57:07 +02:00
Alejandro Mery
fd16859d79 script: changed gpio data to int32_t 2012-05-06 21:28:46 +02:00
Alejandro Mery
4d6b096caa script: renamed script_*_entry_append() to _new() and changed to receive the section instead of the script 2012-05-06 16:05:32 +02:00
Alejandro Mery
bdd5abdbe1 script: rename script_section_append() to script_section_new() 2012-05-06 16:04:03 +02:00
Alejandro Mery
8368bee12d script: implement script_gpio_entry_append() 2012-05-04 15:33:06 +02:00
Alejandro Mery
33d67b7288 script: implemented script_string_entry_append() 2012-05-04 14:49:32 +02:00
Alejandro Mery
05a2d8f70a script: implement script_single_entry_append() 2012-05-04 14:40:55 +02:00
Alejandro Mery
93dd0a4824 script: add recursive script_delete(), script_section_delete() and script_entry_delete() 2012-05-04 11:31:14 +02:00
Alejandro Mery
0dd7e13aba script: getting started with the script tree 2012-05-04 10:06:14 +02:00