fluffymadness / tinyusb-xinput

Working xinput example with tinyusb for rp2040
43 stars 4 forks source link

platformio.ini missing #1

Open TrContact opened 3 years ago

TrContact commented 3 years ago

Critical build file missing. Projects designed in Platform.io require the contents of the entire project folder, not just the src folder.

leecyrille commented 2 years ago

I would also like to use this as a starting point! Been working on project using GP2040, but it is severely overkill and more complicated for my project. Would be awesome to get this one. The GP2040 project says they used this for reference.

fluffymadness commented 2 years ago

@leecyrille I used wizio pico for development, can you try with the ini below? https://github.com/Wiz-IO/wizio-pico

[env:raspberry-pi-pico]
platform = wizio-pico
board = raspberry-pi-pico
framework = baremetal ; 

monitor_port = SERIAL_PORT
monitor_speed = 115200

build_flags = 
    -D PICO_USB   ; both
    -D PICO_STDIO_UART  ; only baremetal
    -std=c++17
    -std=gnu++17
build_unflags =
    -std=gnu++11

lib_ignore = wiring
leecyrille commented 2 years ago

I got it to work. I created a new project in platform.io, then dumped your files in the root directory and it worked. I could'nt get it to work with just the platformio.ini file added. Thanks for your work