]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
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

7 years agoIntroduced conservative garbage collection to minimise heap fragmentation
Cefn Hoile [Tue, 20 Feb 2018 17:10:20 +0000 (17:10 +0000)]
Introduced conservative garbage collection to minimise heap fragmentation

7 years agoReversed mistakenly committed tweak. Introduced conservative garbage collection to...
Cefn Hoile [Tue, 20 Feb 2018 17:09:51 +0000 (17:09 +0000)]
Reversed mistakenly committed tweak. Introduced conservative garbage collection to minimise heap fragmentation

7 years agoNow populates BusDevice and BME280
Cefn Hoile [Tue, 20 Feb 2018 17:08:24 +0000 (17:08 +0000)]
Now populates BusDevice and BME280

7 years agoResumed wildcard import style
Cefn Hoile [Tue, 20 Feb 2018 17:07:28 +0000 (17:07 +0000)]
Resumed wildcard import style

7 years agoUse boolean as canonical value attribute
Cefn Hoile [Mon, 19 Feb 2018 23:15:42 +0000 (23:15 +0000)]
Use boolean as canonical value attribute

7 years agoFail hard when board cannot be determined. Feather Huzzah Red LED is inverted. Typo...
Cefn Hoile [Mon, 19 Feb 2018 22:14:46 +0000 (22:14 +0000)]
Fail hard when board cannot be determined. Feather Huzzah Red LED is inverted. Typo in suite.

7 years agoSuppress errors from ampy mkdir where directory exists
Cefn Hoile [Mon, 19 Feb 2018 20:52:08 +0000 (20:52 +0000)]
Suppress errors from ampy mkdir where directory exists

7 years agoMerge branch 'master' of github.com:cefn/Adafruit_Micropython_Blinka
Cefn Hoile [Mon, 19 Feb 2018 20:42:11 +0000 (20:42 +0000)]
Merge branch 'master' of github.com:cefn/Adafruit_Micropython_Blinka

7 years agoMoved Pin definition back so that __module__ properly rendered by repr(). Fear of...
Cefn Hoile [Mon, 19 Feb 2018 20:41:49 +0000 (20:41 +0000)]
Moved Pin definition back so that __module__ properly rendered by repr(). Fear of circular dependency was red herring - was just too many levels of recursion.

7 years agoMoved Pin definition back so that __module__ properly rendered by repr(). Fear of...
Cefn Hoile [Mon, 19 Feb 2018 20:41:17 +0000 (20:41 +0000)]
Moved Pin definition back so that __module__ properly rendered by repr(). Fear of circular dependency was red herring - was just too many levels of recursion.

7 years agoUpdate README.rst
Cefn Hoile [Mon, 19 Feb 2018 20:25:28 +0000 (20:25 +0000)]
Update README.rst

7 years agoMore readable, link to log of example test suite
Cefn Hoile [Mon, 19 Feb 2018 20:23:16 +0000 (20:23 +0000)]
More readable, link to log of example test suite

I really have to break my markdown habits!

7 years agoUpdate README.rst
Cefn Hoile [Mon, 19 Feb 2018 20:15:58 +0000 (20:15 +0000)]
Update README.rst

7 years agoUpdate README.rst
Cefn Hoile [Mon, 19 Feb 2018 20:08:30 +0000 (20:08 +0000)]
Update README.rst

7 years agoUpdate index.md
Cefn Hoile [Mon, 19 Feb 2018 16:14:46 +0000 (16:14 +0000)]
Update index.md

7 years agoUpdate index.md
Cefn Hoile [Mon, 19 Feb 2018 16:12:08 +0000 (16:12 +0000)]
Update index.md

7 years agoUpdate index.md
Cefn Hoile [Mon, 19 Feb 2018 16:10:38 +0000 (16:10 +0000)]
Update index.md

7 years agoUpdate index.md
Cefn Hoile [Mon, 19 Feb 2018 16:10:18 +0000 (16:10 +0000)]
Update index.md

7 years agoAdded support for pyboard and future support for inverted LED
Cefn Hoile [Mon, 19 Feb 2018 15:41:03 +0000 (15:41 +0000)]
Added support for pyboard and future support for inverted LED

7 years agoUpdated README
Cefn Hoile [Mon, 19 Feb 2018 15:19:38 +0000 (15:19 +0000)]
Updated README

7 years agoBetter formatted console results. Skip wiring check if LED hardwired
Cefn Hoile [Mon, 19 Feb 2018 14:43:08 +0000 (14:43 +0000)]
Better formatted console results. Skip wiring check if LED hardwired

