This commit is contained in:
2024-03-25 15:05:38 +08:00
commit 564de1dab2
9 changed files with 422 additions and 0 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
# 基于 Raspberry Pico / Pico W 的GPS模块EC800M
* 可以计算时间、经纬度
## Build
```
# 使用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/EC800M.git
cd EC800M
mkdir -p build
cd build
cmake ..
#cmake -DPICO_BOARD=pico_w ..
make
```