标题: 基于 Raspberry Pico / Pico W 的厨房危险(火灾)报警 (Pico W WiFi传输暂时不玩)
时间: 01-14 21:40
# 使用WSL Debian GNU/Linux 12 (bookworm) 构建
# 确保Pico-SDK环境变量
export PICO_SDK_PATH=/mnt/c/Users/niuyuling/Desktop/raspberry-pico/SDK/pico-sdk
export PICO_EXTRAS_PATH=/mnt/c/Users/niuyuling/Desktop/raspberry-pico/SDK/pico-extras
apt install cmake gcc-arm-none-eabi gcc g++
apt install gdb-multiarch automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev
git clone https://git.aixiao.me/aixiao/Danger-alarm.git
cd Danger-alarm
git submodule init
git submodule update
mkdir build
cd build
#cmake ..
cmake -DPICO_BOARD=pico_w ..
make
# 树莓派433MHZ接收服务端构建
cd ~
git clone https://github.com/WiringPi/WiringPi.git
cd WiringPi
./build
cd ~/Danger-alarm/server/RPi_utils
make clean; make
./RFSniffer 169
『回复列表(0|隐藏机器人聊天)』