7 years agoBetter formatted console results
Cefn Hoile [Mon, 19 Feb 2018 14:42:37 +0000 (14:42 +0000)]
Better formatted console results

7 years agoTerminate early while experimenting with testcases
Cefn Hoile [Mon, 19 Feb 2018 14:17:52 +0000 (14:17 +0000)]
Terminate early while experimenting with testcases

7 years agoAdded exception-printouts, and flags to selectively re-raise Exceptions/BaseException...
Cefn Hoile [Mon, 19 Feb 2018 14:15:10 +0000 (14:15 +0000)]
Added exception-printouts, and flags to selectively re-raise Exceptions/BaseExceptions from Test cases

7 years agorely on utime directly.
Cefn Hoile [Mon, 19 Feb 2018 14:08:07 +0000 (14:08 +0000)]
rely on utime directly.

7 years agoClarified comment
Cefn Hoile [Mon, 19 Feb 2018 14:07:28 +0000 (14:07 +0000)]
Clarified comment

7 years agoValue moved packages
Cefn Hoile [Mon, 19 Feb 2018 14:06:53 +0000 (14:06 +0000)]
Value moved packages

7 years agoCoverage for switch_to_x() methods. Pull-up and pull-down.
Cefn Hoile [Mon, 19 Feb 2018 14:06:02 +0000 (14:06 +0000)]
Coverage for switch_to_x() methods. Pull-up and pull-down.

7 years agoled_hardwired flag to skip interactive questioning about wiring LEDs
Cefn Hoile [Mon, 19 Feb 2018 14:05:08 +0000 (14:05 +0000)]
led_hardwired flag to skip interactive questioning about wiring LEDs

7 years agoAdded interactive await behaviour for real-world triggers. Workaround for stack-busti...
Cefn Hoile [Mon, 19 Feb 2018 14:03:53 +0000 (14:03 +0000)]
Added interactive await behaviour for real-world triggers. Workaround for stack-busting recursive imports. Added micropython-specific digitalio testing.

7 years agoMoved temporary methods to end of definition
Cefn Hoile [Mon, 19 Feb 2018 14:02:22 +0000 (14:02 +0000)]
Moved temporary methods to end of definition

7 years agoInitialisations to None help with code completion editors. Context-manager signature...
Cefn Hoile [Mon, 19 Feb 2018 14:01:43 +0000 (14:01 +0000)]
Initialisations to None help with code completion editors. Context-manager signature and return now compliant. Exception-raising where Pull.DOWN not supported. Commented, PEP8 and removed hash cruft.

7 years agoSDA/SCL matching labels on board
Cefn Hoile [Mon, 19 Feb 2018 13:59:00 +0000 (13:59 +0000)]
SDA/SCL matching labels on board

7 years agoExporting time symbols not modules
Cefn Hoile [Mon, 19 Feb 2018 13:58:32 +0000 (13:58 +0000)]
Exporting time symbols not modules

7 years agoSuppress Pycharm
Cefn Hoile [Mon, 19 Feb 2018 13:57:26 +0000 (13:57 +0000)]
Suppress Pycharm

7 years agoProperty interdependencies now sensible
Cefn Hoile [Mon, 19 Feb 2018 01:43:11 +0000 (01:43 +0000)]
Property interdependencies now sensible

7 years agoUpdated for new testing structure
Cefn Hoile [Sun, 18 Feb 2018 20:57:28 +0000 (20:57 +0000)]
Updated for new testing structure

7 years agoMore consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:52:37 +0000 (20:52 +0000)]
More consistent naming of board,microcontroller,implementation

7 years agoMoved pin_count out of board into proper place in microcontroller hierarchy
Cefn Hoile [Sun, 18 Feb 2018 20:52:14 +0000 (20:52 +0000)]
Moved pin_count out of board into proper place in microcontroller hierarchy

7 years agoMore consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:51:40 +0000 (20:51 +0000)]
More consistent naming of board,microcontroller,implementation

7 years agoSimplified import
Cefn Hoile [Sun, 18 Feb 2018 20:51:17 +0000 (20:51 +0000)]
Simplified import

7 years agoMore consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:50:56 +0000 (20:50 +0000)]
More consistent naming of board,microcontroller,implementation

7 years agoTypo
Cefn Hoile [Sun, 18 Feb 2018 20:50:39 +0000 (20:50 +0000)]
Typo