Commit Graph

19616 Commits

Author SHA1 Message Date
Jonny Bergdahl
48c486807b
Translated using Weblate (Swedish)
Currently translated at 100.0% (975 of 975 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-03-09 17:55:57 +01:00
Wellington Terumi Uemura
d1e3626460
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (975 of 975 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-03-09 17:55:57 +01:00
Hosted Weblate
f83465e371
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/
2021-03-09 02:49:53 +01:00
Hosted Weblate
f6fe8440d0 Merge remote-tracking branch 'origin/main' into main 2021-03-09 02:49:51 +01:00
hexthat
183fbbfe23
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (974 of 974 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-03-09 02:49:51 +01:00
Scott Shawcroft
775f1b9e0d
Merge pull request #4329 from jepler/rp2-rotaryio
raspberrypi: Implement rotaryio, improve StateMachine
2021-03-08 17:49:45 -08:00
Scott Shawcroft
4fc6c7d8c9
Merge pull request #4347 from FBSeletronica/franzininhoWIFI
Adding Circuitpython port for Franzininho WIFI board with the ESP32-S2 wroom module
2021-03-08 15:37:42 -08:00
Scott Shawcroft
b5a955a168
Merge pull request #4354 from jepler/disable-fat-partition
circuitpy_mpconfig: Disable flash multi-partition
2021-03-08 15:25:58 -08:00
Jeff Epler
240909ed57
Merge pull request #4359 from dhalbert/usb_cdc-connect-doc-note
Add caveat for usb_cdc.Serial.connected; fix another doc bug
2021-03-08 15:59:57 -06:00
Jeff Epler
88542e1826
Merge pull request #4355 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-08 09:36:53 -06:00
Hosted Weblate
069cf60138 Merge remote-tracking branch 'origin/main' into main 2021-03-08 14:02:52 +01:00
Jeff Epler
16f82b9797
Merge pull request #4358 from jepler/count-flash-devices
Automatically count EXTERNAL_FLASH_DEVICES
2021-03-07 21:20:18 -06:00
Jeff Epler
cdb0fda72a Merge remote-tracking branch 'origin/main' into count-flash-devices 2021-03-07 20:26:04 -06:00
Dan Halbert
24ac8152dd Clarify further; fix type error 2021-03-07 20:32:59 -05:00
Dan Halbert
1a6c021239 Add clarifying comment re carriage-return char. 2021-03-07 17:04:27 -05:00
Hosted Weblate
b77d0e5736 Merge remote-tracking branch 'origin/main' into main 2021-03-07 22:16:33 +01:00
Jeff Epler
7ab75fa398
Merge pull request #4356 from jerryneedell/jerryn_blackpill_flash
add GD25Q16C flash to BlackPill
2021-03-07 15:16:29 -06:00
Hosted Weblate
e1f8b8a5b8 Merge remote-tracking branch 'origin/main' into main 2021-03-07 21:55:52 +01:00
Jeff Epler
8f64aae9ca
Merge pull request #4357 from kmatch98/displayio_bitmap
refactor displayio set_pixel for use in bitmap_tools
2021-03-07 14:55:48 -06:00
Dan Halbert
a6cb7d7069 Document readline() and readlines() 2021-03-07 15:34:07 -05:00
Dan Halbert
d919b7fa4a fix #4352 2021-03-07 14:13:20 -05:00
Dan Halbert
8594396a07 Add caveat for usb_cdc.Serial.connected 2021-03-07 14:07:07 -05:00
Jeff Epler
32475ce98c Automatically count EXTERNAL_FLASH_DEVICES (mk2)
Instead of counting words in make, which is slightly awful, notice that
possible_devices is local to external_flash.c, so we can declare the array
with an automatic bound, and then get the count as the element-count
(MP_ARRAY_SIZE) of the array.

Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch
a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
2021-03-07 12:51:47 -06:00
Jeff Epler
f1ada8e880 Automatically count EXTERNAL_FLASH_DEVICES 2021-03-07 11:48:39 -06:00
Hosted Weblate
804ab4c1d6 Merge remote-tracking branch 'origin/main' into main 2021-03-07 18:41:29 +01:00
Jeff Epler
103632f444
Merge pull request #4351 from tyomitch/patch-2
[readme] minor clarification / deduplication
2021-03-07 11:41:25 -06:00
jerryneedell
a23129bc49 add GD25Q16C flash to BlackPill 2021-03-07 17:23:39 +00:00
Kevin Matocha
0c012da080 refactor displayio set_pixel for use in bitmap_tools 2021-03-07 11:22:30 -06:00
Hosted Weblate
baeb3e91a6 Merge remote-tracking branch 'origin/main' into main 2021-03-07 17:09:58 +01:00
Jeff Epler
a4133c4545
Merge pull request #4344 from jepler/vm-size-optimizations
Vm size optimizations: Get back 1500 bytes for 3.2% VM speed decrease
2021-03-07 10:09:51 -06:00
Jose David M
1c2a1a672f
Translated using Weblate (Spanish)
Currently translated at 100.0% (974 of 974 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-03-07 16:50:47 +01:00
Jeff Epler
156ee4833a circuitpy_mpconfig: Disable flash multi-partition
This adds some additional code in mkfs which doesn't seem necessary, and
Disabling it saves 172 bytes flash.

Testing performed: Using a Feather M0 Adalogger, checked that
 * an sdcard could still be mounted (using adafruit_sdcard)
 * os.listdir() of "/" and "/sd" worked
 * CIRCUITPY still mounted
2021-03-07 09:37:18 -06:00
Artyom Skrobov
1d33353ed3
[readme] minor clarification / deduplication 2021-03-07 09:19:49 +02:00
FBSeletronica
17aa9ae3f6 Update vendor ID for Espressif ESP32S2 Modules 2021-03-06 18:43:34 -03:00
FBSeletronica
67e598a863 Fix build.yml wifi Franzininho WIFI wroom Board 2021-03-06 18:26:13 -03:00
FBSeletronica
6cf9c5158c adding port for Franzininho WIFI board 2021-03-06 17:15:54 -03:00
Jeff Epler
08e1f926fe
Merge pull request #4346 from jepler/fix-nvm-doc
nvm: fix doc markup
2021-03-06 13:32:09 -06:00
Jeff Epler
b23c5b2d68 nvm: fix doc markup
closes #4336
2021-03-06 07:54:54 -06:00
Jeff Epler
4f040af481 vm: Make the speed-size trade-off compile time settable
.. and enable for all samd21 boards
2021-03-05 18:29:27 -06:00
Jeff Epler
67fb3054b4
Merge pull request #4342 from jamesbowman/main
Enable EVE low-level for Teensy 4.0 and 4.1
2021-03-05 17:25:00 -06:00
Jeff Epler
7b359d7a8a vm: Consolodate all dispatch instructions
Flash savings: 1268 bytes
Performance: 10,000 iteration loop .665 -> .676s (+1.7%)
2021-03-05 16:52:35 -06:00
Jeff Epler
28638df589 vm: cut vmentrytable size
This also adds a bit of code everywhere we DISPATCH(), but the net is
+232 bytes free on Feather M0 Adalogger.

Key assumption: All of the offsets in mp_execute_bytecode fit in 16 bits;
it is not clear whether the compiler will verify this assumption (e.g.,
by warning that a constant will be truncated)
2021-03-05 16:52:35 -06:00
Jeff Epler
d2056a46ee
Merge pull request #4335 from tyomitch/main
[nrf] No need to store `buffer_length` as part of `audiopwmio_pwmaudioout_obj_t`
2021-03-05 15:54:10 -06:00
Jeff Epler
bed96a98d2
Merge pull request #4337 from tyomitch/patch-1
[stm] `curr_pulseout` can be `STATIC`
2021-03-05 15:53:31 -06:00
Jeff Epler
2881699cf9
Merge pull request #4338 from tyomitch/patch-2
[audiocore] `buffer_read` was never used
2021-03-05 15:52:39 -06:00
Dan Halbert
dfcc9c6d8b
Merge pull request #4340 from jepler/fix-ci-failure-info
build.yml: Fix 'Print failure info' to not error
2021-03-05 15:00:50 -05:00
James Bowman
bff585ffd2 Enable EVE low-level for Teensy 4.0 and 4.1 2021-03-05 11:32:58 -08:00
Jeff Epler
cd1f19020f raspberrypi: move landmine Makefile comments 2021-03-05 12:59:55 -06:00
Jeff Epler
f7e42bfebc build.yml: Fix 'Print failure info' to not error
Print Failure Info is for printing differences detected by 'Test all'.  When some other step fails, then "*.exp" doesn't match any files at all, and _this_ step fails too.

We will assume that Github Actions always runs with bash as the shell (as it does today). In this case, we can set the  "nullglob" shell option, so that a non-existent glob expands to nothing, instead of to itself.
2021-03-05 12:50:15 -06:00
Jeff Epler
3c50918adc
Merge pull request #4333 from dhalbert/compile-options-shrink-builds
Shrink the smallest builds with compile options
2021-03-05 10:36:41 -06:00