A simple blinky example using CMake for EVAL-ADICUP3029 platform.
- From Arm
- From xPack
- From Launchpad
- Pre-compiled binaries from
apt
(only debian)
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi
Note:
The above packs (*.pack
), can be extracted using any archive file extractor similar to zip.
$ 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
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="./"
$ cd adicup3029-blinky
$ mkdir build && cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../aducm3029.cmake ..
$ make
MIT License