Hi Florian!
I have already reduced size to the same size to the size as on other platforms, so a lot less space will be used. Please give me a little time to cleanup my patches...
On providing headers seperate, a loooonnnnnngggggg time ago Jeppe created a (close to genious) patch that allowed to use a configuration file to inject embedded controllers at runtime, but this never was implemented in trunk.
I have tons of .pas files for embedded controllers (complete STM Line, now also complete SAMC/SAMD line of controllers and PIC32) that I can all provide as a patch but this increases the emedded directory a lot and 95% of all headers will most likely never get used. Having the mechanism that Jeppe once developed would allow people to install just the files they need, keeping the embedded directory clean & lean.
Perhaps this is something to implement in the future, what do you think?
FYI, here are the current patches for SAMCD+STM32 family:
https://github.com/michael-ring/mbf/tree/master/Patches
Michael
Florian Klämpfl wrote 13 lines
Am 30.09.2018 um 19:33 schrieb Michael Ring:
> Unfortunately a few files are missing in trunk, however I can provide patches to you to make things work, if you are in
> hurry then please send me an e-mail.
>
> I am currently working together with Alfred Glänzer (who does fpcupdeluxe) to integrate his port for Microchip SAMC/D
> controllers in my small framework for embedded controllers, next step after this is done will be to also better support
> PIC32 chips, so if you have a little time you will be able to use working support for PIC32 via fpcup deluxe.
>
> I can also provide the missing parts to the core defs to include those parts in trunk fpc if they are willing to do so.
Of course, the only problem we need to handle are the huge controller specific files. But maybe those can be keep separate.
_______________________________________________
fpc-devel maillist -
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel