[fpc-pascal] How to provide user supplied functionality for mkdir, chdir etc for freertos/esp-idf?

Sven Barth pascaldragon at googlemail.com
Tue Dec 17 11:04:44 CET 2024


Christo Crause via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Mo., 16. Dez. 2024, 18:02:

> How can I provide functionality for chdir, mkdir etc. ?  The current
> implementation in freertos/sysdir.inc
> is hard coded with IO errors, is there a way to override the default
> implementation?
>
> I have implemented RTL file handling functionality by assigning the
> rtl_do_* procedural variables.
> Should a similar approach (procedural variables) be used in the
> freertos/sysdir.inc so that a user
> can supply custom implementations?
>

That or providing both (file and dir) through a manager record.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20241217/d5296f1e/attachment-0001.htm>


More information about the fpc-pascal mailing list