stacksmashing / pdnd-picoprobe

A fork of Picoprobe, an SWD progammer firmware, for the Pico Debug'n'Dump
20 stars 4 forks source link

Cannot find source file: src/pdnd/pio/pio_spi.c #1

Open anyconhhv opened 3 years ago

anyconhhv commented 3 years ago

First time using pico_sdk, btw cmake failed. Just built pico-sdk and picoprobe successfully

myname@computer:~/Git/pdnd-picoprobe$ git pull
Already up to date.
myname@computer:~/Git/pdnd-picoprobe$ cd build
myname@computer:~/Git/pdnd-picoprobe/build$ cmake ..
PICO_SDK_PATH is /home/myname/Git/pico-sdk
PICO platform is rp2040.
PICO target board is pico.
Using board configuration from /home/myname/Git/pico-sdk/src/boards/include/boards/pico.h
TinyUSB available at /home/myname/Git/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; adding USB support.
-- Configuring done
CMake Error at CMakeLists.txt:9 (add_executable):
  Cannot find source file:

    src/pdnd/pio/pio_spi.c
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
myname@computer:~/Git/pdnd-picoprobe/build$ find pio_spi.c
find: ‘pio_spi.c’: No such file or directory
myname@computer:~/Git/pdnd-picoprobe/build$ find . -name pio_spi.c
myname@computer:~/Git/pdnd-picoprobe/build$ find .. -name pio_spi.c
nezza commented 3 years ago

Hey, did you initialize the submodules? :)

git submodule init
git submodule update
anyconhhv commented 3 years ago

Wasn't in the build docs.... Thanks!

anyconhhv commented 3 years ago

Her'e some more newuser errors :-)

`fatal: clone of 'git@github.com:stacksmashing/pdnd-lib.git' into submodule path '/home/myname/Git/pdnd-picoprobe/src/pdnd' failed Failed to clone 'src/pdnd'. Retry scheduled Cloning into '/home/myname/Git/pdnd-picoprobe/src/pdnd'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:stacksmashing/pdnd-lib.git' into submodule path '/home/myname/Git/pdnd-picoprobe/src/pdnd' failed Failed to clone 'src/pdnd' a second time, aborting

`

anyconhhv commented 3 years ago

I modified .git/config tp read

url = https://github.com/stacksmashing/pdnd-lib.git

instead of url = git@github.com:stacksmashing/pdnd-lib.git