Commit Graph

16824 Commits

Author SHA1 Message Date
Dan Halbert
65c22aa434 storage.erase_filesystem(): unmount and wait 1 second before resetting 2020-07-28 17:52:56 -04:00
Scott Shawcroft
6afbefc739
Merge pull request #3219 from adafruit/encoding
fix windows' encoding defaults
2020-07-28 14:00:44 -07:00
Margaret Matocha
0887bc2112 Updated to remove else statment, attempt to remove excess mpy-cross... file 2020-07-28 15:03:51 -05:00
Margaret Matocha
076c5f946f Updated to remove unnecessary else statement 2020-07-28 14:53:50 -05:00
Margaret Matocha
fd7801415a Deleted mpy-cross file 2020-07-28 14:53:09 -05:00
Dan Halbert
ca9eae8eea
Merge pull request #3209 from pewpew-game/fluff-m0-pins
fluff_m0: add pin aliases
2020-07-28 15:15:15 -04:00
Dan Halbert
824a57c6f4
Merge pull request #3218 from tannewt/use_gcc10_peripherals
Use samd peripherals fixed for gcc 10
2020-07-28 15:14:20 -04:00
Scott Shawcroft
b30d89131b
Merge pull request #3215 from ansonhe97/main
Added display QSTR to Wio Terminal
2020-07-28 11:53:17 -07:00
Scott Shawcroft
efee11dffe
Add black too 2020-07-28 11:42:58 -07:00
Dan Halbert
57464998c0 add to build.yml 2020-07-28 14:23:01 -04:00
lady ada
5b675cc83f fix windows' encoding defaults 2020-07-28 14:19:43 -04:00
Dan Halbert
649e6d59ce Merge from upstream and make translate 2020-07-28 14:15:33 -04:00
Dan Halbert
aa97ea2501 Merge remote-tracking branch 'adafruit/main' into blm_badge 2020-07-28 14:15:02 -04:00
Scott Shawcroft
92216d6417
Use samd peripherals fixed for gcc 10 2020-07-28 11:14:25 -07:00
Dan Halbert
e5e132a364 add blm_badge; add CIRCUITPY_AUDIOBUSIOIO_I2SOUT 2020-07-28 11:49:54 -04:00
Dan Halbert
9fc7118861
Merge pull request #3213 from jerryneedell/jerryn_pystack
adjust stack for SAMD21 to accommodate larger pystack
2020-07-28 11:40:56 -04:00
ansonhe97
e15bcebb6e Added display QSTR to Wio Terminal 2020-07-28 17:31:17 +08:00
Anson He
c010cc2c41
Merge pull request #1 from adafruit/main
Merged main to fork
2020-07-28 17:03:10 +08:00
Margaret Matocha
db26e894fb Updated Group.c to correct bug with insert into groups 2020-07-27 22:25:21 -05:00
Jerry Needell
945736e9bb add adjustments for crickit and displayio variants of CPX 2020-07-27 22:13:04 -04:00
Jerry Needell
2bdd62220e adjust stack for SAMD21 to accomodate larger pystack -- update frozen module adafruit_busdevice 2020-07-27 21:50:36 -04:00
Scott Shawcroft
01cd1c5b34
add isort to doc deps
Fixes #3200
2020-07-27 18:42:53 -07:00
Scott Shawcroft
debbf1028a
Merge pull request #3196 from IkigaiSense/ikigaisense_vita
add-ikigaisense_vita-nRF52840
2020-07-27 16:10:57 -07:00
Scott Shawcroft
7f804fdc5d
Merge pull request #3202 from WarriorOfWire/require_await_in_async
Require await in async
2020-07-27 16:02:25 -07:00
Scott Shawcroft
f4f2018952
Merge pull request #3101 from ndGarage/ndgarage_ndbit6_v2
ndgGarage ndbit6 v2
2020-07-27 15:51:23 -07:00
Scott Shawcroft
7be9837f73
Merge pull request #3193 from ciscorn/type-annotations
More type hints
2020-07-27 14:26:54 -07:00
Taku Fukada
d356581651 Fix several type hints 2020-07-27 18:05:13 +09:00
Radomir Dopieralski
b2c4b0bcfa fluff_m0: don't exclude portb pins explicitly 2020-07-26 17:26:32 +02:00
Radomir Dopieralski
b1b253c012 fluff_m0: add pin aliases
Add aliases for SDI, SDO and EN, so that pin names match the text on the
PCB to avoid confusion.

