CHDK Wiki
Line 80: Line 80:
 
====trunk/core/gui_menu.c====
 
====trunk/core/gui_menu.c====
   
- customized menu space
+
*customized menu space
  +
 
====trunk/core/kbd.c====
 
====trunk/core/kbd.c====
   

Revision as of 00:56, 22 June 2011

Introduction

This wiki page describes every files used in CHDK development that might need to be customized for a port to a new camera. Each entry briefly describes what information the file contains, has a little bit about where to find that information and some pointers to what might go wrong if those values are wrong. At some point this will probably need to be broken across several pages.

Files Customized for each Firmware Version of a Camera

(in trunknnnn/platform/cameraname/sub/firmwareversion)

Address files

stubs_entry_2.S

lib.c

stubs_min.S

Executable code task files

boot.c

capt_seq.c

movie_rec.c

Files related to compiling (modification not needed)

Makefile

makefile.inc

stubs_asm.h

stubs_entry.S

stubs_auto.S

other files

primary.bin

Files Customized for all Firmware Versions of a Camera

(in trunknnnn/platform/cameraname)

kdb.c

lib.c

main.c

Makefile

notes.txt

platform_camera.h

shooting.c

wrappers.c

(in trunknnnn/loader/cameraname/)

blobs.S

entry.S

main.c

Makefile

(in trunknnnn/loader/cameraname/resetcode)

entry.S

main.C

Makefile

Files Customized in Main Code Files for Specific Cameras

trunk/core/gui.c

- short cut key buttons - adjustable ALT button - raw exceptions

trunk/core/gui_menu.c

  • customized menu space

trunk/core/kbd.c

-ZSTEP_TABLE_SIZE, nTxtbl if camera supports syncable remote - custom shoot processing

trunk/core/main.c

- customized dump_memory for IXUS65 only

trunk/core/raw.c

- customize gammma value calculations for sx30 & G12

trunk/include/kbd.c

- customize USB_MASK (belongs elsewhere)

trunk/generic/shooting.c

- customized shooting_get_drive_mode() for some cameras

- custom hacks for iris control of sx30 & g12

- strange vague hack for CAMERA_ixus800_sd700

trunk/generic/wrappers.c

- assorted hacks for functions not found in stubs_entry.S for G12, SX30, S95

Files Customize to Add a New Camera or Firmware Version to CHDK

Makefile

makefile.inc