Forum Replies Created
-
AuthorPosts
-
July 24, 2023 at 02:05 in reply to: VisualGDB fails to upload compiled sketch using Picoprobe CMSIS-DAP #34506alefParticipant
Hi,
I used the second solution and patched the
platform.txt
file as you suggested; the problem is now solved. The default location of the file isC:\Users\<user>\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\<version>\platform.txt
instead ofC:\Users\<user>\Documents\ArduinoData\packages\rp2040\hardware\rp2040\<version>\platform.txt
As for the first workaround, I am not able to see the VisualGDB Project Properties -> Debug Settings -> Debug -> Program and Start without Debugging option. Attached you can find a screenshot of the options visible in my case. Is there any advanced developer option that I can enable in VisualGDB to see this entry?
Thank you!
Attachments:
You must be logged in to view attached files.alefParticipantHi,
With the new build the problem is solved and IntelliSense works fine.
Thank you for the support!
alefParticipantHi!
I recreated the problem with the LED blink example created from scratch. You can find all screenshots in the screenshot pdf attached.
In the following, the complete description of the steps I executed:
- Open Visual Studio and go to File -> New -> VisualGDB Project
- Open VisualGDB Arduino Project Wizard
- Select “Create a new “Blinking LED” project
- Select the Raspberry Pi Pico board
- Select Built-in GDB simulator as the debug method
- Project is loaded and successfully configured (Arduino settings are the standard ones)
- Build the project as it is -> Expected: successful build; got successful build with IntelliSense errors (build-log1.txt attached)
- Include something from the Pico SDK -> Got successful build with IntelliSense errors (build-log2.txt & Clang IntelliSense diagnostic console intellisense-log1.txt attached)
- Add all Pico SDK sub-paths to Additional CFLAGS (intellisense-paths.txt attached) -> Got successful build and IntelliSense fixed (Clang IntelliSense diagnostic console intellisense-log2.txt attached)
Thank you!
Attachments:
You must be logged in to view attached files. -
AuthorPosts