The only point where I know I deviated from the script is that I clicked the “use Arduino CLI” option because the legacy Arduino IDE is deprecated and there is currently no intention to support Arduino IDE 2.x. The Arduino Extension installation notes strongly suggests everyone uses the CLI that now comes bundled with the extension since version 0.5.0. We’re at version 0.6.0.
maybe you can also try other 3rd party packages and see if vscode will be able to get the those packages. it can also be that the issue is not just for rak rui boards.
Now that I can (finally) load a VScode project that started out in the Arduino IDE, what’s the advantage/disadvantage of platformio over the Arduino extension (using RUI3 on a RAK4631)?
My eventual goal here is to get the JLink debugger going so I can move beyond println based debugging.
And a side question that isn’t worth a whole thread, there is a new error message showing up on the serial monitor stream.
+EVT:JOIN_FAILED_RX_TIMEOUT
I think this is new in RUI3(4.1.1) that I have installed thanks to @beegee 's hex image.
No, I’m absolutely sold on VScode rather than ArduinoIDE, which is why I have stuck with the (for me) troublesome task of getting it working.
My question is rather about the option of Arduino extensions or platformio extension under VScode. I had the impression that you and most if not all of the dev team are using platformio, but platformio is not discussed on the “RUI3 supported IDEs” page.
I had never seen the EVT timeout message until a week ago. I am not yet trying to use any radio links. I have my custom drivers for the GNSS and lots of numerical code running, but the radio links are for later. It might be that there is an attempt to communicate setting that I have inherited from your hex flash dump that is new for me.
At the moment RUI3 is only available as Arduino BSP. So in VSC you need the Arduino extension.
I didn’t find a way yet to use RUI3 BSP with PlatformIO. If you know how, please share. I will be the first to use it
I did manage to get the JLink debugger to work at one point from the Arduino2 IDE.
I think I built the Sketch configured for RAK4631, uploaded and then told the IDE it was a Nano 33 BLE instead, and then attached to it for debug. I could step through the source, including the RUI3 source which I thought was pretty cool, because it was the first time I’d seen into that code. At least I think it was RUI3 code ???