For future reference, or anyone who wants to continue work on this port, here's a patch based on the code from
http://chdk.setepontos.com/index.php?topic=12418.msg123489#msg123489 for the current trunk (r4449)
From the thread, it appears there was further development after that, but the code has not been posted.
I was going to check this in, because I have another propset to add for g7x, but I'm reluctant to add a propset.h that is probably incomplete / incorrect and has no one working to finish it.
Like the previous version, the code-gen files didn't match the corresponding generated files. I made some modifications to make it consistent:
- commented out the task_RotaryEncoder hook in taskhook.S, since it was commented out in boot.c
- commented out the exp_drv_task hook, and the corresponding code gen lines. In the last zip, the actual apex2us override was not present, so there is no reason to have any of the exp_drive hook active.
There are still a number of other problems:
CAM_JPEG_* in platform_camera.h are incorrect. I suspect other things are too
The modemap is probably not correct.
the jogdial implementation appears to be incomplete (as noted above, the task isn't hooked, and jogdial_control appears to be incomplete)
there is no indication of what features are verified working
I'm not sure what to do with this. I'm leaning toward checking in the platform changes, but not adding the propset7.h to the main includes. Maybe add it as propset7_wip.h in the platform directory or something.edit:
I've checked this in. The partial propset file is propset_x.h in the platform directory. There are only a few changes form propset 6, but some of them are at low numbers. This *probably* means all the following values are shifted around, so anyone who wants to continue this port needs to go through, verify as many as possible, and clearly identify any that remain unknown.