Skip to content

A simple blinky example using CMake for EVAL-ADICUP3029 platform

License

Notifications You must be signed in to change notification settings

spalani7/adicup3029-blinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADICUP3029 blinky

CI

A simple blinky example using CMake for EVAL-ADICUP3029 platform.

Download arm-none-eabi cross compiler

sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi

Download CMSIS Pack, Device Family Pack (DFP) and Board Support Pack (BSP)

Note: The above packs (*.pack), can be extracted using any archive file extractor similar to zip.

Extract packs

$ cd adicup3029-blinky
$ unzip ARM.CMSIS.5.4.0.pack -d ARM.CMSIS.5.4.0
$ unzip AnalogDevices.ADuCM302x_DFP.3.2.0.pack -d AnalogDevices.ADuCM302x_DFP.3.2.0
$ unzip AnalogDevices.EVAL-ADICUP3029_BSP.1.1.0.pack -d AnalogDevices.EVAL-ADICUP3029_BSP.1.1.0

Set environment variables

For Debian linux or mac OSX:

export TOOLCHAINROOT="<path to cross compiler directory containing 'bin' directory>"
export CMSISROOT="<path to directory containing CMSIS pack>"
export ADIPACKSROOT="<path to directory BSP and DFP packs>"

Default values:

TOOLCHAINROOT="/usr"
CMSISROOT="./"
ADIPACKSROOT="./"

Build

$ cd adicup3029-blinky
$ mkdir build && cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../aducm3029.cmake ..
$ make

License

MIT License

About

A simple blinky example using CMake for EVAL-ADICUP3029 platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages