Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,41 @@ https://github.com/ETLCPP/etl

See (https://www.etlcpp.com/arduino.html) for up-to-date information.

To update this repository locally on your machine:

- start from a "master folder", for example in my case in the following example: ```~/Desktop/Jean/Git```.
- from this "master folder", have a clone of both the etl repository (https://github.com/ETLCPP/etl or a fork of it), and the etl-arduino repository (https://github.com/ETLCPP/etl-arduino or a fork of it).
- from the etl-arduino repository, run the etl repository ```arduino/create_arduino_library.py``` script.

For example, on my machine:

```
jj@MBX20:~/Desktop/Jean/Git$ ls -d etl*
etl etl-arduino
jj@MBX20:~/Desktop/Jean/Git$ cd etl-arduino/
jj@MBX20:~/Desktop/Jean/Git/etl-arduino$ python3 ../etl/arduino/create_arduino_library.py

Copy ETL files to the etl-arduino repository

arduino_dir = ../etl/arduino
etl_dir = ../etl
include_dir = ../etl/include
common_dir = ..
etl_arduino_dir = ../etl-arduino
etl_arduino_src_dir = ../etl-arduino/src

Copy the library properties
From : ../etl/library.properties
To : ../etl-arduino/library.properties

Copy the Arduino ETL header
From : ../etl/arduino/Embedded_Template_Library.h
To : ../etl-arduino/src/Embedded_Template_Library.h

Copy the ETL headers
From : ../etl/include
To : ../etl-arduino/src
```

At this point, you will then get the latest arduino-etl derived from the etl repo.