With a little downtime I decided to try to go a bit deeper into how CHDK works.
Structures are normally defined in a header file and subsequently a function
fills-in the fields.
For some reason, camera_info structure is different. It is defined in camera_info.h as a structure of type _cam_info and that is defined immediately proceeding.
No function fills-in the fields, instead camera_info.c effectively does this
and is added to the compilation.
Why is it done this way and how is it made visible to the rest of the code ?
I have been trying to understand the complex arrangement of makefiles, which
ones are applied to folder 'core' ?