Added cross-compiling support.

This commit is contained in:
James Goppert
2015-10-04 21:28:22 -04:00
parent 04897f613d
commit 0b0e7bc6cc
6 changed files with 265 additions and 17 deletions
+9
View File
@@ -47,6 +47,15 @@ make -j8
sudo make install
```
For cross-compiling the procedure is similar.
```bash
mkdir build
cd build
cmake .. -D CMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-stm32-cortex-m4.cmake
make -j8
```
The following components will be installed into the system:
* Libuavcan headers and the static library