When you build your projects, biicode automatically generates a default tool-chain to build it. To use a custom tool-chain you need to place it in the bii folder of your project with the name <your_toolchain_name>-toolchain.cmake.
To use it, just pass it as argument of bii configure -t your_toolchain_name.
For example, I want to write a program to my armv7 and I have a toolchain named armv7-toolchain.cmake. First, copy my toolchain with the name armv7-toolchain.cmake into the bii folder. Then, execute bii configure with -t or –toolchain flag with the name armv7:
$ bii init my_armv7_machine $ cd my_armv7_machine $ #copy armv7-toolchain.cmake into init my_armv7_machine/bii $ bii configure -t armv7
To change the toolchain you are using, just execute bii configure -t my_new_toolchain_name
If you want to use the native environment, execute bii configure -t without any toochain name or use None as name.
There are two toolchains you can use by default, the arduino-toolchain.cmake and the rpi-toolchain.cmake. If you want to use one of it, just use bii arduino:settings and bii configure -t arduino or bii rpi:settings and bii configure -t rpi.