pico: init, read encoder and send data to server

This commit is contained in:
Crispy 2025-07-03 18:29:53 +02:00
parent c545abd5ab
commit cdccb0843c
6 changed files with 399 additions and 0 deletions

11
pico/Makefile Executable file
View file

@ -0,0 +1,11 @@
build_thing: git_deps
cmake -B bin -DPICO_SDK_PATH=../pico-sdk -DCMAKE_BUILD_TYPE=Debug
make -j8 -C bin
# then manually copy bin/thing.uf2 to the pico
git_deps:
cd ../pico-sdk && git submodule update --init lib/cyw43-driver lib/lwip
clean:
rm -rf bin/*