Compare commits

...

34 commits

Author SHA1 Message Date
Limor "Ladyada" Fried
5bcdded036
Merge pull request #40 from sommersoft/fix_modules_ref
Fix Malformed URL To LTR559 Repo
2020-08-16 22:14:55 -04:00
sommersoft
ba6dfc1e47 fix malformed URL to LTR559 2020-08-16 18:15:44 -05:00
Limor "Ladyada" Fried
7526a7f2be
Merge pull request #39 from pimoroni/contrib-ltr559
Add Pimoroni LTR559 driver
2020-08-10 10:29:17 -04:00
Phil Howard
2af1612273 Add Pimoroni LTR559 driver 2020-08-10 13:19:06 +01:00
adabot
2abcc71ee6 Automated update by Adabot (adafruit/adabot@20501cf)
Updating https://github.com/jimbobbennett/CircuitPython_AzureCustomVision_Predic to 0.2.1 from 0.2.0:
  > Update azurecustomvision_prediction.py
2020-07-11 05:07:37 +00:00
Limor "Ladyada" Fried
e4a64e049d
Merge pull request #38 from gamblor21/ahrs_library
Add AHRS library for sensor fusion
2020-05-15 18:59:42 -04:00
gamblor21
e190fbf5da Removed old reference. Renamed library folder 2020-05-15 17:49:37 -05:00
gamblor21
e1dfe58e95 Renamed library to gamblor_ahrs 2020-05-15 16:43:15 -05:00
gamblor21
69b9e90568 Add AHRS library for sensor fusion 2020-05-15 16:10:41 -05:00
Brent Rubell
9531b5dc5c
Merge pull request #36 from jimbobbennett/master
Adding AzureCustomVision_Prediction
2020-04-29 17:11:31 -04:00
Jim Bennett
3c4ba9530c Adding AzureCustomVision_Prediction 2020-04-22 18:55:30 -07:00
Scott Shawcroft
2fab952b5d
Merge pull request #35 from jimbobbennett/master
Adding Parse
2020-04-07 10:27:54 -07:00
Jim Bennett
a32c84ea6c Adding Parse 2020-04-02 16:51:21 -07:00
Scott Shawcroft
42ba72a463
Merge pull request #34 from jimbobbennett/master
Added base64 and HMAC libraries
2020-03-31 14:01:53 -07:00
Jim Bennett
b020d54bc4 Added base64 and HMAC submodules 2020-03-30 16:02:53 -07:00
Jim Bennett
64572fa465 Added base64 and MNAC submodules 2020-03-30 16:00:11 -07:00
Limor "Ladyada" Fried
73471fe412
Merge pull request #33 from vifino/master
Add mitutoyo: A Mitutoyo Digimatic library.
2020-02-23 21:16:23 -05:00
Adrian Pistol
7dd4fb56e2 Add mitutoyo: A Mitutoyo Digimatic library. 2020-02-24 02:53:49 +01:00
Kattni
22354151fa
Merge pull request #32 from maholli/master
adding BMX160 IMU wip library
2020-02-14 12:17:33 -05:00
Max Holliday
84d3ca1d1a adding BMX160 IMU wip library 2020-02-09 11:10:59 -08:00
Kattni
9adde4f750
Merge pull request #31 from maholli/master
adding 6 WIP circuitpython drivers
2020-01-30 20:00:38 -05:00
Max Holliday
d8a9a464d5 adding 6 WIP circuitpython drivers 2020-01-30 14:53:50 -08:00
Kattni
7d3975be49
Create works_in_progress.md 2020-01-30 17:33:05 -05:00
Melissa LeBlanc-Williams
f72e1aca6d
Merge pull request #30 from bwshockley/master
Add i2c Encoder library.
2019-12-19 10:06:48 -08:00
Benjamin Shockley
e2d570864a Add i2c Encoder library. 2019-12-19 11:31:03 -06:00
adabot
e38131473c Automated update by Adabot (adafruit/adabot@f7bbfc2)
Updating https://github.com/2bndy5/CircuitPython_nRF24L01 to 1.1.2 from 1.1.0:
  > readme should now render on pypi
  > added package_folder_prefix arg to travis.yml
  > context manager bug fixes + modified example
  > Merge pull request 2bndy5/CircuitPython_nRF24L01#8 from 2bndy5/arduino_compat
  > ignore the whole folder not just settings.json
  > fix for travis checking ogf examples
  > consolidated and renamed examples
  > del a trailing whitespace
  > removed useless "new lines"
  > Update circuitpython_nrf24l01.py
  > removed f-string
  > this should at least keep pylint happy
  > wtf mpy-cross
  > mpy-cross failed
  > revisiting pylint warnings
  > broke the example link
  > found a typo in readme
  > learned to cross ref outside autodoc
  > more readable literal text refs
  > removed tutorials placeholder in sidebar
  > background got messed up?!
  > better links for pypi sidebar
  > linked pinout image to source and removed local copy
  > fixed mobile compatibility
  > some more doc tweaks
  > tweaked rtd theme with darkness.css
  > + pepy.tech download counter from pypi stats :)
  > added pypi version tag to readme
  > various docs tweaks
  > another readme change
  > Merge branch 'master' of https://github.com/2bndy5/CircuitPython_nRF24L01
  > removed CnP error in readme