Also disable all pins from port B, because that package of SAMD21
doesn't have port B.
2020-07-26 13:39:42 +02:00
Dan Halbert
7ab5c520e6
Merge pull request #3190 from DavePutz/opt-test
Changes to allow different compiler optimizations per board
2020-07-25 17:03:10 -04:00
Dan Halbert
b7e6bf959e
Merge pull request #3205 from burtyb/commander-2
Add GamePad to Commander board
2020-07-25 16:57:58 -04:00
Chris Burton
c4a5297ee2 Add GamePad to Commander 2020-07-25 17:53:27 +00:00
Kenny
ebc1373c08 use -j2 in the actual build also 2020-07-25 10:23:42 -07:00
ikigaisense
6696915801 fix-ndbit6-for-ndbit6_v2 2020-07-25 10:07:33 -06:00
Jonathan Hogg
901f3dce6e py/compile: Don't await __aiter__ special method in async-for.
MicroPython's original implementation of __aiter__ was correct for an
earlier (provisional) version of PEP492 (CPython 3.5), where __aiter__ was
an async-def function.  But that changed in the final version of PEP492 (in
CPython 3.5.2) where the function was changed to a normal one.  See
https://www.python.org/dev/peps/pep-0492/#why-aiter-does-not-return-an-awaitable
See also the note at the end of this subsection in the docs:
https://docs.python.org/3.5/reference/datamodel.html#asynchronous-iterators
And for completeness the BPO: https://bugs.python.org/issue27243

To be consistent with the Python spec as it stands today (and now that
PEP492 is final) this commit changes MicroPython's behaviour to match
CPython:  __aiter__ should return an async-iterable object, but is not
itself awaitable.

The relevant tests are updated to match.

See #6267.
2020-07-24 22:55:37 -07:00
Kenny
11d225fe62 Use 2 cores per job in github build
As of today, https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
states that hosted runners have a 2-core CPU.

This uses make -j $physical_cores to try and be better about utilizing the time spent on those machines.
When github upgrades runners to have more cores we'll benefit from that too.
2020-07-24 22:08:56 -07:00
root
c4817968ee Merge branch 'opt-test' of https://github.com/DavePutz/circuitpython into opt-test 2020-07-24 23:28:41 -05:00
root
d9503e579b latest frozen/circuitpython-stage 2020-07-24 23:27:22 -05:00
Kenny
a6b5870514 translations 2020-07-24 19:58:20 -07:00
Kenny
9a1f1236cc require async for and async with to actually be in an async def method instead of just a generator 2020-07-24 19:47:34 -07:00
DavePutz
3dfed3c4aa
Merge pull request #15 from adafruit/main
update from main
2020-07-24 20:29:53 -05:00
root
739981b34e update for pewpew 2020-07-24 17:27:25 -05:00
Scott Shawcroft
a6e048686f
Merge pull request #3178 from WarriorOfWire/async_def_coroutine_sim
add coroutine behavior for generators
2020-07-24 12:37:09 -07:00
DavePutz
a14101cd13
Use current mpconfigboard.mk with optimization change 2020-07-24 14:09:09 -05:00
hierophect
a5725941a0
Merge pull request #3199 from hierophect/litex-build-hotfix
Litex: fix microcontroller common-hal interface
2020-07-24 13:34:28 -04:00
Lucian Copeland
356b1a8d6d Finish common-hal pin API 2020-07-24 12:29:18 -04:00
hierophect
c735dceed5
Merge pull request #3099 from hierophect/stm32-timer-allocator
STM32: Add timer allocator, PulseIO adjustments
2020-07-24 11:16:39 -04:00
root
b9cdf195e2 board mk file changes 2020-07-24 10:00:42 -05:00
root
204cdada7c remove unnecessary mk files parameters 2020-07-24 09:53:40 -05:00
Taku Fukada
54a342a7f5 Add and correct some type hints 2020-07-24 18:20:03 +09:00