This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.
ZUPM is a UPM C source repo for use with the Zephyr Project.
- ZUPM v1.2.0 - supports Zephyr Kernel 1.8
- ZUPM v1.1.0 - supports Zephyr Kernel 1.7
- ZUPM v1.0.0 - supports Zephyr Kernel 1.6
- ZUPM v0.9.0 - supports Zephyr Kernel 1.5
git clone https://github.com/zephyrproject-rtos/zephyr.git && cd zephyr && git checkout tags/v1.7.0
export ZEPHYR_GCC_VARIANT=zephyr
export ZEPHYR_SDK_INSTALL_DIR=<path to your sdk installation directory>
source zephyr-env.sh
git clone https://github.com/intel-iot-devkit/zmraa.git $ZEPHYR_BASE/ext/lib/mraa
git clone https://github.com/intel-iot-devkit/zupm.git $ZEPHYR_BASE/ext/lib/upm
cd $ZEPHYR_BASE
patch -p1 < $ZEPHYR_BASE/ext/lib/mraa/install.patch
patch -p1 < $ZEPHYR_BASE/ext/lib/upm/install.patch
ln -s $ZEPHYR_BASE/ext/lib/upm/samples/upm $ZEPHYR_BASE/samples/
NOTE: ZUPM HAS A HARD DEPENDENCY ON ZMRAA. PLEASE CLONE AND PATCH ZMRAA FIRST AND THEN PROCEED TO ZUPM.
# DFRobot pH Sensor
cd $ZEPHYR_BASE/samples/upm/dfrph
make BOARD=arduino_101_sss
# Onboard Accel, Gyro, Magno
cd $ZEPHYR_BASE/samples/upm/bmi160
make BOARD=arduino_101_sss
# LCD display
cd $ZEPHYR_BASE/samples/upm/jhd1313m1
make BOARD=arduino_101_sss
# Onboard LED (pin 13)
cd $ZEPHYR_BASE/samples/upm/led
make BOARD=arduino_101
Flash the target. After resetting the target, the onboard LED should flash.
# Onboard LED (pin 9)
cd $ZEPHYR_BASE/samples/upm/led
make BOARD=quark_d2000_crb
Flash the target. After resetting the target, the onboard LED should flash.
# Onboard LED (pin 64)
cd $ZEPHYR_BASE/samples/upm/led
make BOARD=quark_se_c1000_devboard
Flash the target
make BOARD=quark_se_c1000_devboard flash
After resetting the target, the onboard LED should flash.