4 Building Microchip PRIME Base Node on Linux Application

  1. The PRIME Base Node application example is included in the usi_host-2.2.2 package:
    $ cd ~/010-usi-host/primeBN_linux
  2. Select to configure the cross-compiler environment variable CROSS_COMPILE if needed:
    $ export CROSS_COMPILE=~/buildroot-at91/output/host/bin/arm-buildroot-linux-gnueabihf-
  3. Clean and compile the code:
    $ make clean && make all
  4. Copy the compiled application to the target:
    $ scp bn_prime root@<target-ip-addr>:/usr/bin