Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
Update the documentation for cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Pillar1989 committed Sep 4, 2019
1 parent 882f424 commit 2ea3c00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -39,8 +39,9 @@ sudo pip3 install pyserial

```
git clone https://github.com/kendryte/kendryte-standalone-sdk
git clone https://github.com/seeed-Studio/ArduinoCore-k210 kendryte-standalone-sdk/src
git clone https://github.com/seeed-Studio/ArduinoCore-k210 kendryte-standalone-sdk/src/ArduinoCore-k210
mkdir build && cd build
# Make sure you cross-compile the toolchain with the correct path
cmake .. -DPROJ=ArduinoCore-k210 -DSKETCH=Blink -DTOOLCHAIN=/opt/kendryte-toolchain/bin && make -j8
```
cmake is very friendly on Linux and Macosx. You can even add a lot of third-party libraries. Here's an [example](https://github.com/Seeed-Studio/ArduinoCore-k210/blob/kendryte-standalone-sdk/micropython.cmake) of adding miropython as a third party
Expand Down

0 comments on commit 2ea3c00

Please sign in to comment.