Skip to content

VSCode C++ tools think uint32_t is not defined properly #734

Answered by rossng
rossng asked this question in Q&A
Discussion options

You must be logged in to vote

I think I may have solved this by prioritising the rp2_common folder for includes:

"includePath": [
    "~//Library/Arduino15/packages/rp2040/tools/**",
    "~/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.3/pico-sdk/src/rp2_common/**",
    "~/Library/Arduino15/packages/rp2040/hardware/rp2040/2.3.3/**",
    "${workspaceFolder}/**",
    "~/Documents/Arduino/libraries/**"
],

Perhaps there is a less hacky method - but hopefully this helps someone figure it out in future.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rossng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant