../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `exmem_malloc_init':wrappers.c:(.text+0x818): undefined reference to `suba_init'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `malloc':wrappers.c:(.text+0x858): undefined reference to `suba_alloc'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `free':wrappers.c:(.text+0x890): undefined reference to `suba_free'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `GetExMemInfo':wrappers.c:(.text+0x8fc): undefined reference to `suba_getmeminfo'
nice progress, Tommi!! I'm trying to debug using the heap, as recommended, but I end up with the following compilation errors:Code: [Select]../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `exmem_malloc_init':wrappers.c:(.text+0x818): undefined reference to `suba_init'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `malloc':wrappers.c:(.text+0x858): undefined reference to `suba_alloc'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `free':wrappers.c:(.text+0x890): undefined reference to `suba_free'../platform/ixus220_elph300hs/libplatform.a(wrappers.o): In function `GetExMemInfo':wrappers.c:(.text+0x8fc): undefined reference to `suba_getmeminfo'I'm likely missing a library but which library is it and where do I specify it?edit: nevermind, found the suba.c file in core. I think the problem is related to the rules to build wrapper.o
Had to make a few changes to core\kbd.c (to define ZSTEP_TABLE_SIZE/nTxtbl; I borrowed the one from the 500hs for now, even though I'm almost certain it's wrong),
and core\gui.c (for CAM_ADJUSTABLE_ALT_BUTTON; I borrowed the one from the sx200hs because it looked closest--the 500hs doesn't appear in this table, because its platform_camera.h doesn't have CAM_ADJUSTABLE_ALT_BUTTON in it, presumably because it's got a touchscreen).
Now I'm trying to use CHDK-PT to adapt to my camera's firmware version, 101a. (FWIW: I put a note in the wiki to mention the fact that camera models don't appear in Makefile/Makefile.inc anymore, and you need to instead edit cameras.csv. You may want to touch up my edit.)
During the convert phase, I get the following popup at 8 percent:Error : requested address FF16C62C is outside the specified ROM range for camera model [FF810000 to FFFFFFFF]I had selected "S series camera @ FF810000" from the menu, recalling seeing that number elsewhere in this thread and noting that an 8MB firmware jutting up against the top of the address space would start about there. If I try "other camera @ FF000000", then I get a stubs_entry_2.S out, but it appears to be rubbish (it's full of "WARNING: too many matches for DebugAssert" and the like, and then it lists a dozen stubs at the same address later on)..
Quote from: tommi2water on 24 / November / 2011, 15:32:53I had to change in platform/kbd.c:from: _SleepTask(*((int*)(0x1c40+0x8)));//10);to: _SleepTask(*((int*)(0x1c3C+0x8)));//10);I'm not sure why they do it that way. This works too : _SleepTask(10) ;
I had to change in platform/kbd.c:from: _SleepTask(*((int*)(0x1c40+0x8)));//10);to: _SleepTask(*((int*)(0x1c3C+0x8)));//10);
Started by acseven General Discussion and Assistance
Started by ELPH300 « 1 2 » Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by VincentD « 1 2 3 » General Help and Assistance on using CHDK stable releases
Started by yoshiharra General Help and Assistance on using CHDK stable releases
Started by igb General Help and Assistance on using CHDK stable releases