Files
EC800M/README.md
2024-03-25 15:05:38 +08:00

26 lines
706 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 基于 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
```