]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
7 years agoMerge pull request #18 from tannewt/rogue_machine 0.1.9
Scott Shawcroft [Mon, 2 Jul 2018 23:30:48 +0000 (16:30 -0700)]
Merge pull request #18 from tannewt/rogue_machine

Fix machine import when on normal Linux.

7 years agoFix more agnostic uses.
Scott Shawcroft [Mon, 2 Jul 2018 16:19:45 +0000 (09:19 -0700)]
Fix more agnostic uses.

7 years agoFix microcontroller imports.
Scott Shawcroft [Mon, 2 Jul 2018 16:12:02 +0000 (09:12 -0700)]
Fix microcontroller imports.

7 years agoFix machine import when on normal Linux.
Scott Shawcroft [Mon, 2 Jul 2018 15:53:46 +0000 (08:53 -0700)]
Fix machine import when on normal Linux.

Also, rename variables for clarity.

7 years agoMerge pull request #16 from ladyada/master 0.1.8
Limor "Ladyada" Fried [Sat, 30 Jun 2018 21:14:05 +0000 (14:14 -0700)]
Merge pull request #16 from ladyada/master

SPI write/readinto work

7 years agoSPI write/readinto work, tested with BME280
ladyada [Sat, 30 Jun 2018 20:55:00 +0000 (16:55 -0400)]
SPI write/readinto work, tested with BME280

7 years agoMerge pull request #14 from ladyada/master 0.1.7
Limor "Ladyada" Fried [Sat, 30 Jun 2018 19:46:12 +0000 (12:46 -0700)]
Merge pull request #14 from ladyada/master

Add remaining GPIO to Pi board and quiet GPIO

7 years agoadd pins to board
ladyada [Sat, 30 Jun 2018 19:43:55 +0000 (15:43 -0400)]
add pins to board

7 years agoadd more pins, and organize a little nicer
ladyada [Sat, 30 Jun 2018 19:33:19 +0000 (15:33 -0400)]
add more pins, and organize a little nicer

7 years agoquiet gpio
ladyada [Sat, 30 Jun 2018 19:26:56 +0000 (15:26 -0400)]
quiet gpio

7 years agoUse find_packages to make sure and not miss a package. 0.1.6
Scott Shawcroft [Sat, 30 Jun 2018 01:13:38 +0000 (18:13 -0700)]
Use find_packages to make sure and not miss a package.

7 years agoSwitch to a function for const and package it. 0.1.5
Scott Shawcroft [Fri, 29 Jun 2018 20:40:26 +0000 (13:40 -0700)]
Switch to a function for const and package it.

7 years agoRelax python requirement 0.1.4
Scott Shawcroft [Fri, 29 Jun 2018 19:40:59 +0000 (12:40 -0700)]
Relax python requirement

MicroPython and CircuitPython implement 3.4 so lets match them.

7 years agoInstall setuptools_scm 0.1.3
Scott Shawcroft [Thu, 28 Jun 2018 19:38:34 +0000 (12:38 -0700)]
Install setuptools_scm

7 years agoTry to get packaging happy. 0.1.2
Scott Shawcroft [Thu, 28 Jun 2018 19:26:04 +0000 (12:26 -0700)]
Try to get packaging happy.

7 years agoChange out of docs 0.1.1
Scott Shawcroft [Thu, 28 Jun 2018 19:11:21 +0000 (12:11 -0700)]
Change out of docs

7 years agoMerge pull request #13 from tannewt/raspi 0.1.0
Limor "Ladyada" Fried [Thu, 28 Jun 2018 19:03:29 +0000 (12:03 -0700)]
Merge pull request #13 from tannewt/raspi

Raspi

7 years agoStop building bundles since its not needed on CircuitPython.
Scott Shawcroft [Thu, 28 Jun 2018 18:56:46 +0000 (11:56 -0700)]
Stop building bundles since its not needed on CircuitPython.

7 years agoHave Travis install requirements for sphinx
Scott Shawcroft [Thu, 28 Jun 2018 18:33:58 +0000 (11:33 -0700)]
Have Travis install requirements for sphinx

7 years agoAdd Adafruit_GPIO dependency
Scott Shawcroft [Thu, 28 Jun 2018 18:18:37 +0000 (11:18 -0700)]
Add Adafruit_GPIO dependency

