You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> git clone -b main https://github.com/elehobica/pico_level_meter.git
55
56
> cd pico_level_meter
@@ -61,51 +62,38 @@ The frontend analog circuit should be needed.
61
62
* Confirmed with cmake-3.27.2-windows-x86_64 and gcc-arm-none-eabi-10.3-2021.10-win32
62
63
* Lanuch "Developer Command Prompt for VS 2022"
63
64
```
65
+
> git clone -b main https://github.com/elehobica/pico_level_meter.git
64
66
> cd pico_level_meter
65
67
> mkdir build && cd build
68
+
> git submodule update -i
66
69
> cmake -G "NMake Makefiles" ..
67
70
> nmake
68
71
```
69
-
* Put "pico_level_meter.uf2" on RPI-RP2 drive
72
+
* Put "pico_level_meter.uf2" on RP2350 drive
70
73
### Linux
71
-
* Build is confirmed with [pico-sdk-dev-docker:sdk-2.1.1-1.0.0](https://hub.docker.com/r/elehobica/pico-sdk-dev-docker)
74
+
* Build is confirmed with [pico-sdk-dev-docker:sdk-2.3.0](https://hub.docker.com/r/elehobica/pico-sdk-dev-docker)
72
75
* Confirmed with cmake-3.22.1 and arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1
73
76
```
77
+
$ git clone -b main https://github.com/elehobica/pico_level_meter.git
74
78
$ cd pico_level_meter
79
+
$ git submodule update -i
75
80
$ mkdir build && cd build
76
81
$ cmake ..
77
82
$ make -j4
78
83
```
79
-
* Download "pico_level_meter.uf2" on RPI-RP2 drive
80
-
81
-
82
-
83
-
* See ["Getting started with Raspberry Pi Pico"](https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf)
84
-
* Put "pico-sdk", "pico-examples" and "pico-extras" on the same level with this project folder.
85
-
* Set environmental variables for PICO_SDK_PATH, PICO_EXTRAS_PATH and PICO_EXAMPLES_PATH
86
-
* Build is confirmed in Developer Command Prompt for VS 2022 and Visual Studio Code on Windows enviroment
87
-
* Confirmed with Pico SDK 1.5.1, cmake-3.27.2-windows-x86_64 and gcc-arm-none-eabi-10.3-2021.10-win32
84
+
* Download "pico_level_meter.uf2" on RP2350 drive
85
+
### Local build with Docker (build_docker.sh)
86
+
*`build_docker.sh` builds this project inside the same SDK image as CI ([pico-sdk-dev-docker:sdk-2.3.0](https://hub.docker.com/r/elehobica/pico-sdk-dev-docker)), so no local Pico SDK installation is required
87
+
* Requirements: Docker, and submodules initialized (`git submodule update -i`)
88
+
* No need to set PICO_SDK_PATH / PICO_EXTRAS_PATH / PICO_EXAMPLES_PATH (provided by the image)
0 commit comments