- Fri Apr 24, 2015 8:09 pm
#15553
Been poking around a bit, in the binaries, found what seems to be the 'gpio_init()' call;
It's residing at absolute position '0x40004c50', by the linker script 'eagle.rom.addr.v6.ld';
Code: Select all40004c50 g *ABS* 00000000 gpio_init
^^ Pulled using object dump from my elf output file.
Looking up the address in output binary yields this function;
Code: Select all40004c50 <.data>:
40004c50: f0c112 addi a1, a1, -16
40004c53: 3109 s32i.n a0, a1, 12
40004c55: 004e85 call0 0x40005140
40004c58: 3108 l32i.n a0, a1, 12
40004c5a: 10c112 addi a1, a1, 16
40004c5d: f00d ret.n
EDIT: Above dump is incorrect, I was tired.
I've got a dump with all the jumps of the binary, and I'll check all the static ones tomorrow.
- To check if 'gpio_init()' is indeed called anywhere internally.