Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino-libraries/Arduino_DebugUtils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1.0
Choose a base ref
...
head repository: arduino-libraries/Arduino_DebugUtils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.0
Choose a head ref

Commits on Apr 11, 2021

  1. 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
    per1234 committed Apr 11, 2021
    Copy the full SHA
    d4c9714 View commit details
  2. Update 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.
    per1234 committed Apr 11, 2021
    Copy the full SHA
    6b42a95 View commit details
  3. Copy the full SHA
    fd56e62 View commit details
  4. 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.
    per1234 committed Apr 11, 2021
    Copy the full SHA
    9967a0f View commit details

Commits on Apr 12, 2021

  1. Update "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.
    per1234 committed Apr 12, 2021
    Copy the full SHA
    5782bb6 View commit details
  2. 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.
    per1234 committed Apr 12, 2021
    Copy the full SHA
    d5471eb View commit details
  3. Merge pull request #10 from per1234/ci

    Modernize continuous integration system
    aentinger authored Apr 12, 2021
    Copy the full SHA
    b03ae2e View commit details

Commits on Jun 30, 2021

  1. Fix: va_start(va_list ap, paramN) needs to be parametrized with the l…

    …atest named parameter in the parameter list. (#13)
    aentinger authored Jun 30, 2021
    Copy the full SHA
    adc39b3 View commit details

Commits on Jan 10, 2022

  1. Add GitHub Actions workflow to synchronize with shared repository lab…

    …els (#16)
    
    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.
    per1234 authored Jan 10, 2022
    Copy the full SHA
    f84108b View commit details

Commits on Feb 18, 2022

  1. add "newlineOn" and "newlineOff" methods

    john committed Feb 18, 2022
    Copy the full SHA
    270c73e View commit details

Commits on Feb 21, 2022

  1. Merge pull request #18 from whyameye/master

    add "newlineOn" and "newlineOff" methods
    aentinger authored Feb 21, 2022
    Copy the full SHA
    d49fb9b View commit details

Commits on Mar 2, 2022

  1. 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](actions/checkout@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>
    dependabot[bot] authored Mar 2, 2022
    Copy the full SHA
    05eda1a View commit details
  2. Merge pull request #19 from arduino-libraries/dependabot/github_actio…

    …ns/actions/checkout-3
    
    Bump actions/checkout from 2 to 3
    per1234 authored Mar 2, 2022
    Copy the full SHA
    9692324 View commit details

Commits on Mar 19, 2022

  1. Remove hardcoded line limit

    abhaybd committed Mar 19, 2022
    Copy the full SHA
    6300e09 View commit details
  2. Fix compiler error

    abhaybd committed Mar 19, 2022
    Copy the full SHA
    0f3038b View commit details

Commits on Mar 21, 2022

  1. Merge pull request #20 from abhaybd/master

    Remove hardcoded line length limit
    aentinger authored Mar 21, 2022
    Copy the full SHA
    7d284fa View commit details

Commits on Apr 11, 2022

  1. 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](actions/download-artifact@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>
    dependabot[bot] authored Apr 11, 2022
    Copy the full SHA
    941538f View commit details
  2. 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](actions/upload-artifact@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>
    dependabot[bot] authored Apr 11, 2022
    Copy the full SHA
    d7f602c View commit details
  3. Merge pull request #22 from arduino-libraries/dependabot/github_actio…

    …ns/actions/upload-artifact-3
    
    Bump actions/upload-artifact from 2 to 3
    per1234 authored Apr 11, 2022
    Copy the full SHA
    5e97b4c View commit details
  4. Merge pull request #21 from arduino-libraries/dependabot/github_actio…

    …ns/actions/download-artifact-3
    
    Bump actions/download-artifact from 2 to 3
    per1234 authored Apr 11, 2022
    Copy the full SHA
    688aca2 View commit details

Commits on Jun 15, 2022

  1. Release v1.2.0.

    aentinger committed Jun 15, 2022
    Copy the full SHA
    11c1385 View commit details
7 changes: 7 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = ,
check-filenames =
check-hidden =
skip = ./.git
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
version: 2

updates:
# Configure check for outdated GitHub Actions actions in workflows.
# See: https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
- package-ecosystem: github-actions
directory: / # Check the repository's workflows under /.github/workflows/
schedule:
interval: daily
labels:
- "topic: infrastructure"
28 changes: 28 additions & 0 deletions .github/workflows/check-arduino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check Arduino

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
pull_request:
schedule:
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Arduino Lint
uses: arduino/arduino-lint-action@v1
with:
compliance: specification
library-manager: update
# Always use this setting for official repositories. Remove for 3rd party projects.
official: true
project-type: library
113 changes: 113 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: Compile Examples

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/compile-examples.yml"
- "examples/**"
- "src/**"
pull_request:
paths:
- ".github/workflows/compile-examples.yml"
- "examples/**"
- "src/**"
schedule:
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
build:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest

env:
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false

matrix:
board:
- fqbn: arduino:avr:nano
platforms: |
- name: arduino:avr
softwareserial: true
- fqbn: arduino:avr:mega
platforms: |
- name: arduino:avr
softwareserial: true
- fqbn: arduino:avr:leonardo
platforms: |
- name: arduino:avr
softwareserial: true
- fqbn: arduino:megaavr:nona4809
platforms: |
- name: arduino:megaavr
softwareserial: true
- fqbn: arduino:sam:arduino_due_x_dbg
platforms: |
- name: arduino:sam
softwareserial: false
- fqbn: arduino:samd:mkrzero
platforms: |
- name: arduino:samd
softwareserial: false
- fqbn: arduino:mbed_portenta:envie_m4
platforms: |
- name: arduino:mbed_portenta
softwareserial: false
- fqbn: arduino:mbed_portenta:envie_m7
platforms: |
- name: arduino:mbed_portenta
softwareserial: false
- fqbn: arduino:mbed_nano:nano33ble
platforms: |
- name: arduino:mbed_nano
softwareserial: false
- fqbn: arduino:mbed_nano:nanorp2040connect
platforms: |
- name: arduino:mbed_nano
softwareserial: false

# Make board type-specific customizations to the matrix jobs
include:
- board:
# Boards with a SoftwareSerial library
softwareserial: true
# Compile these sketches in addition to the ones defined by env.UNIVERSAL_SKETCH_PATHS
sketch-paths: |
- examples/Arduino_Debug_Advance
- board:
softwareserial: false
sketch-paths: ""

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Compile examples
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
libraries: |
# Install the library from the local path.
- source-path: ./
# Additional library dependencies can be listed here.
# See: https://github.com/arduino/compile-sketches#libraries
sketch-paths: |
- examples/Arduino_Debug_Basic
${{ matrix.sketch-paths }}
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save sketches report as workflow artifact
uses: actions/upload-artifact@v3
with:
if-no-files-found: error
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: ${{ env.SKETCHES_REPORTS_PATH }}
24 changes: 24 additions & 0 deletions .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Report Size Deltas

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/report-size-deltas.yml"
schedule:
# Run at the minimum interval allowed by GitHub Actions.
# Note: GitHub Actions periodically has outages which result in workflow failures.
# In this event, the workflows will start passing again once the service recovers.
- cron: "*/5 * * * *"
workflow_dispatch:
repository_dispatch:

jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@v1
with:
# The name of the workflow artifact created by the sketch compilation workflow
sketches-reports-source: sketches-reports
22 changes: 22 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Spell Check

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
pull_request:
schedule:
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
spellcheck:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Spell check
uses: codespell-project/actions-codespell@master
138 changes: 138 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/sync-labels.md
name: Sync Labels

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/sync-labels.ya?ml"
- ".github/label-configuration-files/*.ya?ml"
pull_request:
paths:
- ".github/workflows/sync-labels.ya?ml"
- ".github/label-configuration-files/*.ya?ml"
schedule:
# Run daily at 8 AM UTC to sync with changes to shared label configurations.
- cron: "0 8 * * *"
workflow_dispatch:
repository_dispatch:

env:
CONFIGURATIONS_FOLDER: .github/label-configuration-files
CONFIGURATIONS_ARTIFACT: label-configuration-files

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Download JSON schema for labels configuration file
id: download-schema
uses: carlosperate/download-file-action@v1
with:
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/arduino-tooling-gh-label-configuration-schema.json
location: ${{ runner.temp }}/label-configuration-schema

- name: Install JSON schema validator
run: |
sudo npm install \
--global \
ajv-cli \
ajv-formats
- name: Validate local labels configuration
run: |
# See: https://github.com/ajv-validator/ajv-cli#readme
ajv validate \
--all-errors \
-c ajv-formats \
-s "${{ steps.download-schema.outputs.file-path }}" \
-d "${{ env.CONFIGURATIONS_FOLDER }}/*.{yml,yaml}"
download:
needs: check
runs-on: ubuntu-latest

strategy:
matrix:
filename:
# Filenames of the shared configurations to apply to the repository in addition to the local configuration.
# https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/sync-labels
- universal.yml

steps:
- name: Download
uses: carlosperate/download-file-action@v1
with:
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}

- name: Pass configuration files to next job via workflow artifact
uses: actions/upload-artifact@v3
with:
path: |
*.yaml
*.yml
if-no-files-found: error
name: ${{ env.CONFIGURATIONS_ARTIFACT }}

sync:
needs: download
runs-on: ubuntu-latest

steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >> "$GITHUB_ENV"
- name: Determine whether to dry run
id: dry-run
if: >
github.event_name == 'pull_request' ||
(
(
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch'
) &&
github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
)
run: |
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
# configuration.
echo "::set-output name=flag::--dry-run"
- name: Checkout repository
uses: actions/checkout@v3

- name: Download configuration files artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
path: ${{ env.CONFIGURATIONS_FOLDER }}

- name: Remove unneeded artifact
uses: geekyeggo/delete-artifact@v1
with:
name: ${{ env.CONFIGURATIONS_ARTIFACT }}

- name: Merge label configuration files
run: |
# Merge all configuration files
shopt -s extglob
cat "${{ env.CONFIGURATIONS_FOLDER }}"/*.@(yml|yaml) > "${{ env.MERGED_CONFIGURATION_PATH }}"
- name: Install github-label-sync
run: sudo npm install --global github-label-sync

- name: Sync labels
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# See: https://github.com/Financial-Times/github-label-sync
github-label-sync \
--labels "${{ env.MERGED_CONFIGURATION_PATH }}" \
${{ steps.dry-run.outputs.flag }} \
${{ github.repository }}
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

Loading