]>
Repositories - Adafruit_Blinka-hackapet.git/log
Cefn Hoile [Sat, 24 Feb 2018 21:58:46 +0000 (21:58 +0000)]
Moved unittest module into separate test directory
Cefn Hoile [Sat, 24 Feb 2018 21:57:03 +0000 (21:57 +0000)]
Introduced submodules for libraries used by test suite
Cefn Hoile [Sat, 24 Feb 2018 21:56:37 +0000 (21:56 +0000)]
Retired notes directory
Cefn Hoile [Sat, 24 Feb 2018 21:55:46 +0000 (21:55 +0000)]
.gitignore for python paths
Cefn Hoile [Sat, 24 Feb 2018 21:53:52 +0000 (21:53 +0000)]
Packages reverted to modules
Cefn Hoile [Sat, 24 Feb 2018 21:52:36 +0000 (21:52 +0000)]
Agnostic and wrapper-specific classes now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:51:00 +0000 (21:51 +0000)]
Moved testing out of top level python path
Cefn Hoile [Sat, 24 Feb 2018 21:50:30 +0000 (21:50 +0000)]
Board packages now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:47:37 +0000 (21:47 +0000)]
Microcontroller packages now under adafruit_blinka
Cefn Hoile [Sat, 24 Feb 2018 21:08:02 +0000 (21:08 +0000)]
Typo in interactive message
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
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
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
Cefn Hoile [Sat, 24 Feb 2018 20:56:32 +0000 (20:56 +0000)]
board=None if detection doesn't work
Cefn Hoile [Sat, 24 Feb 2018 20:29:09 +0000 (20:29 +0000)]
Tests not verified for busio implementation
Cefn Hoile [Sat, 24 Feb 2018 20:28:27 +0000 (20:28 +0000)]
Untested busio implementation
Cefn Hoile [Sat, 24 Feb 2018 20:27:20 +0000 (20:27 +0000)]
Added tested libraries as submodules
Cefn Hoile [Tue, 20 Feb 2018 18:06:19 +0000 (18:06 +0000)]
Snapshot of testing.main() which runs BME280 successfully
Cefn Hoile [Tue, 20 Feb 2018 18:01:51 +0000 (18:01 +0000)]
bytecode mistakenly committed
Cefn Hoile [Tue, 20 Feb 2018 18:01:34 +0000 (18:01 +0000)]
Suppress bytecode files
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.
Cefn Hoile [Tue, 20 Feb 2018 17:58:25 +0000 (17:58 +0000)]
Fixed issue with directories being incorrectly filtered
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.
Cefn Hoile [Tue, 20 Feb 2018 17:12:00 +0000 (17:12 +0000)]
Working I2C reference testcase on CircuitPython
Cefn Hoile [Tue, 20 Feb 2018 17:11:41 +0000 (17:11 +0000)]
Untested draft I2C
Cefn Hoile [Tue, 20 Feb 2018 17:10:20 +0000 (17:10 +0000)]
Introduced conservative garbage collection to minimise heap fragmentation
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
Cefn Hoile [Tue, 20 Feb 2018 17:08:24 +0000 (17:08 +0000)]
Now populates BusDevice and BME280
Cefn Hoile [Tue, 20 Feb 2018 17:07:28 +0000 (17:07 +0000)]
Resumed wildcard import style
Cefn Hoile [Mon, 19 Feb 2018 23:15:42 +0000 (23:15 +0000)]
Use boolean as canonical value attribute
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.
Cefn Hoile [Mon, 19 Feb 2018 20:52:08 +0000 (20:52 +0000)]
Suppress errors from ampy mkdir where directory exists
Cefn Hoile [Mon, 19 Feb 2018 20:42:11 +0000 (20:42 +0000)]
Merge branch 'master' of github.com:cefn/Adafruit_Micropython_Blinka
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.
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.
Cefn Hoile [Mon, 19 Feb 2018 20:25:28 +0000 (20:25 +0000)]
Update README.rst
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!
Cefn Hoile [Mon, 19 Feb 2018 20:15:58 +0000 (20:15 +0000)]
Update README.rst
Cefn Hoile [Mon, 19 Feb 2018 20:08:30 +0000 (20:08 +0000)]
Update README.rst
Cefn Hoile [Mon, 19 Feb 2018 16:14:46 +0000 (16:14 +0000)]
Update index.md
Cefn Hoile [Mon, 19 Feb 2018 16:12:08 +0000 (16:12 +0000)]
Update index.md
Cefn Hoile [Mon, 19 Feb 2018 16:10:38 +0000 (16:10 +0000)]
Update index.md
Cefn Hoile [Mon, 19 Feb 2018 16:10:18 +0000 (16:10 +0000)]
Update index.md
Cefn Hoile [Mon, 19 Feb 2018 15:41:03 +0000 (15:41 +0000)]
Added support for pyboard and future support for inverted LED
Cefn Hoile [Mon, 19 Feb 2018 15:19:38 +0000 (15:19 +0000)]
Updated README
Cefn Hoile [Mon, 19 Feb 2018 14:43:08 +0000 (14:43 +0000)]
Better formatted console results. Skip wiring check if LED hardwired
Cefn Hoile [Mon, 19 Feb 2018 14:42:37 +0000 (14:42 +0000)]
Better formatted console results
Cefn Hoile [Mon, 19 Feb 2018 14:17:52 +0000 (14:17 +0000)]
Terminate early while experimenting with testcases
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
Cefn Hoile [Mon, 19 Feb 2018 14:08:07 +0000 (14:08 +0000)]
rely on utime directly.
Cefn Hoile [Mon, 19 Feb 2018 14:07:28 +0000 (14:07 +0000)]
Clarified comment
Cefn Hoile [Mon, 19 Feb 2018 14:06:53 +0000 (14:06 +0000)]
Value moved packages
Cefn Hoile [Mon, 19 Feb 2018 14:06:02 +0000 (14:06 +0000)]
Coverage for switch_to_x() methods. Pull-up and pull-down.
Cefn Hoile [Mon, 19 Feb 2018 14:05:08 +0000 (14:05 +0000)]
led_hardwired flag to skip interactive questioning about wiring LEDs
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.
Cefn Hoile [Mon, 19 Feb 2018 14:02:22 +0000 (14:02 +0000)]
Moved temporary methods to end of definition
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.
Cefn Hoile [Mon, 19 Feb 2018 13:59:00 +0000 (13:59 +0000)]
SDA/SCL matching labels on board
Cefn Hoile [Mon, 19 Feb 2018 13:58:32 +0000 (13:58 +0000)]
Exporting time symbols not modules
Cefn Hoile [Mon, 19 Feb 2018 13:57:26 +0000 (13:57 +0000)]
Suppress Pycharm
Cefn Hoile [Mon, 19 Feb 2018 01:43:11 +0000 (01:43 +0000)]
Property interdependencies now sensible
Cefn Hoile [Sun, 18 Feb 2018 20:57:28 +0000 (20:57 +0000)]
Updated for new testing structure
Cefn Hoile [Sun, 18 Feb 2018 20:52:37 +0000 (20:52 +0000)]
More consistent naming of board,microcontroller,implementation
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
Cefn Hoile [Sun, 18 Feb 2018 20:51:40 +0000 (20:51 +0000)]
More consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:51:17 +0000 (20:51 +0000)]
Simplified import
Cefn Hoile [Sun, 18 Feb 2018 20:50:56 +0000 (20:50 +0000)]
More consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:50:39 +0000 (20:50 +0000)]
Typo
Cefn Hoile [Sun, 18 Feb 2018 20:49:57 +0000 (20:49 +0000)]
More consistent naming of board,microcontroller,implementation
Cefn Hoile [Sun, 18 Feb 2018 20:49:33 +0000 (20:49 +0000)]
Placeholder for board pin identifiers
Cefn Hoile [Sun, 18 Feb 2018 20:49:01 +0000 (20:49 +0000)]
Now a global module property, not sub-module
Cefn Hoile [Sun, 18 Feb 2018 20:47:45 +0000 (20:47 +0000)]
Microcontroller package matching pyboard
Cefn Hoile [Sun, 18 Feb 2018 20:41:45 +0000 (20:41 +0000)]
Interactive integration test proven on Huzzah CircuitPython
Cefn Hoile [Sun, 18 Feb 2018 20:40:08 +0000 (20:40 +0000)]
testing.implementation __init__ now just package placeholder, since testing.board handles test fixture params
Cefn Hoile [Sun, 18 Feb 2018 20:38:33 +0000 (20:38 +0000)]
Default package name changed
Cefn Hoile [Sun, 18 Feb 2018 20:37:02 +0000 (20:37 +0000)]
Switch sub-import based on chip
Cefn Hoile [Sun, 18 Feb 2018 20:35:52 +0000 (20:35 +0000)]
Moved Pin into mcp layer to prevent circular import within microcontroller module.
Cefn Hoile [Sun, 18 Feb 2018 20:34:32 +0000 (20:34 +0000)]
Micropython compatibility layer for DigitalInOut still in draft. Removed methods; direction, value, drive_mode, pull should be handled as attributes
Cefn Hoile [Sun, 18 Feb 2018 20:32:24 +0000 (20:32 +0000)]
Draft pin naming for pyboard
Cefn Hoile [Sun, 18 Feb 2018 20:32:03 +0000 (20:32 +0000)]
Avoided polluting board namespace with microcontroller pin names added note re I2C.
Cefn Hoile [Sun, 18 Feb 2018 20:29:59 +0000 (20:29 +0000)]
Populated draft switch statements
Cefn Hoile [Sun, 18 Feb 2018 20:27:33 +0000 (20:27 +0000)]
Standardised platform (chip) names
Cefn Hoile [Sun, 18 Feb 2018 20:22:26 +0000 (20:22 +0000)]
Updated for more consistent test package naming, corresponding with properties of agnostic.py
Cefn Hoile [Sun, 18 Feb 2018 20:21:31 +0000 (20:21 +0000)]
Separated upload routine for Huzzah with/without circuitpython
Cefn Hoile [Sun, 18 Feb 2018 20:20:45 +0000 (20:20 +0000)]
Mapped pins from esp8266 microcontroller to Feather Huzzah board
Cefn Hoile [Sun, 18 Feb 2018 20:19:26 +0000 (20:19 +0000)]
Board oriented test fixture parameters
Cefn Hoile [Sun, 18 Feb 2018 20:18:26 +0000 (20:18 +0000)]
Ampy-based selective integration-test upload routine for Huzzah running CircuitPython
Cefn Hoile [Sun, 18 Feb 2018 01:52:33 +0000 (01:52 +0000)]
Naming consistent with agnostic.py and sys.implementation.name
Cefn Hoile [Sun, 18 Feb 2018 01:50:54 +0000 (01:50 +0000)]
platform was misnomer for tests really organised around implementation. See agnostic.py for reference identifiers.
Cefn Hoile [Sun, 18 Feb 2018 01:47:26 +0000 (01:47 +0000)]
Now everything is embedded by default, with only testing.mcp being pure-pthon tests (not implementation-specific)
Cefn Hoile [Sun, 18 Feb 2018 01:44:48 +0000 (01:44 +0000)]
Package for circuitpython tests
Cefn Hoile [Sun, 18 Feb 2018 01:44:09 +0000 (01:44 +0000)]
Extracted implementation-agnostic test
Cefn Hoile [Sun, 18 Feb 2018 01:43:28 +0000 (01:43 +0000)]
Now organising around implementation not platform
Cefn Hoile [Sun, 18 Feb 2018 01:41:38 +0000 (01:41 +0000)]
Module for function-performance-profiling decorator
Cefn Hoile [Sun, 18 Feb 2018 01:40:46 +0000 (01:40 +0000)]
Now applicable to all platforms
Cefn Hoile [Sun, 18 Feb 2018 01:40:25 +0000 (01:40 +0000)]
Moved from module to package
Cefn Hoile [Sun, 18 Feb 2018 01:36:27 +0000 (01:36 +0000)]
Added interactive logic. Pre-imported libraries
Cefn Hoile [Sun, 18 Feb 2018 01:35:34 +0000 (01:35 +0000)]
No diff
Cefn Hoile [Sun, 18 Feb 2018 01:33:59 +0000 (01:33 +0000)]
No diff
Cefn Hoile [Sun, 18 Feb 2018 01:32:54 +0000 (01:32 +0000)]
Defining pin values for test fixtures.