1
0
mirror of https://github.com/arduino-libraries/ArduinoLowPower.git synced 2025-04-19 11:42:14 +03:00

68 Commits

Author SHA1 Message Date
Per Tillisch
3ac109fdea
Merge pull request #69 from aliphys/master
Change maintainer to `Arduino <info@arduino.cc>`
2025-02-19 02:26:27 -08:00
per1234
6a2d210ec3
Merge pull request #70 from arduino-libraries/dependabot/github_actions/arduino/arduino-lint-action-2
Bump arduino/arduino-lint-action from 1 to 2
2024-10-08 18:06:14 -07:00
dependabot[bot]
06d7aca5ff
Bump arduino/arduino-lint-action from 1 to 2
Bumps [arduino/arduino-lint-action](https://github.com/arduino/arduino-lint-action) from 1 to 2.
- [Release notes](https://github.com/arduino/arduino-lint-action/releases)
- [Commits](https://github.com/arduino/arduino-lint-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: arduino/arduino-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 14:38:07 +00:00
Ali Jahangiri
2a6585e132
Change maintainer to Arduino <info@arduino.cc> 2024-04-11 16:39:29 +02:00
dependabot[bot]
0d3b7aa351
Bump geekyeggo/delete-artifact from 4 to 5 (#68)
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 4 to 5.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 14:49:50 +01:00
Alexander Entinger
db8a6e5d20
Merge pull request #67 from arduino-libraries/fix-compile-examples
Fix size deltas report infrastructure configuration
2024-02-21 19:03:34 +01:00
Alexander Entinger
2137f7da76 Correct workflow artifact name pattern in size deltas report workflow
The "sketches-reports-source" input of the "arduino/report-size-deltas" GitHub Actions action defines the regular
expression that matches the names of the sketches report workflow artifacts produced by the "Compile Examples" workflow.

The key string in the names of these artifacts was set to "sketches-report" when the "Compile Examples" workflow was
adjusted for compatibility with the breaking changes introduced by updating to version 4.x of the workflow's
"actions/upload-artifact" GitHub Actions action dependency. The pattern set in the size deltas report workflow was
"sketches-reports". The "s" at the end of that pattern caused it to no longer match against the key string in the
artifact names after that adjustment of the "Compile Examples" workflow, resulting in size deltas reports no longer
being generated by the workflow.

Although a minimal fix would be to simply remove the "s" from the end of the pattern, the decision was made to use a
more strict regular expression. This will make it easier for maintainers and contributors to understand that this value
is a regular expression and the exact nature of how that regular expression functions (which is less clear when relying
on the "arduino/report-size-deltas" action's partial pattern matching behavior).
2024-02-21 19:00:08 +01:00
Alexander Entinger
99e892859b Revert "Fix regression: report size delta size on PR. (#66)"
This reverts commit 10e902f5539b1eec3c962169e19bd28e7f81df73.
2024-02-21 18:59:30 +01:00
Alexander Entinger
10e902f553
Fix regression: report size delta size on PR. (#66)
The necessary steps have in fact been documented here: https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#workflow-triggered-by-pull_request-event but I have overlooked them when I fixed the upload issue. With this PR the size deltas are - once again - reported within the PR.
2024-02-21 07:06:25 +01:00
Alexander Entinger
6490e2545e
Fix regression re report-size-deltas after updating actions/upload-artifact. (#65)
For more information see https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#size-deltas-report-workflow-triggered-by-schedule-event .
2024-02-17 06:07:43 +01:00
dependabot[bot]
c8731ca5b8
Bump geekyeggo/delete-artifact from 2 to 4 (#64)
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 2 to 4.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:04:09 +01:00
dependabot[bot]
b859f19748
Bump actions/download-artifact from 3 to 4 (#63)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:03:52 +01:00
dependabot[bot]
af53400a11
Bump actions/upload-artifact from 3 to 4 (#62)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:03:31 +01:00
per1234
bb7f3a1610
Merge pull request #60 from arduino-libraries/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-04 11:25:38 -07:00
dependabot[bot]
06a0d9f257
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 14:18:23 +00:00
Alexander Entinger
b615a89714
Remove support for ArduinoCore-Primo. (#55)
The board is retired and the corresponding core (https://github.com/arduino/ArduinoCore-primo) has been archived. Considering that no one is going to maintain the low power code for nRF52/Primo its better to get rid of it alltogether (and no longer advertise compatibility to 'nrf52' which - imho rightfully - seems to confuse a lot of people.
2023-01-02 09:22:47 +01:00
per1234
7fc3c446da
Merge pull request #54 from arduino-libraries/dependabot/github_actions/carlosperate/download-file-action-2
Bump carlosperate/download-file-action from 1 to 2
2022-10-24 10:28:13 -07:00
dependabot[bot]
650712354d
Bump carlosperate/download-file-action from 1 to 2
Bumps [carlosperate/download-file-action](https://github.com/carlosperate/download-file-action) from 1 to 2.
- [Release notes](https://github.com/carlosperate/download-file-action/releases)
- [Commits](https://github.com/carlosperate/download-file-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: carlosperate/download-file-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 14:15:27 +00:00
per1234
d3337f825d
Merge pull request #52 from arduino-libraries/dependabot/github_actions/geekyeggo/delete-artifact-2
Bump geekyeggo/delete-artifact from 1 to 2
2022-10-12 07:34:31 -07:00
dependabot[bot]
4cc00d3af7
Bump geekyeggo/delete-artifact from 1 to 2
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 1 to 2.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v1...v2)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 14:10:38 +00:00
per1234
a62f443226
Merge pull request #48 from arduino-libraries/dependabot/github_actions/actions/download-artifact-3
Bump actions/download-artifact from 2 to 3
2022-04-11 09:48:11 -07:00
per1234
5f1807191c
Merge pull request #49 from arduino-libraries/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-11 09:48:04 -07:00
dependabot[bot]
f20f2e109f
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 14:33:00 +00:00
dependabot[bot]
1603da8c9b
Bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 14:32:58 +00:00
per1234
197cc1948f
Merge pull request #47 from arduino-libraries/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-02 06:37:49 -08:00
dependabot[bot]
131dafec73
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 14:13:31 +00:00
per1234
1693ae4255
Add GitHub Actions workflow to synchronize with shared repository labels (#46)
On every push that changes relevant files, and periodically, configure the repository's issue and pull request labels
according to the universal, shared, and local label configuration files.
2022-01-10 10:01:17 +01:00
Karl Söderby
4396dff1a7
Merge pull request #44 from arduino-libraries/karlsoderby/add-docs
Add documentation
2021-09-21 14:54:02 +02:00
Karl Söderby
fc955aeada moved examples 2021-09-21 14:52:24 +02:00
Karl Söderby
aeb714964d Added docs 2021-09-21 14:51:33 +02:00
Alexander Entinger
85b2a8b5c6
Merge pull request #41 from arduino-libraries/ci
Use GitHub Actions for continuous integration
2021-04-12 12:10:38 +02:00
per1234
609afddcc5 Report changes in memory usage that would result from merging a PR
On creation or commit to a pull request, a report of the resulting change in memory usage of the examples will be
commented to the PR thread.
2021-04-12 02:42:35 -07:00
per1234
0e89b28f57 Add "smoke test" examples compilation CI workflow
On every push or pull request that affects library source or example files, and periodically, compile all example
sketches for the specified boards.
2021-04-12 02:42:35 -07:00
per1234
8c055a48f0 Add CI workflow to do Arduino project-specific linting
On every push, pull request, and periodically, run Arduino Lint to check for common problems not related to the project
code.
2021-04-12 02:42:35 -07:00
per1234
fbee85bfbc Correct typos in comments and documentation 2021-04-12 02:42:35 -07:00
per1234
7b1e211b79 Add CI workflow to check for commonly misspelled words
On every push, pull request, and periodically, use the codespell-project/actions-codespell action to check for commonly
misspelled words.

In the event of a false positive, the problematic word should be added, in all lowercase, to the ignore-words-list field
of ./.codespellrc. Regardless of the case of the word in the false positive, it must be in all lowercase in the ignore
list. The ignore list is comma-separated with no spaces.
2021-04-12 02:36:04 -07:00
per1234
cd47d44024 Configure Dependabot to check for outdated actions used in workflows
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.
NOTE: Dependabot's PRs will sometimes try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1`
to `uses: foo/bar@v2.3.4`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.
More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
2021-04-12 02:25:08 -07:00
Martino Facchin
d70192271e
Release 1.2.2 1.2.2 2020-12-21 10:39:43 +01:00
Martino Facchin
b44168f223
Make the library compatible with both API and non API cores (#35)
Fixes https://github.com/arduino/ArduinoCore-samd/issues/578
2020-12-17 10:54:44 +01:00
Bhargav Patel
043dedba33
Added README.md in ArduinoLowPower (#26)
* Added README.md in ArduinoLowPower

* Update README.md

Thank you for modification.

Co-Authored-By: per1234 <accounts@perglass.com>

* Update README.md

Co-Authored-By: per1234 <accounts@perglass.com>

Co-authored-by: per1234 <accounts@perglass.com>
2020-12-17 09:32:47 +01:00
per1234
39d72b123a
Use www subdomain in arduino.cc URLs (#34)
www.arduino.cc is Arduino's preferred url.
2020-12-17 09:31:38 +01:00
Martino Facchin
6fd308af4a
Merge pull request #25 from Lincoln-Agritech/master
Add support for ADC wakeup interrupt on SAMD21
2020-03-10 11:03:09 +01:00
Simon Knopp
fa71703f58 Add support for ADC wakeup interrupt on SAMD21
This can be used to configure the ADC window interrupt on the SAMD21. It
uses OSCULP32K via GCLK6 to clock the ADC while in sleep mode (the same
as used for the EIC).

Note that attachAdcInterrupt()/detachAdcInterrupt() should be called
immediately before/after LowPower.sleep() otherwise analogRead() will
not work as expected.

There is also an example (AdcWakeup.ino) which is much like the
ExternalWakeup example but uses the ADC interrupt instead.
2020-03-02 10:02:11 +13:00
Martino Facchin
c1b24fb456
Merge pull request #24 from per1234/fix-day-sleeps
Allow sleep durations of 1 day or longer
2020-02-21 14:44:07 +01:00
per1234
fa5c24937c Allow sleep durations of 1 day or longer
Previously, sleep durations "overflowed" at one day, resulting in a maximum sleep duration of 1 millisecond less than a day.
2020-02-20 00:57:37 -08:00
sslupsky
892594adbc Fix SysTick timer lockup when waking from sleep (#17)
* fix SysTick timer lockup when waking from sleep
2019-05-14 09:56:55 +02:00
Cristian Maglie
4caff779d9 Added dependency 1.2.1 2019-03-14 00:58:07 +01:00
Stefan Lehmann
b38a5bc50c Add support for boards with different name of serial USB connection (#6)
* Replace SerialUSB by SERIAL_PORT_USBVIRTUAL

Support boards where USB serial is named differently. E.g. the
Adafruit Feather M0 uses Serial1 as name for serial USB port.
2018-08-20 15:43:46 +02:00
Martino Facchin
5399b36207 Update to version 1.2.0 1.2.0 2017-07-13 17:01:41 +02:00
Martino Facchin
8cf4c737dd [SAMD] Disable USB on standby() 2017-07-13 17:01:03 +02:00