Skip to content
Merged
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
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 5
commit-message:
prefix: "chore(actions)"
groups:
actions-minor-patch:
update-types:
- "minor"
- "patch"
53 changes: 53 additions & 0 deletions .github/workflows/note-samples-arduino-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: note-samples-arduino-ci

on:
push:
branches: [main]
paths:
- "arduino-note-array/**"
- "esp32-dfu/**"
- ".github/workflows/note-samples-arduino-ci.yml"
pull_request:
paths:
- "arduino-note-array/**"
- "esp32-dfu/**"
- ".github/workflows/note-samples-arduino-ci.yml"

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}${{ github.ref == 'refs/heads/main' && format('-{0}', github.sha) || '' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

permissions:
contents: read

jobs:
esp32-dfu:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
- name: Compile esp32-dfu
uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:featheresp32
platforms: |
- name: esp32:esp32
source-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
libraries: |
- name: Blues Wireless Notecard
sketch-paths: |
- esp32-dfu

arduino-note-array:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install PlatformIO
run: pip install platformio
- name: Build arduino-note-array
run: pio run -d arduino-note-array/arduino-note-array
26 changes: 20 additions & 6 deletions .github/workflows/note-samples-python-ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
name: note-samples-python-ci

on: [push]
on:
push:
branches: [main]
pull_request:

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}${{ github.ref == 'refs/heads/main' && format('-{0}', github.sha) || '' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest
continue-on-error: true
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.10"] # ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.11", "3.13"]
sample:
- "python-dfu"
- "python-remote-commands-attn-rpi"
- "python-route-endpoint"
- "python-ota-request-manager"
- "python-large-file-upload"
- "python-softap-fix"
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -35,6 +48,7 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
if: hashFiles(format('{0}/**/test_*.py', matrix.sample), format('{0}/**/*_test.py', matrix.sample)) != ''
run: |
cd ${{ matrix.sample }}
pytest
2 changes: 1 addition & 1 deletion arduino-note-array/arduino-note-array/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <stdlib.h>

#include <notecard.h>
#include <Notecard.h>

// Note that both of these definitions are optional; just prefix either line
// with `//` to remove it.
Expand Down
Binary file modified python-large-file-upload/requirements.txt
Binary file not shown.
Binary file modified python-ota-request-manager/requirements.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion python-remote-commands-attn-rpi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ General workflow follows:


## Setup Hardware
Notecard connected to a Raspberry Pi with Python 3 installed
Notecard connected to a Raspberry Pi with Python 3.10 or later installed

The Notecard ATTN Pin is wired to a GPIO pin on the Rasberry Pi

Expand Down
135 changes: 4 additions & 131 deletions python-remote-commands-attn-rpi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,131 +1,4 @@
appdirs==1.4.3
asn1crypto==0.24.0
astroid==2.1.0
asttokens==1.1.13
automationhat==0.2.0
beautifulsoup4==4.7.1
blinker==1.4
blinkt==0.1.2
buttonshim==0.0.2
Cap1xxx==0.1.3
certifi==2018.8.24
chardet==3.0.4
Click==7.0
colorama==0.3.7
colorzero==1.1
cookies==2.2.1
cryptography==2.6.1
cupshelpers==1.0
cycler==0.10.0
decorator==4.3.0
docutils==0.14
drumhat==0.1.0
entrypoints==0.3
envirophat==1.0.0
ExplorerHAT==0.4.2
filelock==3.3.2
Flask==1.0.2
fourletterphat==0.1.0
gpiozero==1.5.1
guizero==0.6.0
html5lib==1.0.1
idna==2.6
ipykernel==4.9.0
ipython==5.8.0
ipython-genutils==0.2.0
isort==4.3.4
itsdangerous==0.24
jedi==0.13.2
Jinja2==2.10
jupyter-client==5.2.3
jupyter-core==4.4.0
keyring==17.1.1
keyrings.alt==3.1.1
kiwisolver==1.0.1
lazy-object-proxy==1.3.1
logilab-common==1.4.2
lxml==4.3.2
MarkupSafe==1.1.0
matplotlib==3.0.2
mccabe==0.6.1
microdotphat==0.2.1
mote==0.0.4
motephat==0.0.3
mypy==0.670
mypy-extensions==0.4.1
note-python==1.4.4
nudatus==0.0.4
numpy==1.16.2
oauthlib==2.1.0
olefile==0.46
pantilthat==0.0.7
parso==0.3.1
pexpect==4.6.0
pgzero==1.2
phatbeat==0.1.1
pianohat==0.1.0
picamera==1.13
pickleshare==0.7.5
picraft==1.0
piglow==1.2.5
pigpio==1.44
Pillow==5.4.1
prompt-toolkit==1.0.15
psutil==5.5.1
pycairo==1.16.2
pycodestyle==2.4.0
pycrypto==2.6.1
pycups==1.9.73
pyflakes==2.0.0
pygame==1.9.4.post1
Pygments==2.3.1
PyGObject==3.30.4
pyinotify==0.9.6
PyJWT==1.7.0
pylint==2.2.2
pyOpenSSL==19.0.0
pyparsing==2.2.0
pyserial==3.4
pysmbc==1.0.15.6
python-apt==1.8.4.3
python-dateutil==2.7.3
python-periphery==2.3.0
pyxdg==0.25
pyzmq==17.1.2
qtconsole==4.3.1
rainbowhat==0.1.0
reportlab==3.5.13
requests==2.21.0
requests-oauthlib==1.0.0
responses==0.9.0
roman==2.0.0
RPi.GPIO==0.7.0
RTIMULib==7.2.1
scrollphat==0.0.7
scrollphathd==1.2.1
SecretStorage==2.3.1
semver==2.0.1
Send2Trash==1.5.0
sense-emu==1.1
sense-hat==2.2.0
simplegeneric==0.8.1
simplejson==3.16.0
six==1.12.0
skywriter==0.0.7
sn3218==1.2.7
soupsieve==1.8
spidev==3.4
ssh-import-id==5.7
thonny==3.3.0
tornado==5.1.1
touchphat==0.0.1
traitlets==4.3.2
twython==3.7.0
typed-ast==1.3.1
uflash==1.2.4
unicornhathd==0.0.4
urllib3==1.24.1
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.14.1
wrapt==1.10.11
note-python==2.5.1
pyserial==3.5
python-periphery==2.4.3
RPi.GPIO==0.7.1
2 changes: 1 addition & 1 deletion python-softap-fix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ESP32-based Wi-Fi Notecards and not Cell+WiFi or legacy Notecards.

## Requirements

- Python 3
- Python 3.10 or later

## Usage

Expand Down
2 changes: 1 addition & 1 deletion python-softap-fix/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ note-python==1.5.0
packaging==24.2
python-periphery==2.3.0
pyserial==3.5
requests==2.32.3
requests==2.34.2