Closed michael-ring closed 2 years ago
There is some evidence of copy/paste fixup fatigue in the original code, this is a welcome cleanup. Thank you Michael! I will hopefully get round to checking this tonight.
One more thought, in MBF I do not use build configurations but instead postfix the lpi files with the subarch they are meant for. This way you pick a .lpi, load & compile for exactly the right subarch.
Not a big difference, but it makes it easier to see for which subarch a certain example is meant.
One more thought, in MBF I do not use build configurations but instead postfix the lpi files with the subarch they are meant for. This way you pick a .lpi, load & compile for exactly the right subarch.
Not a big difference, but it makes it easier to see for which subarch a certain example is meant.
This is a good idea. My wish is to make the examples subarch agnostic as far as possible, but sometimes the differences are too large to handle neatly with conditional code.
If you want to go down that road then I can prepare the files for you and create another pull request, just let me know...
The projects with build errors will be fixed. Some updates are required to make portmacro and task compatible with the latest SDK changes.
Made lpi files orthogonal to global fpc configuration files, all that is there to add in fpc.cfg is documented in
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/487
Some demo's do not build (for esp32):