2019-11-09 19:45:56 +00:00
Kattni
7f5a6e27ee
Merge pull request #29 from sommersoft/action-ify
Migrate CI To GitHub Actions
2019-11-01 15:38:45 -04:00
sommersoft
e38e3153c9 build-tools directory and depth...again. 2019-10-29 17:12:02 -05:00
sommersoft
f1cc46f61e same syntax snafu. different file. 2019-10-29 17:05:03 -05:00
sommersoft
0bf08b45c6 fix pkg_folder_prefix gawk to output the correct folder 2019-10-29 16:48:14 -05:00
sommersoft
2a7dddcd72 point build-tools to the right directory, and use proper depth 2019-10-29 16:43:17 -05:00
sommersoft
bdd7322840 forgot to take out pylint and sphinx build 2019-10-29 16:39:05 -05:00
sommersoft
0939c19439 syntax snafu 2019-10-29 16:35:02 -05:00
sommersoft
33f8ef91f8 initial github actions transisition 2019-10-29 16:31:59 -05:00
15 changed files with 161 additions and 23 deletions

46
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,46 @@
name: Build CI
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Translate Repo Name For Build Tools filename_prefix
id: repo-name
run: |
echo ::set-output name=repo-name::$(
echo ${{ github.repository }} |
awk -F '\/' '{ print tolower($2) }' |
tr '_' '-'
)
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v1
with:
submodules: true
- name: Install deps
run: |
sudo apt-get install -y gettext gawk
pip install -r requirements.txt
- name: Library version
run: git describe --dirty --always --tags
- name: Package Folder Prefix For circuitpython-build-tools (Community Bundle Specific)
id: pkg-folder
run: |
echo ::set-output name=prefix::$(
ls -RUx |
gawk -F '\n' '{ match($1, /(drivers|helpers)\/(.+)\/(.+)\:/, arr) ; if (length(arr[0]) > 0 && match(arr[3], arr[2]) > 0) printf "%s, ", arr[3] }' |
gawk '{ trimmed = substr($0, 1, length($0) - 2) ; print "\"" trimmed "\"" }'
)
- name: Build assets
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2 --package_folder_prefix ${{ steps.pkg-folder.outputs.prefix }}

