File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ export PICO_PLATFORM=rp2040
3
+ export PICO_COMPILER=pico_arm_gcc
4
+ export PICO_SDK_PATH=/workspaces/pico-projects/pico-sdk
5
+ mkdir build
6
+ cmake -S . -B build -DPICO_COMPILER=$PICO_COMPILER
7
+ cmake --build build
8
+
9
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ export PICO_PLATFORM=rp2040
3
+ export PICO_COMPILER=pico_etool_clang
4
+ export PICO_SDK_PATH=/workspaces/pico-projects/pico-sdk
5
+ export PICO_TOOLCHAIN_PATH=/opt/LLVM-ETOOL
6
+ mkdir build
7
+ cmake -S . -B build -DPICO_COMPILER=$PICO_COMPILER -DCMAKE_SYSROOT=$PICO_TOOLCHAIN_PATH /lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp
8
+ cmake --build build
9
+
10
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ git clone https://github.com/PicoNexus/pico-sdk.git
3
+ cd pico-sdk
4
+ git submodule update --init
5
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ rm -fr build
3
+
4
+
You can’t perform that action at this time.
0 commit comments