mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-09-09 03:02:42 +00:00
13 lines
189 B
Bash
13 lines
189 B
Bash
|
#!/usr/bin/bash
|
||
|
set -e
|
||
|
|
||
|
export PICO_SDK_PATH=~/pico-sdk
|
||
|
|
||
|
BUILD_DIR=build
|
||
|
|
||
|
if [ -d "${BUILD_DIR}" ]; then rm -rf ${BUILD_DIR}; fi
|
||
|
mkdir ${BUILD_DIR}
|
||
|
cd ${BUILD_DIR}
|
||
|
cmake ..
|
||
|
make -j$(nproc)
|