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

Best way to update the Pico SDK? #15

Open
codaris opened this issue Jan 31, 2023 · 3 comments
Open

Best way to update the Pico SDK? #15

codaris opened this issue Jan 31, 2023 · 3 comments

Comments

@codaris
Copy link

codaris commented Jan 31, 2023

Hello Miroslav,

I'm using this project as a graphics processor for an 8bit computer and it works great (I use the remaining pins and remaining PIO to connect to a 6502 8bit computer bus). I'm also using the Pico for USB keyboard and mouse support in the same project. In this work, I noticed that the Pico SDK included in this library is out of date. For my USB support, I manually updated the TinyUSB library to the latest version and just patched out anywhere there was a conflict with the older Pico SDK and that has worked.

However, I recently purchased a Pi Pico W for it's Wifi support and I'd like to use it with this project (giving my 8bit computer VGA, USB, and Wifi support). I'm sure I'm going to need to update the Pico SDK to make that work but I'm not exactly sure what you did originally to bring it into your build system. If you can provide any insight on that, I would appreciate it. I'm happy to provide a pull request with the updated code if I get it working either way.

Thanks!

@codaris codaris changed the title Best way to update the PICO SDK? Best way to update the Pico SDK? Jan 31, 2023
@Panda381
Copy link
Owner

I'm sorry, but I'm not entirely sure if I made any changes to the source files as well. I think I just copied the C and S to _sdk, the H header files (and some S) to _sdk\include (preserving partial paths), included the compilation of the C and S source files in Makefile.inc, and included the H header files in global.h.

@Panda381
Copy link
Owner

I apologize for not updating a newer version of the SDK - I am creating my own version of the SDK library, with more functionality and more transparency for the programmer. However, it will be completely incompatible with the original SDK library.

@codaris
Copy link
Author

codaris commented Feb 6, 2023

As a test, I tried moving Picovga to the cmake build system that the Pico SDK uses and I've successfully gotten the "Hello World" example to build and run. I don't know cmake at all but I was able to figure out enough to make it work.

The next test is to try a more complex example and then try and see if I can get the Pico W to work.

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