Build target 60D fails with undefined reference - beep.c requires SetNextASIFADC

Started by solarisfan, August 23, 2012, 03:20:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

solarisfan

Hello,

looks like

magic-lantern/platform/60D.111/stubs.S

misses something like

NSTUB(0xff052088, SetNextASIFADCBuffer)

(picked up from 550D branch)

will break

magic-lantern/src/beep.c

asif_rec_continue_cbr()
{
....
SetNextASIFADCBuffer(buf, WAV_BUF_SIZE);
....
}

does anyone know if this is a pure miss or beep needs target attention
(#ifdef for 60D)

cheers,
Frank

OUTPUT
----------

[ LD       ]   magiclantern
beep.o: In function `asif_rec_continue_cbr':
beep.c:(.text+0x3a4): undefined reference to `SetNextASIFADCBuffer'
beep.o: In function `asif_continue_cbr':
beep.c:(.text+0x4c4): undefined reference to `SetNextASIFDACBuffer'
collect2: ld returned 1 exit status

nanomad

Yes last few commits are broken, you can either:
- Help a1ex find the functions on your camera model (He will tell you what to look for)
- Comment out the two offending calls
- Check out an older revision (I suggest the one tagged 2.3)
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

1%

It should break any camera where the wav recorder is used but the stub is missing. Need to look in fw to get the right addresses or just comment out the calls in beep.c

nanomad

On the 1100D there is:
0xFF055C60 -> SetNextUINT8ASIFADCBuffer
0xFF055C8C -> SetNextINT16ASIFADCBuffer

0xFF055D18 -> SetNextUINT8ASIFDACBuffer
0xFF055D44 -> SetNextINT16ASIFDACBuffer

Which one are correct? 8 or 16 bit versions?
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

a1ex