Thank you both so much for the quick, clear reply!  :)

        =-ddt->

On Tue, Feb 15, 2022 at 3:41 PM Dan Fandrich <d...@coneharvesters.com> wrote:
>
> On Tue, Feb 15, 2022 at 05:37:10PM -0500, Hubert Figuiere wrote:
> > On 2022-02-15 5:17 p.m., Dave Taylor wrote:
> > > If not, how much effort do we think it might take to port?
> > you'll need:
> >
> > - A modern C toolchain
> > - A certain about of RAM
> > - A proper libusb implementation OR rewrite the USB layer to the platform
> > implementation
> >
> > I'd rate that hard, downright impossible if you hit the hardware limitation.
>
> Looking at the various Arduino boards out there, it looks to me like they
> typically have RAM measured in two-digit KiB and flash measured in three-digit
> KiB (that's in the range of 0.0001 GiB for you kids out there). Given that the
> library binaries libgphoto2, libgphoto2_port and ptp2 alone total well over 1
> MiB on my desktop machine, I'd say it's impossible.  You might be able to use
> the source code as a base to create a stripped-down version that could squeeze
> into that space, but it would be a huge undertaking.
>
> With such tight constraints, you'd probably be better off starting from
> scratch. A quick search brought me to https://github.com/felis/PTP_2.0 which 
> is
> a PTP driver for Arduino. That's probably a better basis for starting such a
> project. gphoto2 was designed for extensibility, not for optimized space
> saving in an embedded environment.
>
> Dan
>
>
> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to