I do not understand what is going on with Arduino, Portenta, the IDE etc.:
I had a project working fine, begin of June - compile clean, I can flash, it works as expected.
Today, I want to extend:
but the project compile fails: it complains now about doubled defined functions. WHAT?
No changes done, at least not on project, IDE and library.
Why it is failing now?
OK, I could fix by:
remove my own MbedClient.cpp function (which I need to fix a bug in mbed, Portenta H7, library. It compiles again:
but the functionality is broken (the network does not work anymore as before, back to short packages, data lost, out of sync with my network requests).
No idea what to do:
I found a new version of LIB at GitHub (3.1.1 instead of 3.0.1, I guess): I have copied over all files - and:
compile errors: #error "Either IPv4 or IPv6 must be enabled." comes up.
But why: I see it as defined (hover over the macros shows me the values 1 and 0). But it fails to compile!
OK, clean entire project, entire solution (I use VSmicro). Add the macro definition in project config file ... - OK, seems to be compile clean now.
But why can this happen?
But why it so complicated to bring up a project to work again - when I have never touched?
It is not usable for me: I cannot start over all the time just to make minor modifications or to fix reported bugs. Why I can lose my working project environment (and to restore via backup with a saved and archived project - which was the exact copy of this working project - could not fix. WHAT?)
What a painful IDE and board...