Electrical schematic of board variants:
- Linux PC with Ubuntu 16.04+ (tested on 18.04)
- GlobalLogic Starter Kit v1.x
- Update APT caches and install common tools and libraries
sudo apt update
sudo apt install -y git vim arm-none-eabi-gcc libnewlib-arm-none-eabi minicom build-essential cmake libusb-1.0-0-dev
-
Install Linux stlink tools using this manual
-
Create work directory and add it to bash environment as a variable for fast access
mkdir ~/development
echo "export WORKDIR=~/development" >> ~/.bashrc
source ~/.bashrc
- Clone project
cd $WORKDIR
git clone https://github.com/GlobalLogicEdu/GL-SK-BSP.git
cd GL-SK-BSP
- Init sub-modules
git submodule update --init
- Go to "blink" sample folder
cd $WORKDIR/GL-SK-BSP/examples/blink/
- Build firmware
make -j$(nproc)
- Flash firmware to device. NOTE: starter kit should be powered and CN1 connected to PC
make flash