From 653c06fed765d9748e18f289ac3f1e995c6a9486 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 18 Aug 2011 13:26:08 -0400 Subject: unix-toolchain: Add note about using BOARD env. variable. --- source/unix-toolchain.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source') diff --git a/source/unix-toolchain.rst b/source/unix-toolchain.rst index c7fc501..cb23782 100644 --- a/source/unix-toolchain.rst +++ b/source/unix-toolchain.rst @@ -269,6 +269,22 @@ tools correctly:: $ make clean $ make +.. note:: These instructions are for the Maple. If you're compiling + for another board, you'll need to set a ``BOARD`` environment + variable appropriately. For example, to compile for Maple Mini (in + the bash shell), :: + + $ export BOARD=maple_mini + $ make + + The ``BOARD`` for Maple RET6 edition is ``maple_RET6``. You can + also use :: + + $ BOARD=maple_mini make + + This will only set the environment variable for the duration of + that single compile. + If it all works out, you should end up seeing something like this:: find build -iname *.o | xargs arm-none-eabi-size -t -- cgit v1.2.3