Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for installation of DS3231 library with version 1.1.1 #40

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
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
10 changes: 8 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ jobs:
./arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
./arduino-cli core update-index
./arduino-cli core install esp8266:esp8266
./arduino-cli config set library.enable_unsafe_install true

- name: Install Libraries Required by Unit Tests
run: ./arduino-cli lib install AUnit Time Timezone
run: |
./arduino-cli lib install "AUnit" "Time" "Timezone"
./arduino-cli lib install --git-url "https://github.com/NorthernWidget/DS3231.git#v1.1.1"

- name: List top directory
run: ls -lah
Expand Down Expand Up @@ -88,9 +91,12 @@ jobs:
./arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
./arduino-cli core update-index
./arduino-cli core install esp8266:esp8266
./arduino-cli config set library.enable_unsafe_install true

- name: Install Libraries Required by Sketch
run: ./arduino-cli lib install "hd44780" "NTPClient" "RotaryEncoder" "Time" "Timezone" "DS3231"
run: |
./arduino-cli lib install "hd44780" "NTPClient" "RotaryEncoder" "Time" "Timezone"
./arduino-cli lib install --git-url "https://github.com/NorthernWidget/DS3231.git#v1.1.1"

- name: List top directory
run: ls -lah
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ We keep [components in src folder](https://forum.arduino.cc/t/how-to-include-fro

```
arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
arduino-cli config set library.enable_unsafe_install true
```

4. Configure the [autocompletion for command-line](https://arduino.github.io/arduino-cli/0.22/command-line-completion/#generate-the-completion-file) (optional step)
Expand Down Expand Up @@ -79,7 +80,9 @@ In root directory:
1. Install required libraries (i.e. [hd44780](https://github.com/duinoWitchery/hd44780)):

```bash
arduino-cli lib install "hd44780" "NTPClient" "RotaryEncoder" "Time" "Timezone" "DS3231"
arduino-cli lib install "hd44780" "NTPClient" "RotaryEncoder" "Time" "Timezone"
arduino-cli lib uninstall DS3231
arduino-cli lib install --git-url "https://github.com/NorthernWidget/DS3231.git#v1.1.1"
```

2. Compile: `arduino-cli --verbose compile --fqbn esp8266:esp8266:d1`
Expand Down