My problem is now that I do not know how to best implement this in freepascal so that it is as transparent as possible to the user, not requiring him to create a huge list of defsym parameters in the lpi file or on commandline.


My current idea is to put a list of default defsyms for arm chips in t_embed/t_freertos, re-mapping non-cmsis conformant names to proper cmsis names.

Like thought...
Inside a fpdoc utility, parameters are often transferred as a list of parameters. There is the special command line syntax. The option value is the a file list when parameter value has a '@' prefix (the params are loaded from file as list of parameters) or is the single option parameter (the parameter value is without that prefix).

Andrey.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to