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

Custom image issues #40

Closed
vaidhy opened this issue Jan 22, 2024 · 2 comments
Closed

Custom image issues #40

vaidhy opened this issue Jan 22, 2024 · 2 comments

Comments

@vaidhy
Copy link

vaidhy commented Jan 22, 2024

I am able to cross-compile and build on my debian 12 (gcc 12.2) after installing the following:
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib

However, the keyboard on my custom images do not work. They work with the pre-built binaries. I changed the CAPS_LOCK to F12 in user_config.h.

Am I compiling with the right cross compiler? If there is are more instructions on compiling the code with either a linux or mac machine, it would help a lot.

@hrvach
Copy link
Owner

hrvach commented Jan 22, 2024

Try doing a git pull in your pico-sdk and pico-sdk/lib/tinyusb folders. Does that change anything?

arm-none-eabi-gcc should be OK.

@vaidhy
Copy link
Author

vaidhy commented Jan 22, 2024

Never mind. I found the issue. I was using pico_w instead of pico :(

@vaidhy vaidhy closed this as completed Jan 22, 2024
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