7 years agoRemove path hacks from examples.
Scott Shawcroft [Thu, 28 Jun 2018 18:09:51 +0000 (11:09 -0700)]
Remove path hacks from examples.

Make sure to `pip install -r requirements.txt` before running the
example and have this library in your path.

7 years agoremove extraneous debugs
ladyada [Wed, 27 Jun 2018 21:32:56 +0000 (17:32 -0400)]
remove extraneous debugs

7 years agobeginningish of SPI support
ladyada [Tue, 26 Jun 2018 04:25:24 +0000 (00:25 -0400)]
beginningish of SPI support

7 years agobit of a hack
ladyada [Mon, 25 Jun 2018 02:49:04 +0000 (22:49 -0400)]
bit of a hack

7 years agojust raw read/write for i2c - tested with mcp9808
ladyada [Mon, 25 Jun 2018 02:39:35 +0000 (22:39 -0400)]
just raw read/write for i2c - tested with mcp9808

7 years agocompleted busio i2c demo
ladyada [Wed, 20 Jun 2018 21:37:43 +0000 (17:37 -0400)]
completed busio i2c demo

7 years agoadd i2c scanning
ladyada [Mon, 18 Jun 2018 12:34:30 +0000 (08:34 -0400)]
add i2c scanning

7 years agobegin i2c
ladyada [Mon, 18 Jun 2018 03:28:23 +0000 (23:28 -0400)]
begin i2c

7 years agopi digitalio example
ladyada [Mon, 18 Jun 2018 00:31:33 +0000 (20:31 -0400)]
pi digitalio example

7 years agodigitalio works
ladyada [Mon, 18 Jun 2018 00:29:08 +0000 (20:29 -0400)]
digitalio works

7 years agomatches other boards nicer
ladyada [Sun, 17 Jun 2018 23:35:04 +0000 (19:35 -0400)]
matches other boards nicer

7 years agostart raspi compatibility
ladyada [Sun, 17 Jun 2018 23:22:27 +0000 (19:22 -0400)]
start raspi compatibility

7 years agoMerge pull request #12 from tannewt/auto_pypi
Scott Shawcroft [Wed, 27 Jun 2018 18:36:23 +0000 (11:36 -0700)]
Merge pull request #12 from tannewt/auto_pypi

Lint! Untested.

7 years agoGet docs building
Scott Shawcroft [Wed, 27 Jun 2018 17:53:00 +0000 (10:53 -0700)]
Get docs building

7 years agoLint the src files.
Scott Shawcroft [Wed, 27 Jun 2018 06:28:30 +0000 (23:28 -0700)]
Lint the src files.

7 years agoLint! Untested.
Scott Shawcroft [Wed, 27 Jun 2018 01:29:49 +0000 (18:29 -0700)]
Lint! Untested.

7 years agoMerge pull request #11 from tannewt/auto_pypi
Limor "Ladyada" Fried [Tue, 26 Jun 2018 21:41:10 +0000 (14:41 -0700)]
Merge pull request #11 from tannewt/auto_pypi

Rename to Adafruit_Blinka and auto-release to pypi as well as GitHub.

7 years agoRename to Adafruit_Blinka and auto-release to pypi as well as GitHub.
Scott Shawcroft [Tue, 26 Jun 2018 21:38:45 +0000 (14:38 -0700)]
Rename to Adafruit_Blinka and auto-release to pypi as well as GitHub.

7 years agofirst pass at a setup.py
Brennen Bearnes [Mon, 4 Jun 2018 22:10:18 +0000 (16:10 -0600)]
first pass at a setup.py

Using https://github.com/kennethreitz/setup.py/blob/master/setup.py as
starter boilerplate.

7 years agoMerge pull request #8 from cefn/master
Limor "Ladyada" Fried [Tue, 27 Feb 2018 17:34:16 +0000 (12:34 -0500)]
Merge pull request #8 from cefn/master

PR now structure and approach somewhat stable

7 years agoCruft removal
Cefn Hoile [Mon, 26 Feb 2018 23:22:05 +0000 (23:22 +0000)]
Cruft removal

7 years agoNo longer used. Stability issues from mounted filesystems make auto-sync impossible.
Cefn Hoile [Mon, 26 Feb 2018 23:20:30 +0000 (23:20 +0000)]
No longer used. Stability issues from mounted filesystems make auto-sync impossible.

