Jerry Needell
5f60bec85b
update frozen Adafruit_CircutPython_RFM9x library
2020-08-09 11:07:41 -04:00
Wellington Terumi Uemura
71698c5d46
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (773 of 773 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-08-09 13:32:50 +02:00
Roy Hooper
00a3a25b94
revert error to avoid translation changes
2020-08-08 18:40:45 -04:00
sommersoft
ce9bc1258a
support_matrix.rst: pre-process space chars in internal link names; would cause a no-id situation when names like 'ndGarage[n°] Bit6: FeatherSnow-v2' were parsed.
2020-08-08 11:37:49 -05:00
sommersoft
c374368053
support_matrix.rst: add internal links to boards in the table
2020-08-07 22:52:34 -05:00
Taku Fukada
ad04b8cfd3
Revert the ulab update
2020-08-08 11:33:12 +09:00
Roy Hooper
e73dba21d2
make pixelbuf handle floats and iterables
2020-08-07 18:42:06 -04:00
Margaret Matocha
b6008d0032
Adding bitmap.insert to copy a slice of a source bitmap into another bitmap
2020-08-07 15:59:42 -05:00
Margaret Matocha
64c9baa6aa
Added bitmap.insert function for slice copy into a bitmap from another bitmap
2020-08-07 15:46:00 -05:00
Jeff Epler
707eed0a73
Merge pull request #3254 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-08-07 14:29:42 -05:00
Jerry Needell
1d980d527e
Merge remote-tracking branch 'upstream/main' into jerryn_rfm9x
2020-08-07 12:48:41 -04:00
Taku Fukada
272d300fc8
Fix Read the Docs bulid failing
2020-08-08 01:33:24 +09:00
Hosted Weblate
5eef3c47eb
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-08-07 17:11:47 +02:00
Alvaro Figueroa
49969e08c3
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (786 of 786 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-08-07 17:11:47 +02:00
Jeff Epler
354edd9431
Merge pull request #3252 from ciscorn/pyi
...
Some improvements to the core module docs
2020-08-07 10:11:40 -05:00
Jeff Epler
8f6950eb3c
Merge pull request #3246 from sommersoft/doc_title_tag
...
RTD: Set Version/Release For Sphinx
2020-08-07 10:08:17 -05:00
Jeff Epler
d8cc4795be
Merge pull request #3236 from jepler/firmware-size-gemma-trinket
...
Firmware size savings
2020-08-07 10:06:39 -05:00
Yihui Xiong
af1291ec28
dynamically enable or disable QSPI by default
2020-08-07 16:23:42 +08:00
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Taku Fukada
887eb3b6d9
Apply a Sphinx transform to make the core module docs look better
2020-08-07 00:01:31 +09:00
Jerry Needell
f7961b96a9
update comment
2020-08-06 10:05:18 -04:00
Jerry Needell
c42ffb8f3d
remove usb_hid
2020-08-06 05:44:26 -04:00
Yihui Xiong
d8257380d7
add qspi_disable()
2020-08-06 09:56:05 +08:00
Jeff Epler
16170d44ab
Merge pull request #3248 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-08-05 20:53:54 -05:00
Jonny Bergdahl
c69dd3c32b
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (786 of 786 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-08-05 22:32:49 +02:00
Lucian Copeland
78d049d0f1
Fix pwm reset spew, protect against null reference in led status
2020-08-05 14:05:53 -04:00
Jerry Needell
432f43a472
freeze rfm9x and BusDevice, remove many built-in modules
2020-08-05 11:37:57 -04:00
Yihui Xiong
7854625c4e
avoid using the RGB LEDs to save energy
2020-08-05 16:08:13 +08:00
Yihui Xiong
dbe47a6a2a
adjust
2020-08-05 16:07:18 +08:00
sommersoft
3a95480178
conf.py: also include 'rc' versions for sphinx versioning
2020-08-04 21:05:03 -05:00
sommersoft
d8d36a4fb0
conf.py: set the version for sphinx, based on the current git tag
2020-08-04 20:55:20 -05:00
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Lucian Copeland
14b3b51c58
Rework build flags, prevent idf errors
2020-08-04 18:40:24 -04:00
Jeff Epler
6669cedf5b
make translate
2020-08-04 14:45:45 -05:00
Jeff Epler
65e26f4a06
py: mp_obj_get_type_qstr as macro saves 24 bytes
2020-08-04 14:45:45 -05:00
Jeff Epler
c0b32976e8
libm: rem_pio2: Reduce size of static array
...
This array was of 32-bit values, but the entries were only ever
in the 0-255 range. Convert to uint8_t.
Testing performed: The result of the sum-of-sin was unchanged
>>> import math; sum(math.sin(2.**i) for i in range(21))
1.42069
2020-08-04 14:45:45 -05:00
Jeff Epler
d3fb6c96da
libm: ef_rem_pio2.c: Save ROM-tables at the expense of speed
...
This function computes the remainder of a value `x` modulo pi/2, to high
precision.
It does this by dividing the flotaing point values into several ranges
by magnitude, and applies successively slower but more accurate algorithms.
The last two steps, one covering values up to around 2^7 * pi/2
(called "medium size") and a final one covering all possible float values,
require big tables.
By eliminating the "medium size" case, a table and some code are removed
from the binary. This makes some cases take longer, but saves hundreds
of bytes. It does _NOT_ affect the result, only the speed.
```
[desktop python]
>>> sum(math.sin(2.**i) for i in range(21))
1.4206898748939305
[trinket m0, before change to ef_rem_pio2.c]
>>> sum(math.sin(2.**i) for i in range(21))
1.42069
[trinket m0, after change to ef_rem_pio2.c]
>>> sum(math.sin(2.**i) for i in range(21))
1.42069
```
2020-08-04 14:45:45 -05:00
Jeff Epler
710c2dc54b
safe_mode: Exclude NORDIC_SOFT_DEVICE_ASSERT str if possible
2020-08-04 14:45:45 -05:00
Jeff Epler
d92a77fdd3
main: Allow these arrays to reside in ROM
...
The missing second "const" made these mutable arrays pointing to
const string data.
2020-08-04 14:45:45 -05:00
Jeff Epler
a85b6441fc
main: Drop "double extension" detection if not FULL_BUILD
...
This saves nearly 200 bytes. Curiously, it also saves RAM.
2020-08-04 14:45:45 -05:00
Jeff Epler
024c8da578
Combine some "can't convert" messages
2020-08-04 14:45:45 -05:00
Jeff Epler
d0427cf60c
Combine some "safe mode" messages
2020-08-04 14:45:45 -05:00
Jeff Epler
c849b781c0
Combine 'index out of range' messages
2020-08-04 14:45:45 -05:00
Jeff Epler
89797fd3f9
various: Use mp_obj_get_type_qstr more widely
...
This removes runtime allocations of the cstring version of the qstring.
It is not a size improvement
2020-08-04 14:45:45 -05:00
Jeff Epler
c37a25f0e5
Use qstrs to save an additional 4 bytes
2020-08-04 14:45:45 -05:00
Jeff Epler
92917b84f1
fix exception type for pop from empty set
2020-08-04 13:58:29 -05:00
Jeff Epler
67eb93fc98
py: introduce, use mp_raise_msg_vlist
...
This saves a very small amount of flash, 8 bytes on trinket_m0
2020-08-04 13:34:29 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Yihui Xiong
6dc0f4f1b6
add an option to turn off QSPI when sleep
2020-08-05 01:10:58 +08:00
Taku Fukada
9582cc5bd5
Add make check-stubs
for validating Python stubs
2020-08-04 20:41:34 +09:00