--
http://magiclantern.wikia.com/
To post to this group, send email to ml-d...@googlegroups.com
To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
Removing the need to use libc in the source (by replacing the needed
functionality from eg. bionic or uclibc) would make the building a lot
easier though imho.
SztupY
The 600D branch is based on the 60D branch which is based on the 550D
branch which is based on the original master (5DmkII branch), but is
somewhat different as Alex is actively developing new features primarily
here. Each one has more or less differences from the previous one. If
looking for features you should first check the 550D or 60D branch, as
those contain the most compatible code that should more or less work on
600D too.
SztupY
I'd be glad to look into it. I'm trying to compile the ARM toolchain now (from the current esden trunk). It currently crashes at "Configuring openocd-master" with
"checking Build & Link with libftdi...... configure: error: Cannot build & run test program using libftdi"
Contacted Piotr Esden-Tempski about it already.
I think I'm going to look for a version dating back from the time when the ML instructions for Mac OS on the wiki were developed, now.
While it's compiling, I'm looking at "gui.c", guessing that the actual changes need to be done in header file "consts-600d.101.h".
Can you confirm that you are now trying out event constants using "console_printf" (guess from commented out code), which, what, will output on the camera screen? If so, can we separate the workload so that we don't redo the work independently?
Still compiling ARM toolchain…
Vincent
Do not use other versions of ARM toolchain; use the ones recommended
on the wiki.
http://magiclantern.wikia.com/wiki/Build_instructions/550D
If you don't use console.c (i.e. just bmp_printf), messages will still
appear on the screen, but sometimes they may get erased before you
have a chance to read them. For the first time, I think it's OK to use
this approach.
To use console_printf, you need to include console.c (add console.o in
Makefile at ML_OBJS-y ). This will print messages on the screen; you
have to start it with console_show() first, because the menu is not
working yet. Also make "draw_event = 1" in menu.c.
Relevant pages:
http://magiclantern.wikia.com/wiki/Debugging_Magic_Lantern
http://magiclantern.wikia.com/wiki/GUI_Events/550D
Also see the 60D porting thread for more hints.
Vincent
But I can't seem to be able to trigger anything. Does the code now in version control do anything more than "set the bootflag"? How to I test "gui.c" from the camera? Or confirm that the autoexec.in has loaded properly?
Thanks again guys. I know this is basic stuff, but, well, I think I can contribute if I get these little steps done! ;-)
Vincent