Portenta H7 IDE project not working anymore

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...

Who does know how to place my linker_script.ld under, into my project?
It uses still the one in the library folders (I have lost my changes due to update the library).

Even my project is back - the function does not work anymore.
I have issues on the network (MbedClient):

  1. I send a command which results in a text response. But it is large. And the tail of the text message is lost! WHY now?
  2. I send other similar commands: but all is off by one command request: the previous responds via network, but not with the current command response. Instead: just the next command gets the response via network. But internally all is fine: I see via UART that the current command was taken, has generated the response and it has sent back via network. But my Python script receiving these responses are off my one command. NEW issue - not seen before.

How much time should I spend just to figure out the bugs in Arduino, Portenta H7 and mbed and to find a work-around?
Unfortunately, I have no clue how to use the library source code, to debug also the library and to make changes on it.
The most inconvenient platform, IDE and FW/SW environment seen in my life.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.