Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tutorial for the Visual studio code extention #1015

Open
bendelathouwer opened this issue Oct 12, 2024 · 4 comments
Open

update tutorial for the Visual studio code extention #1015

bendelathouwer opened this issue Oct 12, 2024 · 4 comments

Comments

@bendelathouwer
Copy link

Would it be posible to make a tutorial installin the pimoroni c libaries using the new visual studio code extention?

@helgibbons
Copy link
Contributor

Not sure what extension you're referring to here, please can you post a link?

@bendelathouwer
Copy link
Author

https://www.raspberrypi.com/news/pico-vscode-extension/ this is the extention i'm talking about.

@bendelathouwer
Copy link
Author

been digging around a bit more and found that the makefiles the plugin generate are vastly diffrent that the ones you provide
CMakeLists.txt(generated by the plugin) vs yours (set(OUTPUT_NAME badger2040_drawing)
add_executable(${OUTPUT_NAME} badger2040_drawing.cpp)

target_link_libraries(${OUTPUT_NAME}
badger2040
hardware_spi
)

enable usb output

pico_enable_stdio_usb(${OUTPUT_NAME} 1)

pico_add_extra_outputs(${OUTPUT_NAME})
)

@bendelathouwer
Copy link
Author

and sorry for the copy past but somehow github doesn't let me input the files from your repo. But also tbh i never worked with cmake so it might be that i'm missing something incredbly obvious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants