Commit Graph

23863 Commits

Author SHA1 Message Date
root
a2b220370e Fix formatting issue 2021-05-29 12:26:41 -05:00
root
760e8c77bd Changes to correct repeat playing on a channel 2021-05-29 11:55:10 -05:00
Dan Halbert
96c04b753d
Merge pull request #4827 from jepler/fix-whitespace-uart
fix formatting
2021-05-29 10:28:25 -04:00
Jeff Epler
6b476c19ba fix formatting 2021-05-29 08:10:10 -05:00
Kong Wai Weng
ebe4d90ac3 Updated the copyright information. 2021-05-29 10:12:22 +08:00
Jeff Epler
b0dd0e344c
Merge pull request #4772 from EmergReanimator/atmel-samd
[resolves #4771] DEBUG UART supported on ATMSAME5x
2021-05-28 20:05:06 -06:00
Jeff Epler
a20fbd1284
Merge pull request #4820 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-28 20:04:23 -06:00
Jeff Epler
49db85cb3d Check that select firmwares build on Windows with MSYS2
This configuration is used by @ladyada and more often than it should
we've discovered late that a change introduced problems building
there.

By adding this to regular CI, hopefully we learn about and fix these
issues sooner rather than later.
2021-05-28 16:47:29 -05:00
Kong Wai Weng
ebda9e07f4 Use 4 spaces instead of tab. 2021-05-29 01:04:13 +08:00
Kong Wai Weng
bfcb8c5896 Do not use neopixel as status LED. Also removed the unused definition. 2021-05-29 00:47:14 +08:00
Jeff Epler
193f8b7264 Fixes needed after micropython merges
.. this branch was old and stale, it turns out
2021-05-28 11:13:55 -05:00
Jeff Epler
9df8f235b1 OnDiskBitmap: INCOMPATIBLE CHANGE: Allow them to use palettes
Before, when an OnDiskBitmap was a paletted bitmap type, the palette
was internal to the OnDiskBitmap, and it internally performed the palette
conversion itself.  When using with a tilegrid, a ColorConverter() object
always had to be passed.

Now, an OnDiskBitmap has a "pixel_shader" property.  If the bitmap is
a paletted bitmap type, it is a (modifiable) Palette object.  Otherwise,
it is a ColorConverter() object as before. This allows palette effects
to be applied to paletted OnDiskBitmaps.

Code that used to say:
```python
face = displayio.TileGrid(odb, pixel_shader=displayio.ColorConverter())
```
must be updated to say:
```python
face = displayio.TileGrid(odb, pixel_shader=odb.pixel_shader)
```

Compatible code for 6.x and 7.x can say
```python
face = displayio.TileGrid(odb, pixel_shader=getattr(odb, 'pixel_shader', ColorConverter())
```
2021-05-28 10:53:21 -05:00
Kong Wai Weng
5920ac647a Modified the essential files for Maker Pi RP2040. 2021-05-28 22:42:54 +08:00
Kong Wai Weng
321e5dd16f Use underscore instead of dash for board name. 2021-05-28 18:01:02 +08:00
Hosted Weblate
688d6a9ee1
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-05-28 04:44:49 +02:00
Dan Halbert
fdc7f5f2aa
Merge pull request #4819 from dhalbert/fix-out_report_length
fix check of usb_hid.Device out_report_length
2021-05-27 22:44:42 -04:00
Dan Halbert
e7f82f864a fix check of usb_hid.Device out_report_length 2021-05-27 21:29:38 -04:00
Jeff Epler
9ff6ccba48 remove commented-out code 2021-05-27 11:33:17 -05:00
Kong Wai Weng
da7c74f614 Initial commit. 2021-05-27 18:02:52 +08:00
Dan Halbert
6e71f6099f
Merge pull request #4812 from dhalbert/remove-a-few-boards
Remove non-product Adafruit boards
2021-05-26 18:22:26 -04:00
Dan Halbert
5eb4cc6489 Remove non-product Adafruit boards 2021-05-26 16:01:17 -04:00
Jeff Epler
11288c1c28 esp32s2: Add rgbmatrix support 2021-05-26 11:21:59 -05:00
Jeff Epler
0d7f257eae displayio: Pause rgbmatrix during soft-reset
We can't handle rgbmatrix's interrupts from here until the display is
reinitialized, so set the display as paused.

With this change, I can survive multiple cycles with wifi+rgbmatrix
on an esp32s2.  Before, it usually failed.
2021-05-26 11:18:02 -05:00
Jeff Epler
4de8fa09ab esp32s2: peripherals: store address of timer peripheral in its struct
.. this is helpful if we need to go down to the esp-idf low level
I/O routines
2021-05-26 11:18:02 -05:00
Jeff Epler
60c9a57815 esp32s2: Add pin_number, reset_pin_number needed by rgbmatrix 2021-05-26 11:18:02 -05:00
Jeff Epler
6750d3feab esp32s2: Introduce, use NO_PIN
GPIO_NUM_NC is -1 so it's equivalent to the existing code.
2021-05-26 11:18:02 -05:00
Scott Shawcroft
f26528dfa6
Merge pull request #4808 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-25 19:18:06 -07:00
Hosted Weblate
d78467dd47 Merge remote-tracking branch 'origin/main' into main 2021-05-25 23:13:26 +02:00
Scott Shawcroft
7190b3ee6a
Merge pull request #4798 from dhalbert/hid_devices-gc
gc all pointers in hid_devices properly
2021-05-25 14:13:19 -07:00
root
24e641a834 Fix for Issue #4266 2021-05-25 16:06:00 -05:00
Hosted Weblate
cb6b834d26 Merge remote-tracking branch 'origin/main' into main 2021-05-25 19:41:43 +02:00
hexthat
323b8b7edd
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-05-25 19:41:43 +02:00
Wellington Terumi Uemura
0e10244f2b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-05-25 19:41:42 +02:00
Dan Halbert
d79d68705b
Merge pull request #4763 from jepler/esp32s2-build-memory-info
Add build_memory_info for esp32s2
2021-05-25 13:41:35 -04:00
Jeff Epler
f21eec5fe1 Work for non-psram builds
This is more or less a complete re-organization of the code.

 * Use the actual byte size of the .bin file as the flash size,
   as the algorithm for packing sections into the flash is complicated
 * Match each section to a data region & find the high water mark in the
   region
 * Report on all the RAM regions, separately

Note that elftools is a requirement of esp-idf and so does not need to
be listed in our requirements.txt.
2021-05-25 10:06:31 -05:00
Dan Halbert
0f66832829
Merge branch 'main' into hid_devices-gc 2021-05-24 18:17:52 -04:00
Hosted Weblate
665950c9f6 Merge remote-tracking branch 'origin/main' into main 2021-05-24 23:26:45 +02:00
Scott Shawcroft
0d92558012
Merge pull request #4800 from dhalbert/too-many-hid-devices
Handle too many HID devices properly
2021-05-24 14:26:41 -07:00
Hosted Weblate
a84998adb4 Merge remote-tracking branch 'origin/main' into main 2021-05-24 23:25:09 +02:00
Jonny Bergdahl
cd2530401c
Translated using Weblate (Swedish)
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-24 23:25:08 +02:00
Jose David M
9895fae66e
Translated using Weblate (Spanish)
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-05-24 23:25:08 +02:00
Scott Shawcroft
de89fc7011
Merge pull request #4801 from dhalbert/unlock-board-i2c-on-reset
unlock board.I2C() on reset
2021-05-24 14:25:03 -07:00
Hosted Weblate
3b986e65c4
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-05-24 22:32:57 +02:00
Scott Shawcroft
533a84fe80
Merge pull request #4804 from bergdahl/errormessages-ip
Removed 'raw' from error message 'raw int'
2021-05-24 13:32:50 -07:00
Scott Shawcroft
038c9d6194
Merge pull request #4796 from Neradoc/nera-pwmrgb-status-pimoroni
Enable the PWM status LED on Pimoroni Tiny 2040 and PicoSystem
2021-05-24 13:30:55 -07:00
Scott Shawcroft
cc6f493da2
Merge pull request #4806 from lesamouraipourpre/patch-3
Update comment in persistentcode.c
2021-05-24 13:28:08 -07:00
Scott Shawcroft
6546d1330f
Merge pull request #4805 from lesamouraipourpre/patch-2
Docs: Incompatible .mpy file
2021-05-24 13:27:22 -07:00
Scott Shawcroft
186d382a61
Merge pull request #4795 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-24 13:19:33 -07:00
James Carr
61a7212b28
Update comment in persistentcode.c
Update comment in mp_raw_code_save so that it matches the code.
2021-05-23 08:57:41 +01:00
James Carr
c665eb9bb5
Incompatible .mpy file
Update the *ValueError: Incompatible .mpy file* section for the upcoming 6 to 7 transition.
2021-05-23 08:51:35 +01:00