GlobalLogicEdu / GL-SK-BSP

Board support package for GlobalLogic StarterKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSP for GlobalLogic Starter Kit

Electrical schematic of board variants:

Prerequisites

  • Linux PC with Ubuntu 16.04+ (tested on 18.04)
  • GlobalLogic Starter Kit v1.x

Preparing

  • 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

Download BSP

  • 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

Building and flashing firmware

  • 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

About

Board support package for GlobalLogic StarterKit