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
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
Hosted Weblate
21d5b0096e
Merge remote-tracking branch 'origin/main' into main
2021-05-22 19:58:37 +02:00
Jonny Bergdahl
9d017ae883
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-22 19:58:37 +02:00
Wellington Terumi Uemura
34c2701e5d
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-22 19:58:36 +02:00
Alvaro Figueroa
262ad3dce0
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-22 19:58:36 +02:00
Limor "Ladyada" Fried
7df5d74d95
Merge pull request #4802 from BlitzCityDIY/main
...
Adding Arduino Nano RP2040 Connect
2021-05-22 13:58:28 -04:00
lady ada
2e90d5ed07
clang a bit
2021-05-22 12:39:42 -04:00
lady ada
d52f149e84
add ESP CS pin to make wifi demos easier
2021-05-22 12:22:28 -04:00
lady ada
ac855afb48
Some pin neatening and updated PID to unused Adafruit one!
2021-05-22 11:57:46 -04:00
Jonny Bergdahl
38177aff33
Removed 'raw' from error message 'raw in'
2021-05-22 12:36:28 +02:00
BlitzCityDIY
14dbec7c04
Merge branch 'main' of https://github.com/blitzcitydiy/circuitpython into main
2021-05-22 01:02:21 -04:00
BlitzCityDIY
9f4eb48e70
Updating MISO
...
While testing WIFI realized MISO was defined incorrectly
2021-05-22 01:02:06 -04:00
BlitzCityDIY
352281e23e
Adding Arduino Nano RP2040 Connect
...
Re-commiting to fix local GitHub config issues. Adding CircuitPython support for the Arduino Nano RP2040 Connect. Have tested all digital and analog I/O, I2C, onboard LSM6DSOX. Uses the AT25SF128A external flash.
2021-05-21 20:44:11 -04:00