7 years agoAdded I2C example and further compatibility modules listed
Cefn Hoile [Mon, 26 Feb 2018 23:05:27 +0000 (23:05 +0000)]
Added I2C example and further compatibility modules listed

7 years agoCopy Paste error, pasted before import. Noted BNO055 not tested.
Cefn Hoile [Mon, 26 Feb 2018 23:02:47 +0000 (23:02 +0000)]
Copy Paste error, pasted before import. Noted BNO055 not tested.

7 years agoMoved to adafruit_blinka.agnostic
Cefn Hoile [Mon, 26 Feb 2018 22:32:28 +0000 (22:32 +0000)]
Moved to adafruit_blinka.agnostic

7 years agoHeadings added. More detail on repo structure and mpy-cross
Cefn Hoile [Mon, 26 Feb 2018 22:31:33 +0000 (22:31 +0000)]
Headings added. More detail on repo structure and mpy-cross

7 years agoUpload new-structure agnostic and the time package too
Cefn Hoile [Mon, 26 Feb 2018 22:30:59 +0000 (22:30 +0000)]
Upload new-structure agnostic and the time package too

7 years agoHandle also CircuitPython error from missing pull capability.
Cefn Hoile [Mon, 26 Feb 2018 22:30:30 +0000 (22:30 +0000)]
Handle also CircuitPython error from missing pull capability.

7 years agoAgnostic now a package. Interactive testing now relies on monotonic. time now under...
Cefn Hoile [Mon, 26 Feb 2018 22:29:51 +0000 (22:29 +0000)]
Agnostic now a package. Interactive testing now relies on monotonic. time now under agnostic package.

7 years agoSimplified testing packages
Cefn Hoile [Mon, 26 Feb 2018 21:13:05 +0000 (21:13 +0000)]
Simplified testing packages

7 years agoBrought summary up to date
Cefn Hoile [Mon, 26 Feb 2018 21:11:45 +0000 (21:11 +0000)]
Brought summary up to date

7 years agoMinimise variables per module, given memory ceiling
Cefn Hoile [Mon, 26 Feb 2018 20:03:52 +0000 (20:03 +0000)]
Minimise variables per module, given memory ceiling

7 years agoImplementation of hardware I2C. Added timeout and receiver_buffer_size handling....
Cefn Hoile [Mon, 26 Feb 2018 20:02:34 +0000 (20:02 +0000)]
Implementation of hardware I2C. Added timeout and receiver_buffer_size handling. Switched to use of pin references rather than pin ids.

7 years agoRaise erro rwhen attempting software I2C on platform without. Minimise imports on...
Cefn Hoile [Mon, 26 Feb 2018 20:00:43 +0000 (20:00 +0000)]
Raise erro rwhen attempting software I2C on platform without. Minimise imports on load (import within function definitions). Remove spurious positional and keyword arg containers. Eliminate locally-scoped temporary variables. Switched to use of pin references rather than IDs in microcontroller port lists

7 years agoSeparated into uart, i2c tests
Cefn Hoile [Mon, 26 Feb 2018 19:56:55 +0000 (19:56 +0000)]
Separated into uart, i2c tests

7 years agoRenamed anticipating deprecation in favour of filesystem copy routine - watch-trigger...
Cefn Hoile [Mon, 26 Feb 2018 19:56:25 +0000 (19:56 +0000)]
Renamed anticipating deprecation in favour of filesystem copy routine - watch-triggered sync too unreliable.

7 years agoAdded agnostic as shared dependency between micropython and circuitpython test config...
Cefn Hoile [Mon, 26 Feb 2018 19:55:09 +0000 (19:55 +0000)]
Added agnostic as shared dependency between micropython and circuitpython test configuration

7 years agoAdded adafruit_register to test library dependencies
Cefn Hoile [Mon, 26 Feb 2018 19:54:18 +0000 (19:54 +0000)]
Added adafruit_register to test library dependencies

7 years agoDefinition of I2C bus-type per-board. Segregated busio tests into i2c vs uart
Cefn Hoile [Mon, 26 Feb 2018 19:53:07 +0000 (19:53 +0000)]
Definition of I2C bus-type per-board. Segregated busio tests into i2c vs uart

7 years agoSync procedure for pyboard testing.
Cefn Hoile [Mon, 26 Feb 2018 19:49:55 +0000 (19:49 +0000)]
Sync procedure for pyboard testing.

