Part Number: MSP-EXP432P401R
Hi, I am trying to get a working demo up for the Zephyr OS on you MSP432 Launchpad but having trouble. See attached for description, I get this error -
24 | #error "Unsupported board: led0 devicetree alias is not defined"
| ^~~~~
[5/112] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/jmreina/zephyrproject/zephyr/build
Seems simple to fix but I am stuck, how do I get this blinky demo to run on my Launchpad?
@brief TI Zephyr Debug Notes @details TI MSP-432P401R Launchpad @auth Justin Reina @date 8/23/21 @section Procedure [2] Create a fresh VM of Ubuntu 20.04 Update & Upgrade sudo apt install git gitk sudo apt update sudo apt upgrade Get Kitware wget https://apt.kitware.com/kitware-archive.sh sudo bash kitware-archive.sh Use apt to install the required dependencies: sudo apt install --no-install-recommends git cmake ninja-build gperf \ ccache dfu-util device-tree-compiler wget \ python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \ make gcc gcc-multilib g++-multilib libsdl2-dev Install west pip3 install --user -U west echo 'export PATH=~/.local/bin:"$PATH"' >> ~/.bashrc source ~/.bashrc Get the Zephyr source code: west init ~/zephyrproject cd ~/zephyrproject west update Export a Zephyr CMake package west zephyr-export Zephyr’s scripts: pip3 install --user -r ~/zephyrproject/zephyr/scripts/requirements.txt 1. Download the latest SDK installer: cd ~ wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.0/zephyr-sdk-0.13.0-linux-x86_64-setup.run 2. Run the installer, installing the SDK in ~/zephyr-sdk-0.13.0: chmod +x zephyr-sdk-0.13.0-linux-x86_64-setup.run ./zephyr-sdk-0.13.0-linux-x86_64-setup.run -- -d ~/zephyr-sdk-0.13.0 >src ctrl roots of zephyr-sdk-0.13.0\ & zephyrproject\ 3. Install udev rules, which allow you to flash most Zephyr boards as a regular user: sudo cp ~/zephyr-sdk-0.13.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d sudo udevadm control --reload 4. Build the Blinky Sample cd ~/zephyrproject/zephyr west build -p auto -b msp_exp432p401r_launchxl samples/basic/blinky Flash the Sample west flash @section Notes @board TI MSP-432P401R Launchpad [1] *MSP-EXP432P401R *msp_exp432p410r_launchpad @section Reference 1. https://www.ti.com/tool/MSP-EXP432P401R 2. https://docs.zephyrproject.org/latest/getting_started