Skip to content

Instantly share code, notes, and snippets.

View juliannojungle's full-sized avatar
🚴‍♂️
Always cycling... Inspiration realtime!

Julianno Francisco do Canto Silva juliannojungle

🚴‍♂️
Always cycling... Inspiration realtime!
View GitHub Profile
@juliannojungle
juliannojungle / git-submodule.md
Last active June 6, 2023 13:37
How to add git submodules

For all of the below commands, cloning the shallow repository on the correct branch prior to adding them as submodules helps with some git commands "weirdness" on WSL. Just clone the repos, move the folder to the destination ("Dependency" on below commands) and then run the following commands.

Adding raspberry pico-sdk:

git submodule add --depth=1 https://github.com/raspberrypi/pico-sdk.git src/Dependency/pico-sdk
git config -f .gitmodules submodule.src/Dependency/pico-sdk.shallow true
git config -f .gitmodules submodule.src/Dependency/pico-sdk.ignore all

WI-FI CONNECTION

  1. Copy the following files to the <sdcard-root>/tcz:
ca-certificates.tcz
ca-certificates.tcz.md5.txt
libnl.tcz
libnl.tcz.md5.txt
firmware-rpi-wifi.tcz