Files
userland/host_applications/linux/apps/hello_pi
James Hughes a7f6686acd Fix up demo apps to abort when used on Pi4
Added a new library which contains code to read
/proc/cpuinfo and get the Type of device in use.

Demo apps use that to abort as necessary.
2020-05-27 12:43:39 +01:00
..
2016-02-16 00:22:42 +00:00
2016-02-16 00:22:42 +00:00

Building on Pi
++++++++++++++

To build the test apps on the pi, first build the libs:
make -C libs/ilclient
make -C libs/vgfont

then by entering each test app directory and run make. E.g.
  cd hello_world
  make
  ./hello_world.bin

Running ./rebuild.sh will rebuild the all libs and and apps.


Building on a different PC
++++++++++++++++++++++++++

If you want to build the samples on a different machine (cross-compile) then set:
SDKSTAGE=<path/to/firmware-directory> and CC=<path/to/cross-compiler>
before running make.