Commit Graph

16714 Commits

Author SHA1 Message Date
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
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
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
Kenny
e9b4e0bd35 remove new char*s because m0 is way oversubscribed 2020-07-23 20:41:10 -07:00
Kenny
652767fb1c translations 2020-07-23 20:41:10 -07:00
Kenny
764d49e641 also disable async_coroutine test in native emitter 2020-07-23 20:40:16 -07:00
Kenny
51a79b1af7 add coroutine behavior for generators
coroutines don't have __next__; they also call themselves coroutines.
This does not change the fact that `async def` methods are generators,
but it does make them behave more like CPython.
2020-07-23 20:40:16 -07:00
Scott Shawcroft
543708416b
Merge pull request #3195 from tannewt/remove_i2c_stop
Remove stop kwarg from I2C writeto.
2020-07-23 14:39:51 -07:00
Scott Shawcroft
060ab8a1f0
Merge pull request #3194 from tannewt/gcc10
Prep for GCC10
2020-07-23 14:39:21 -07:00
Scott Shawcroft
6a46fd5b91
Merge pull request #3185 from hierophect/esp32-pulseio
ESP32-S2: PWMOut
2020-07-23 13:11:33 -07:00
Scott Shawcroft
4b6e02949d
Remove stop kwarg from I2C writeto.
Fixes #2082
2020-07-23 11:06:14 -07:00
Lucian Copeland
cf0a4d208e Fix unintended timer reset, style changes 2020-07-23 14:01:10 -04:00
Jeff Epler
bca89c260f
Merge pull request #3189 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-07-23 11:57:42 -05:00
Wellington Terumi Uemura
226efb37bc
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (783 of 783 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-07-23 04:57:32 +02:00
Damien George
f43834aba2
py/py.mk: Use additional CFLAGS to compile string0.c.
Otherwise functions like memset might get optimised to call themselves (eg
with gcc 10).  And provide CFLAGS_BUILTIN so these options can be changed
by a port if needed.

Fixes issue #6053.
2020-07-22 16:26:47 -07:00
Scott Shawcroft
2bd6d05663
Add externs. GCC10 complains about duplicate defines 2020-07-22 16:26:46 -07:00
Hosted Weblate
441d9d2286
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-07-23 01:21:48 +02:00
Alvaro Figueroa
b42dc3b884 Translated using Weblate (Spanish)
Currently translated at 100.0% (780 of 780 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-07-23 01:21:47 +02:00
Dan Halbert
d22283c9c4
Merge pull request #3163 from tannewt/memmonitor
Add `memorymonitor` for memory allocation debugging
2020-07-22 19:21:41 -04:00
Scott Shawcroft
049921fec8
Merge branch 'main' into memmonitor 2020-07-22 14:00:28 -07:00
Scott Shawcroft
02b71e013a
Merge pull request #3107 from dherrada/type_hints
Adding type hints
2020-07-22 13:48:45 -07:00
Lucian Copeland
61a2e4f94b Add PWMOut 2020-07-22 16:34:18 -04:00
Scott Shawcroft
1ec3580946
Merge branch 'main' into memmonitor 2020-07-22 12:24:19 -07:00
Lucian Copeland
c1f731d62e Claim USB pins at startup to prevent overwrites 2020-07-22 14:22:05 -04:00
hierophect
e232ec10ce
Merge branch 'main' into stm32-timer-allocator 2020-07-22 13:59:39 -04:00
Lucian Copeland
138189bad1 Free timers when modules de-init 2020-07-22 13:58:57 -04:00
Dan Halbert
05a10f7905
Merge pull request #3186 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-07-22 09:40:22 -04:00
Hosted Weblate
946373fdcd
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-07-22 14:17:06 +02:00
Dan Halbert
aaa7198071
Merge pull request #3161 from tannewt/bytearray_find
Add find variants to bytearray
2020-07-22 08:16:54 -04:00
Dan Halbert
8e90c1996c
Merge pull request #3162 from tannewt/update_mistune
Move release note converter to latest markdown helper lib
2020-07-22 00:24:12 -04:00
Scott Shawcroft
eb24653d3f
Fix BluetoothError doc typo we copied 2020-07-21 18:30:29 -07:00
Scott Shawcroft
8ff2846bb2
Disable countio on circuitbrains basic 2020-07-21 16:21:49 -07:00
Scott Shawcroft
ee019a96ba
Updates based on review 2020-07-21 16:08:41 -07:00
Scott Shawcroft
6db10f9c7d
Turn off find when CPYTHON_COMPAT is off 2020-07-21 15:40:51 -07:00
Scott Shawcroft
1b3bc98068
Merge remote-tracking branch 'adafruit/main' into bytearray_find 2020-07-21 15:12:04 -07:00
Scott Shawcroft
cb7df2e1ed
Merge pull request #3160 from tannewt/enable_pystack
Enable PYSTACK to keep function state out of the heap
2020-07-21 13:38:52 -07:00
dherrada
9e3fa863f1
Merge branch 'main' into type_hints 2020-07-21 16:18:51 -04:00
Scott Shawcroft
e047ea287f
Merge pull request #3164 from tannewt/disable_network
Disable existing native networking.
2020-07-21 13:13:50 -07:00
Scott Shawcroft
da1c7f2a79
Merge pull request #3182 from ciscorn/extract_pyi
Improve .pyi generation
2020-07-21 13:13:12 -07:00
Scott Shawcroft
900edb2b8e
Only add .find without CPYTHON_COMPAT 2020-07-21 13:08:42 -07:00
Scott Shawcroft
5e3a853db4
Turn off GC opt on uchip board 2020-07-21 12:51:59 -07:00
Scott Shawcroft
a3a601d0c6
Merge pull request #3177 from WarriorOfWire/issue_3170
vectorio: fix VectorShape non-transposed pixel placement
2020-07-21 11:22:47 -07:00
Scott Shawcroft
678faff464
Be more aggressive with uChip build 2020-07-21 11:02:23 -07:00
Dan Halbert
7f27fcd63a
Merge pull request #3149 from DavePutz/issue2949
Issue#2949 Put in a check to prevent USB starvation by long calculations
2020-07-21 13:29:10 -04:00
Taku Fukada
a29105fefd Improve .pyi generation 2020-07-22 00:37:22 +09:00
Kenny
e977b427aa vectorio: fix VectorShape non-transposed pixel placement
Fixes https://github.com/adafruit/circuitpython/issues/3170

The absolute transform needs to be subtracted in all cases, not
only when the coordinate system is transposed.
2020-07-20 20:25:31 -07:00
Scott Shawcroft
389c81341d
Tweak declaration for boards with TCM 2020-07-20 18:16:20 -07:00
Scott Shawcroft
0c6935e336
Merge branch 'main' into disable_network 2020-07-20 16:28:22 -07:00