Jeff Epler
9d2270a979
runtime: Improve error message when setting read-only property
...
Formerly, if you wrote
SPI.frequency = 0
you would get the sightly erroneous error message
AttributeError: 'SPI' object has no attribute 'frequency'
In this case, a better message would read
AttributeError: 'SPI' object cannot assign attribute 'frequency'
This new message will both be used in the case where the attribute doesn't
exist at all (and the object has no dynamic attributes; most instances of
built in types behave this way), or if the attribute exists but is
read-only.
2020-03-20 17:57:28 -05:00
Scott Shawcroft
98f5cf25a5
Merge pull request #2716 from jepler/pixelbuf-subscr
...
Pixelbuf: subscr: Get correct pixel value
2020-03-19 10:02:08 -07:00
Scott Shawcroft
5dc3a8960b
Merge pull request #2719 from theacodes/add-honking-button
...
Add board support for Winterbloom Big Honking Button
2020-03-18 17:37:59 -07:00
Thea Flowers
e027aaf433
Remove some build options, fix order of boards in build.yml
2020-03-18 16:49:10 -07:00
Thea Flowers
25188f53a7
Add honking button to build workflow
2020-03-18 16:40:29 -07:00
Thea Flowers
7332adfa21
Add board support for Winterbloom Big Honking Button
2020-03-18 16:29:44 -07:00
Jeff Epler
310f2ccdf4
Pixelbuf: subscr: Get correct pixel value
...
Previously, the 0th pixel's value was always returned
2020-03-18 10:25:20 -05:00
Scott Shawcroft
4603c6ddd7
Merge pull request #2711 from jepler/update-ulab
...
update ulab
2020-03-17 15:33:08 -07:00
Jeff Epler
38a718ff55
Translations: follow stm port rename, run 'make translate'
2020-03-17 16:42:13 -05:00
Jeff Epler
aaf07ce72f
Update shared-bindings/ulab/__init__.rst
...
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-03-17 16:37:16 -05:00
Dan Halbert
9453e10c57
Merge pull request #2712 from tannewt/fix_dotstar_status
...
Fix DotStar status LED init.
2020-03-17 15:53:08 -04:00
Scott Shawcroft
612ba2f45d
Fix DotStar status LED init.
2020-03-17 12:11:11 -07:00
Jeff Epler
96f2288b84
ulab: include new 'extras' source file
2020-03-17 09:33:17 -05:00
Jeff Epler
d6342af980
ulab: rename enable macro so it appears in the support matrix
2020-03-17 09:33:03 -05:00
Jeff Epler
aa54a7e76e
ulab: update documentation
2020-03-17 09:25:33 -05:00
Jeff Epler
69aa010cfc
objslice: take mp_obj_slice_indices from micropython
2020-03-17 08:32:52 -05:00
Jeff Epler
772ac705d3
update ulab
2020-03-17 08:32:52 -05:00
Scott Shawcroft
c8d9edd939
Merge pull request #2705 from NightSkySK/UARTlogger2
...
add UARTLogger2 board support for CircuitPython
2020-03-16 16:28:42 -07:00
Szymon Klause
9fa270e330
spacing correction
2020-03-13 22:58:39 +01:00
Szymon Klause
c9aa50817c
add UARTLogger2 board support for CircuitPython
2020-03-13 21:39:17 +01:00
Scott Shawcroft
3a5f79acef
Merge pull request #2701 from hierophect/stm32-submodule-swap
...
STM32: Change ST drivers submodule to match TinyUSB
2020-03-13 10:47:54 -07:00
Scott Shawcroft
85f44e20cb
Merge pull request #2695 from TG-Techie/master
...
Add new TG-Watch02A to the nrf boards directory
2020-03-13 10:46:48 -07:00
TG-Techie
137d5c34fa
fix board sorting (due to T being before a anf t)
2020-03-12 20:39:42 -04:00
TG-Techie
7907ef5979
add TG-Watch02A to build workflow
2020-03-12 20:30:45 -04:00
Lucian Copeland
ef7370d023
Change ST drivers submodule to match TinyUSB
2020-03-12 17:14:09 -04:00
hierophect
0f64663c40
Merge pull request #2699 from hierophect/stm32-port-namechange
...
STM32: port directory name change
2020-03-12 15:45:22 -04:00
Lucian Copeland
18442c5b00
Merge remote-tracking branch 'upstream/master' into stm32-port-namechange
2020-03-12 15:40:44 -04:00
hierophect
dd21ec048a
Merge pull request #2697 from hierophect/stm32-pulsein
...
STM32: add PulseIn module
2020-03-12 15:39:54 -04:00
Lucian Copeland
0155fab356
Revise style on interrupt handler functions
2020-03-12 15:03:47 -04:00
Lucian Copeland
ead32ea6e6
Comment change for CI
2020-03-12 11:21:32 -04:00
TG-Techie
197dc344af
fix requested changes
2020-03-12 02:31:13 -04:00
Lucian Copeland
f81e2c0487
change CI target
2020-03-11 19:00:49 -04:00
Lucian Copeland
7ff336fbc5
Change docs target
2020-03-11 18:50:56 -04:00
Lucian Copeland
127e531271
remove old directory
2020-03-11 18:16:52 -04:00
Lucian Copeland
be7def128a
submodule move and sync
2020-03-11 18:16:16 -04:00
Lucian Copeland
53b1544f41
create copy
2020-03-11 18:13:06 -04:00
Lucian Copeland
2a082baa63
Add up to date translations
2020-03-11 17:53:22 -04:00
Lucian Copeland
38064750f9
Merge remote-tracking branch 'upstream/master' into stm32-pulsein
2020-03-11 16:39:11 -04:00
Lucian Copeland
2b161d37df
stm32: add PulseIn module
2020-03-11 16:37:40 -04:00
TG-Techie
b967a2071f
changed TG-Watch02A HW_BOARD_NAME
2020-03-10 23:07:25 -04:00
TG-Techie
50b451ae0c
add TG-Watch02A board def
2020-03-10 22:40:55 -04:00
Scott Shawcroft
d988af02d1
Merge pull request #2690 from jepler/topic-pep-498-fstrings
...
Implement partial PEP-498 (f-string) support
2020-03-10 10:53:04 -07:00
Dan Halbert
6363b5ad06
Merge pull request #2693 from jepler/ulab-enable
...
ulab: enable on most builds
2020-03-10 09:48:46 -04:00
Jeff Epler
03a2b2faf1
ulab: don't enable on m0 boards
2020-03-09 23:00:21 -05:00
Jeff Epler
ef195d6e1b
Update tests
...
* string_pep498_fstring.py: Not compatible with python3.5
* cmd_parsetree.py: enumerated constants changed
2020-03-09 21:13:33 -05:00
Scott Shawcroft
df88939128
Merge pull request #2666 from dhalbert/assert_pin-and-mp_const_none-cleanup
...
validate various displayio args; new pin validation routines; don't use mp_const_none if NULL will do
2020-03-09 16:35:57 -07:00
Scott Shawcroft
eebe769973
Merge pull request #2692 from jepler/ulab-upstream
...
ulab: Use https://github.com/v923z/micropython-ulab/
2020-03-09 16:28:56 -07:00
Jeff Epler
491a31a731
circuitpy_mpconfig.mk: Enable ULAB for "full builds"
...
This enables it on the imxrt and cds56 ports where it was disabled before
2020-03-09 15:54:40 -05:00
Jeff Epler
66aa0dec60
stm32: enable ulab
...
This is needed because stm32 defines CIRCUITPY_MINIMAL_BUILD "for early
port".
2020-03-09 15:54:40 -05:00
Jeff Epler
e128d770f1
cdx56: prepare to enable ulab
...
This involves fixing support for SRC_MOD and enabling INTERNAL_LIBM
including adding support for SRC_LIBM.
2020-03-09 15:54:40 -05:00