7 years agoMoved ports declarations into microcontroller.pin package, and used pin references...
Cefn Hoile [Mon, 26 Feb 2018 19:48:58 +0000 (19:48 +0000)]
Moved ports declarations into microcontroller.pin package, and used pin references in port definitions.

7 years agoAdded monkeypatch for time.struct_time dependency of adafruit_gps.
Cefn Hoile [Mon, 26 Feb 2018 19:43:47 +0000 (19:43 +0000)]
Added monkeypatch for time.struct_time dependency of adafruit_gps.

7 years agoNo pip-managed libraries
Cefn Hoile [Sun, 25 Feb 2018 00:41:04 +0000 (00:41 +0000)]
No pip-managed libraries

7 years agoYAPF PEP8 auto-reformat layout and whitespace (no code changes)
Cefn Hoile [Sun, 25 Feb 2018 00:37:05 +0000 (00:37 +0000)]
YAPF PEP8 auto-reformat layout and whitespace (no code changes)

7 years agoMerge branch 'master' of github.com:cefn/Adafruit_Micropython_Blinka
Cefn Hoile [Sun, 25 Feb 2018 00:34:25 +0000 (00:34 +0000)]
Merge branch 'master' of github.com:cefn/Adafruit_Micropython_Blinka

7 years agoReverted to package
Cefn Hoile [Sun, 25 Feb 2018 00:34:10 +0000 (00:34 +0000)]
Reverted to package

7 years agoMoved bytecode .gitignore into root to cleanup src folders
Cefn Hoile [Sun, 25 Feb 2018 00:24:53 +0000 (00:24 +0000)]
Moved bytecode .gitignore into root to cleanup src folders

7 years agoUpdate README.rst
Cefn Hoile [Sun, 25 Feb 2018 00:20:23 +0000 (00:20 +0000)]
Update README.rst

7 years agoRefactoring Pin, pin etc.
Cefn Hoile [Sun, 25 Feb 2018 00:14:06 +0000 (00:14 +0000)]
Refactoring Pin, pin etc.

7 years agoTested refactored upload scripts for new layout
Cefn Hoile [Sun, 25 Feb 2018 00:08:23 +0000 (00:08 +0000)]
Tested refactored upload scripts for new layout

7 years agoRenaming and refactoring typos. Experimental logic for board-based Pin naming, fallin...
Cefn Hoile [Sun, 25 Feb 2018 00:07:29 +0000 (00:07 +0000)]
Renaming and refactoring typos. Experimental logic for board-based Pin naming, falling back on microcontroller-based Pin naming

7 years agoFix copy-paste error
Cefn Hoile [Sat, 24 Feb 2018 23:16:35 +0000 (23:16 +0000)]
Fix copy-paste error

7 years agoSimpletest not applicable for this repo - integration tests are in test folder
Cefn Hoile [Sat, 24 Feb 2018 22:01:55 +0000 (22:01 +0000)]
Simpletest not applicable for this repo - integration tests are in test folder

7 years agoSource code now in src folder and adafruit_blinka is a package containing multiple...
Cefn Hoile [Sat, 24 Feb 2018 22:00:53 +0000 (22:00 +0000)]
Source code now in src folder and adafruit_blinka is a package containing multiple platform-specific implementations there.

7 years agoMoved upload scripts into test directory
Cefn Hoile [Sat, 24 Feb 2018 21:59:13 +0000 (21:59 +0000)]
Moved upload scripts into test directory

7 years agoMoved unittest module into separate test directory
Cefn Hoile [Sat, 24 Feb 2018 21:58:46 +0000 (21:58 +0000)]
Moved unittest module into separate test directory

7 years agoIntroduced submodules for libraries used by test suite
Cefn Hoile [Sat, 24 Feb 2018 21:57:03 +0000 (21:57 +0000)]
Introduced submodules for libraries used by test suite

7 years agoRetired notes directory
Cefn Hoile [Sat, 24 Feb 2018 21:56:37 +0000 (21:56 +0000)]
Retired notes directory

7 years ago.gitignore for python paths
Cefn Hoile [Sat, 24 Feb 2018 21:55:46 +0000 (21:55 +0000)]
.gitignore for python paths

7 years agoPackages reverted to modules
Cefn Hoile [Sat, 24 Feb 2018 21:53:52 +0000 (21:53 +0000)]
Packages reverted to modules

