Skip to content

Commit

Permalink
Adding URLs to dependencies, dependency installation procedure for Li…
Browse files Browse the repository at this point in the history
…nux.
  • Loading branch information
aentinger committed Aug 24, 2022
1 parent 09a0dd4 commit f2624d1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,18 @@ To build and run locally:

**Dependencies**

* CMake
* make
* gcc
* [CMake](https://cmake.org/)
* [GCC](https://gcc.gnu.org/)

From the project root:
On (Ubuntu) Linux run:

```bash
sudo apt-get install build-essential cmake
```

From the project root:

```bash
cd test && mkdir build && cd build
cmake ..
make && bin/test-ArduinoCore-API
Expand All @@ -68,7 +73,7 @@ make && bin/test-ArduinoCore-API

In order to compile a core which is implementing ArduinoCore-API you'll need to copy/symlink the `api` directory to the target's `cores/arduino` directory as part of your development and release workflow. The most elegant and effective solution is to develop your core with `api` symlinked and produce the distributable archive by telling `tar` to follow symlinks. Example:

```
```bash
tar --exclude='*.git*' -cjhvf $yourcore-$version.tar.bz2 $yourcore/
```

Expand Down

0 comments on commit f2624d1

Please sign in to comment.