Zephyr-same54:基于Zephyr RTOS的SAME54系列微控制器开源项目,提供高效、灵活的嵌入式开发解决方案。 内容均为https://github.com/zephyrproject-rtos的原始镜像, 仅包含针对SAME54最小系统所需要的库,可以编译blinky点灯工程。 为了提升国内下载速度的镜像,不定期同步一次。
组织介绍

安装步骤

winget install Kitware.CMake Ninja-build.Ninja oss-winget.gperf python oss-winget.dtc wget
winget install Git.Git (Need administrator.)
winget install Kitware.CMake Ninja-build.Ninja oss-winget.gperf oss-winget.dtc wget

Note: add python, git, 7z to env. path

设定pip默认下载镜像,加速pip下载速率,服务器可根据需要调整

pip config --user set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config --user set global.trusted-host mirrors.aliyun.com
cd %HOMEPATH%
C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\python.exe -m venv zephyrsame54\.venv
zephyrsame54\.venv\Scripts\activate.bat
pip3 install west
使用当前镜像Zephyr,仅包含SAM系列最小依赖包
west init zephyrsame54 -m https://gitee.com/zephyr-same54/zephyr
cd zephyrsame54
west update
west zephyr-export
west packages pip --install

download https://www.7-zip.org/a/7zr.exe and rename to https://www.7-zip.org/a/7z.exe then move to C:\Users\username\zephyrproject.venv\Scripts

cd zephyr-sdk-0.17.4
Download https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.4/toolchain_windows-x86_64_arm-zephyr-eabi.7z and move to zephyr-sdk-0.17.4
setup.cmd
cd %HOMEPATH%\zephyrsame54\zephyr
rmdir /s /q build
west build -p always -b same54_xpro samples\basic\blinky
成就
0
Star
0
Fork
成员(1)
Mchp

搜索帮助