From 25d672f2770b4947aa279a0178358220366fa4d5 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Wed, 6 Jul 2022 13:17:06 +0200 Subject: [PATCH 1/5] Document how to add the required link to ArduinoCore-API. Related to https://github.com/arduino/ArduinoCore-API/issues/96. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b8bcac199..84f2e6095 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,16 @@ to avoid duplicates. Contributions are always welcome. The preferred way to receive code contribution is by submitting a Pull Request on github. +## Developing + +1. Create an `/hardware/arduino` folder, where `` is the location of your + Arduino sketchbook. +1. Change directories: `cd /hardware/arduino`. +1. Clone this repo: `git clone https://github.com/arduino/ArduinoCore-samd.git samd`. +1. Change directories: `cd samd/cores/arduino`. +1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo (i.e. `ln -s /api .`, where `` is the location where you've cloned the ArduinoCore-API repository too). +1. Restart the IDE. + ## Hourly builds This repository is under a Continuous Integration system that every hour checks if there are updates and From 02ea0b182663013f628f56443b406c09674aa943 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 8 Aug 2022 09:11:47 +0200 Subject: [PATCH 2/5] Update README.md Co-authored-by: per1234 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84f2e6095..c9cf24259 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ Pull Request on github. ## Developing -1. Create an `/hardware/arduino` folder, where `` is the location of your +1. Create an `/hardware/arduino-git` folder, where `` is the location of your Arduino sketchbook. -1. Change directories: `cd /hardware/arduino`. +1. Change directories: `cd /hardware/arduino-git`. 1. Clone this repo: `git clone https://github.com/arduino/ArduinoCore-samd.git samd`. 1. Change directories: `cd samd/cores/arduino`. 1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo (i.e. `ln -s /api .`, where `` is the location where you've cloned the ArduinoCore-API repository too). From 983f1c52fd4124761e082c57a2a84adc61b6c0ec Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 8 Aug 2022 09:11:54 +0200 Subject: [PATCH 3/5] Update README.md Co-authored-by: per1234 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9cf24259..60d567641 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Pull Request on github. 1. Change directories: `cd /hardware/arduino-git`. 1. Clone this repo: `git clone https://github.com/arduino/ArduinoCore-samd.git samd`. 1. Change directories: `cd samd/cores/arduino`. -1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo (i.e. `ln -s /api .`, where `` is the location where you've cloned the ArduinoCore-API repository too). +1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo (i.e. `ln -s /api .`, where `` is the location where you've cloned the ArduinoCore-API repository to). 1. Restart the IDE. ## Hourly builds From cf898fed5b76cd56d1e07e9ac1041f79cd9f2c84 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 8 Aug 2022 09:12:15 +0200 Subject: [PATCH 4/5] Update README.md Co-authored-by: per1234 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 60d567641..dc90e9092 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ Pull Request on github. ## Developing +1. Clone the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo to any convenient location: + ``` + git clone https://github.com/arduino/ArduinoCore-API.git + ``` 1. Create an `/hardware/arduino-git` folder, where `` is the location of your Arduino sketchbook. 1. Change directories: `cd /hardware/arduino-git`. From 1cb5009dc333733666a791a753e94b945d260566 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 8 Aug 2022 09:23:20 +0200 Subject: [PATCH 5/5] Update README.md Co-authored-by: per1234 --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc90e9092..b37a11f0f 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,23 @@ Pull Request on github. ``` 1. Create an `/hardware/arduino-git` folder, where `` is the location of your Arduino sketchbook. -1. Change directories: `cd /hardware/arduino-git`. -1. Clone this repo: `git clone https://github.com/arduino/ArduinoCore-samd.git samd`. -1. Change directories: `cd samd/cores/arduino`. -1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo (i.e. `ln -s /api .`, where `` is the location where you've cloned the ArduinoCore-API repository to). +1. Change directories: + ``` + cd /hardware/arduino-git + ``` +1. Clone this repo: + ``` + git clone https://github.com/arduino/ArduinoCore-samd.git samd + ``` +1. Change directories: + ``` + cd samd/cores/arduino + ``` +1. Copy or symlink the `api` folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API) repo: + ``` + ln -s /api . + ``` + where `` is the location where you've cloned the ArduinoCore-API repository to. 1. Restart the IDE. ## Hourly builds