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

tusb_config.h mising in /pico-sdk/lib/tinyusb/src/ #2934

Open
1 task done
g3noce opened this issue Jan 8, 2025 · 2 comments
Open
1 task done

tusb_config.h mising in /pico-sdk/lib/tinyusb/src/ #2934

g3noce opened this issue Jan 8, 2025 · 2 comments
Labels

Comments

@g3noce
Copy link

g3noce commented Jan 8, 2025

Operating System

Linux

Board

pico

Firmware

don't know

What happened ?

/pico-sdk/lib/tinyusb/src/tusb_option.h:238:12: fatal error: tusb_config.h: No such file or directory
238 | #include "tusb_config.h"

How to reproduce ?

i include this:
#include <stdio.h>
#include "pico/stdlib.h"
#include "hardware/gpio.h"
#include "bsp/board.h"
#include "tusb.h"

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

In file included from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/common/tusb_common.h:74,
from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/tusb.h:37,
from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/hw/bsp/board_api.h:39,
from /mnt/e/Genoce/pico/pico-sdk/src/rp2_common/tinyusb/include/bsp/board.h:10,
from /mnt/e/Genoce/pico/external_mouse/external_mouse.c:4:
/mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/tusb_option.h:238:12: fatal error: tusb_config.h: No such file or directory
238 | #include "tusb_config.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/external_mouse.dir/build.make:79: CMakeFiles/external_mouse.dir/external_mouse.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2257: CMakeFiles/external_mouse.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@g3noce g3noce added the Bug 🐞 label Jan 8, 2025
@OrhanYigitDurmaz
Copy link

Operating System

Linux

Board

pico

Firmware

don't know

What happened ?

/pico-sdk/lib/tinyusb/src/tusb_option.h:238:12: fatal error: tusb_config.h: No such file or directory 238 | #include "tusb_config.h"

How to reproduce ?

i include this: #include <stdio.h> #include "pico/stdlib.h" #include "hardware/gpio.h" #include "bsp/board.h" #include "tusb.h"

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

In file included from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/common/tusb_common.h:74, from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/tusb.h:37, from /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/hw/bsp/board_api.h:39, from /mnt/e/Genoce/pico/pico-sdk/src/rp2_common/tinyusb/include/bsp/board.h:10, from /mnt/e/Genoce/pico/external_mouse/external_mouse.c:4: /mnt/e/Genoce/pico/pico-sdk/lib/tinyusb/src/tusb_option.h:238:12: fatal error: tusb_config.h: No such file or directory 238 | #include "tusb_config.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/external_mouse.dir/build.make:79: CMakeFiles/external_mouse.dir/external_mouse.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2257: CMakeFiles/external_mouse.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Screenshots

No response

I have checked existing issues, dicussion and documentation

* [x]  I confirm I have checked existing issues, dicussion and documentation.

you need to create a tusb_config.h file

@dhalbert
Copy link
Contributor

Look here: pico-sdk/src/rp2_common/pico_stdio_usb/include/tusb_config.h

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

No branches or pull requests

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy