Adding new cameras, applying patches into trunk (with source code prepared) - page 85 - General Discussion and Assistance - CHDK Forum supplierdeeply

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1666 Replies
  • 690166 Views
*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #840 on: 20 / September / 2012, 00:56:04 »
Advertisements
a810  fw 1.00b  & fw 1.00d - Alpha version for dev trunk.

KNOWN BUGS
- mkdir using chdkptp returns error
- Colors of Connect4 are wrong.
- GetBatteryTemperature() returns always -99° Celsius or -146° Fahrenheit
- Mute during zoom in/out is not implemented
- Video Time limit removal is not implemented.
- AF during video recording is disabled.
- Motion detection was not tested


*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #841 on: 20 / September / 2012, 21:28:58 »
a3200  fw 1.00a/fw 1.00c - Alpha version for dev trunk.
a3200 fw 1.00d - Source cleanup and unlock optical zoom during video added.

Binary files were posted here

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #842 on: 22 / September / 2012, 10:47:47 »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13792
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #843 on: 22 / September / 2012, 18:19:55 »
a810  fw 1.00b  & fw 1.00d - Alpha version for dev trunk.
Added to trunk in changeset  2168
Note that the empty clobber list in _rand was not accepted by the compiler on the autobuild server. It was fine with gcc 4.5.1 I'm using on my main dev machine, but not on the 4.3.2 I have on my laptop. It seems to me it's also incorrect that this function has no clobbers, so I've "fixed" it by adding r0,r1 and r2 to the clobber list.

This function should just be re-written in C, and added in wrappers .c under a CAM_MISSING_RAND ifdef or something like that.

edit:
Merged to stable in changeset 2172

a3200  fw 1.00a/fw 1.00c - Alpha version for dev trunk.
a3200 fw 1.00d - Source cleanup and unlock optical zoom during video added.
Added in trunk changeset  2169 release changeset 2173

sx150 patch as reported here : http://chdk.setepontos.com/index.php?topic=6953.msg91147#msg91147
Added in trunk changeset 2170 release changeset 2174
« Last Edit: 22 / September / 2012, 22:18:46 by reyalp »
Don't forget what the H stands for.


*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #844 on: 24 / September / 2012, 10:26:14 »
a810  fw 1.00b  & fw 1.00d - Alpha version for dev trunk.
Added to trunk in changeset  2168
Note that the empty clobber list in _rand was not accepted by the compiler on the autobuild server. It was fine with gcc 4.5.1 I'm using on my main dev machine, but not on the 4.3.2 I have on my laptop. It seems to me it's also incorrect that this function has no clobbers, so I've "fixed" it by adding r0,r1 and r2 to the clobber list.

This function should just be re-written in C, and added in wrappers .c under a CAM_MISSING_RAND ifdef or something like that.
patch for a810

- CAM_MISSING_RAND added to include/camera.h
- srand() and rand() implemented in C and added to platform/generic/wrappers.c under #ifdef CAM_MISSING_RAND
- a810/platform_camera.h modified to use CAM_MISSING_RAND.
- srand() and rand() removed from platform/a810/lib.c

@reyalp, thanks for checking, if you think that more modification should be done, let me know.


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #845 on: 26 / September / 2012, 23:06:19 »
Update for the readme.txt file (included in every build) in response to recent newbie confusion from the out-of-date instructions posted there.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #846 on: 28 / September / 2012, 22:41:50 »
a2200 100b/100c/100d
Patch created from source files posted by Nilinhim here

Additionally, exmem was disabled in 100d, as was done in 100b.

*

Online msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #847 on: 29 / September / 2012, 10:09:46 »

patch for a810

- CAM_MISSING_RAND added to include/camera.h
- srand() and rand() implemented in C and added to platform/generic/wrappers.c under #ifdef CAM_MISSING_RAND
- a810/platform_camera.h modified to use CAM_MISSING_RAND.
- srand() and rand() removed from platform/a810/lib.c

Added in trunk r2179 & release-1_1 r2182
CHDK-DE:  CHDK-DE links


*

Online msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #848 on: 29 / September / 2012, 10:10:44 »
Update for the readme.txt file (included in every build) in response to recent newbie confusion from the out-of-date instructions posted there.


Added in trunk r2180 & release-1_1 r 2182
CHDK-DE:  CHDK-DE links

*

Online msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #849 on: 29 / September / 2012, 10:11:34 »
a2200 100b/100c/100d
Patch created from source files posted by Nilinhim here

Additionally, exmem was disabled in 100d, as was done in 100b.

Added in trunk r2181 & release-1_1 r2182.
CHDK-DE:  CHDK-DE links

 

Related Topics