57
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,57 @@
name: Release Actions
on:
release:
types: [published]
jobs:
upload-release-assets:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Translate Repo Name For Build Tools filename_prefix
id: repo-name
run: |
echo ::set-output name=repo-name::$(
echo ${{ github.repository }} |
awk -F '\/' '{ print tolower($2) }' |
tr '_' '-'
)
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v1
with:
submodules: true
- name: Install deps
run: |
sudo apt-get install -y gettext gawk
pip install -r requirements.txt
- name: Package Folder Prefix For circuitpython-build-tools (Community Bundle Specific)
id: pkg-folder
run: |
echo ::set-output name=prefix::$(
ls -RUx |
gawk -F '\n' '{ match($1, /(drivers|helpers)\/(.+)\/(.+)\:/, arr) ; if (length(arr[0]) > 0 && match(arr[3], arr[2]) > 0) printf "%s, ", arr[3] }' |
gawk '{ trimmed = substr($0, 1, length($0) - 2) ; print "\"" trimmed "\"" }'
)
- name: Build assets
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2 --package_folder_prefix ${{ steps.pkg-folder.outputs.prefix }}
- name: Upload Release Assets
# the 'official' actions version does not yet support dynamically
# supplying asset names to upload. @csexton's version chosen based on
# discussion in the issue below, as its the simplest to implement and
# allows for selecting files with a pattern.
# https://github.com/actions/upload-release-asset/issues/4
#uses: actions/upload-release-asset@v1.0.1
uses: csexton/release-asset-action@master
with:
pattern: "bundles/*"
github-token: ${{ secrets.GITHUB_TOKEN }}

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
build*
build/*
.env
bundles

24
.gitmodules vendored
View file

@ -58,3 +58,27 @@
[submodule "libraries/drivers/nrf24l01"]
path = libraries/drivers/nrf24l01
url = https://github.com/2bndy5/CircuitPython_nRF24L01.git
[submodule "libraries/drivers/i2cencoderlibv21"]
path = libraries/drivers/i2cencoderlibv21
url = https://github.com/bwshockley/CircuitPython-i2cEncoderLibV21.git
[submodule "libraries/drivers/mitutoyo"]
path = libraries/drivers/mitutoyo
url = https://github.com/vifino/CircuitPython-mitutoyo.git
[submodule "libraries/helpers/base64"]
path = libraries/helpers/base64
url = https://github.com/jimbobbennett/CircuitPython_Base64
[submodule "libraries/helpers/HMAC"]
path = libraries/helpers/HMAC
url = https://github.com/jimbobbennett/CircuitPython_HMAC
[submodule "libraries/helpers/parse"]
path = libraries/helpers/parse
url = https://github.com/jimbobbennett/CircuitPython_Parse
[submodule "libraries/helpers/AzureCustomVision_Prediction"]
path = libraries/helpers/AzureCustomVision_Prediction
url = https://github.com/jimbobbennett/CircuitPython_AzureCustomVision_Prediction
[submodule "libraries/helpers/gamblor21_ahrs"]
path = libraries/helpers/gamblor21_ahrs
url = https://github.com/gamblor21/Gamblor21_CircuitPython_AHRS.git
[submodule "libraries/drivers/ltr559"]
path = libraries/drivers/ltr559
url = https://github.com/pimoroni/Pimoroni_CircuitPython_LTR559.git

View file

@ -1,21 +0,0 @@
# Travis CI configuration for automated bundle generation.
dist: trusty
sudo: false
language: python
python:
- "3.6"
cache:
pip: true
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: bundles/*
skip_cleanup: true
on:
tags: true
script: circuitpython-build-bundles --filename_prefix circuitpython-community-bundle --library_location libraries --library_depth 2

@ -0,0 +1 @@
Subproject commit 9288086e3be4cd8f6c31fd7bffd4b3bbc21873bc

@ -0,0 +1 @@
Subproject commit d64993bedda88bcb860bd5d18bbbe3349b1599f4

@ -0,0 +1 @@
Subproject commit 1987401cebb0bc3684b2f3cc1f4761a0d4ca2a15

@ -1 +1 @@
Subproject commit 7cba8cc2afc09b89b20fe4e77ea17289b8de0c20
Subproject commit 853ff724ade6159d5d879e30094d595748ec62de

@ -0,0 +1 @@
Subproject commit c38bcb6291c32b523708b50fc05fcfc52276a0fd

@ -0,0 +1 @@
Subproject commit 5dc7973be38405be3f2b0a686f09d9a358924b15

@ -0,0 +1 @@
Subproject commit ab75a32ab875f90920d6fe37d502c334c777d687

@ -0,0 +1 @@
Subproject commit 2fc8a8c0219c05456543865575642f98bf2a50d6

@ -0,0 +1 @@
Subproject commit e5c2f0138ab55d66f05832b072e4f6696b51141f

24
works_in_progress.md Normal file
View file

@ -0,0 +1,24 @@
# Community Modules: Works In Progress
This is a list of links to CircuitPython modules from the community
that are not ready to be submitted to the Community Bundle, but that
the author would like to inform others of the module's existence.
If you've written a CircuitPython driver that you'd like to make
available but don't feel it's ready for the Community Bundle, feel
free to add a link to the GitHub repo below.
If you'd like to see a driver listed below included in the
Community Bundle, consider contacting the author to see how you can
help get the driver ready for the Bundle.
## 🚧 Works In Progress
* [https://github.com/maholli/CircuitPython_SX1280](https://github.com/maholli/CircuitPython_SX1280)
* [https://github.com/maholli/CircuitPython_FDC221x](https://github.com/maholli/CircuitPython_FDC221x)
* [https://github.com/maholli/CircuitPython_ADS124S08](https://github.com/maholli/CircuitPython_ADS124S08)
* [https://github.com/maholli/CircuitPython_ADM1176](https://github.com/maholli/CircuitPython_ADM1176)
* [https://github.com/maholli/CircuitPython_INA226](https://github.com/maholli/CircuitPython_INA226)
* [https://github.com/maholli/CircuitPython_BQ25883](https://github.com/maholli/CircuitPython_BQ25883)
* [https://github.com/spacecraft-design-lab-2019/CircuitPython_BMX160](https://github.com/spacecraft-design-lab-2019/CircuitPython_BMX160)