7 years agoAgnostic and wrapper-specific classes now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:52:36 +0000 (21:52 +0000)]
Agnostic and wrapper-specific classes now under adafruit_blinka

7 years agoMoved testing out of top level python path
Cefn Hoile [Sat, 24 Feb 2018 21:51:00 +0000 (21:51 +0000)]
Moved testing out of top level python path

7 years agoBoard packages now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:50:30 +0000 (21:50 +0000)]
Board packages now under adafruit_blinka

7 years agoMicrocontroller packages now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:47:37 +0000 (21:47 +0000)]
Microcontroller packages now under adafruit_blinka

7 years agoTypo in interactive message
Cefn Hoile [Sat, 24 Feb 2018 21:08:02 +0000 (21:08 +0000)]
Typo in interactive message

7 years agoTop level package now defines only uart and spi ports. pin submodule handles pins
Cefn Hoile [Sat, 24 Feb 2018 21:07:28 +0000 (21:07 +0000)]
Top level package now defines only uart and spi ports. pin submodule handles pins

7 years agoDefined uart and spi hardware availability for esp8266 and stm32. Moved pin functiona...
Cefn Hoile [Sat, 24 Feb 2018 21:06:40 +0000 (21:06 +0000)]
Defined uart and spi hardware availability for esp8266 and stm32. Moved pin functionality, yet to be tested

7 years agoMoved locking behaviour into common superclass. Moved context-managed behaviour into...
Cefn Hoile [Sat, 24 Feb 2018 21:03:45 +0000 (21:03 +0000)]
Moved locking behaviour into common superclass. Moved context-managed behaviour into common superclass. Implemented bitbangio.SPI busio.SPI, busio.I2C, busio.UART

7 years agoboard=None if detection doesn't work
Cefn Hoile [Sat, 24 Feb 2018 20:56:32 +0000 (20:56 +0000)]
board=None if detection doesn't work

7 years agoTests not verified for busio implementation
Cefn Hoile [Sat, 24 Feb 2018 20:29:09 +0000 (20:29 +0000)]
Tests not verified for busio implementation

7 years agoUntested busio implementation
Cefn Hoile [Sat, 24 Feb 2018 20:28:27 +0000 (20:28 +0000)]
Untested busio implementation

7 years agoAdded tested libraries as submodules
Cefn Hoile [Sat, 24 Feb 2018 20:27:20 +0000 (20:27 +0000)]
Added tested libraries as submodules

7 years agoSnapshot of testing.main() which runs BME280 successfully
Cefn Hoile [Tue, 20 Feb 2018 18:06:19 +0000 (18:06 +0000)]
Snapshot of testing.main() which runs BME280 successfully

7 years agobytecode mistakenly committed
Cefn Hoile [Tue, 20 Feb 2018 18:01:51 +0000 (18:01 +0000)]
bytecode mistakenly committed

7 years agoSuppress bytecode files
Cefn Hoile [Tue, 20 Feb 2018 18:01:34 +0000 (18:01 +0000)]
Suppress bytecode files

7 years agoFixed issue with directories being incorrectly filtered. Added bytecode compilation...
Cefn Hoile [Tue, 20 Feb 2018 17:59:23 +0000 (17:59 +0000)]
Fixed issue with directories being incorrectly filtered. Added bytecode compilation logic since otherwise memory busted.

7 years agoFixed issue with directories being incorrectly filtered
Cefn Hoile [Tue, 20 Feb 2018 17:58:25 +0000 (17:58 +0000)]
Fixed issue with directories being incorrectly filtered

7 years agoWorkaround for (bug in?) Micropython import logic. Frequency a keyword not positional...
Cefn Hoile [Tue, 20 Feb 2018 17:57:16 +0000 (17:57 +0000)]
Workaround for (bug in?) Micropython import logic. Frequency a keyword not positional arg. Stop a positional arg not a keyword arg.

7 years agoWorking I2C reference testcase on CircuitPython
Cefn Hoile [Tue, 20 Feb 2018 17:12:00 +0000 (17:12 +0000)]
Working I2C reference testcase on CircuitPython

7 years agoUntested draft I2C
Cefn Hoile [Tue, 20 Feb 2018 17:11:41 +0000 (17:11 +0000)]
Untested draft I2C