Commit Graph

26053 Commits

Author SHA1 Message Date
Jonny Bergdahl
3802362e14
Translated using Weblate (Swedish)
Currently translated at 100.0% (1028 of 1028 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-25 01:02:29 +01:00
Dan Halbert
95c09ac66f
Merge pull request #5610 from tannewt/rpi
Initial broadcom port for Raspberry Pi
2021-11-24 19:02:23 -05:00
Hosted Weblate
0fe8b9fb18
Merge remote-tracking branch 'origin/main' 2021-11-25 00:51:17 +01:00
Wellington Terumi Uemura
7dca46b0b4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1028 of 1028 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-25 00:51:17 +01:00
Scott Shawcroft
b45ef42c12
Merge pull request #5617 from tannewt/shrink_arduino
Shrink 3 SAMD builds by disabling onewireio
2021-11-24 15:51:11 -08:00
Scott Shawcroft
e6a68cc4a7
Shrink 3 SAMD builds by disabling onewireio 2021-11-24 14:27:49 -08:00
Scott Shawcroft
ee5536386d
Merge remote-tracking branch 'adafruit/main' into rpi 2021-11-24 14:23:23 -08:00
Hosted Weblate
991eb35c7e
Merge remote-tracking branch 'origin/main' 2021-11-24 20:50:34 +01:00
Scott Shawcroft
153ff6031e
Merge pull request #5616 from jepler/bitmaptools-bugfixes
Bitmaptools bugfixes
2021-11-24 11:50:29 -08:00
Hosted Weblate
726ebdf43b
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-11-24 20:42:00 +01:00
Hosted Weblate
6db3161548
Merge remote-tracking branch 'origin/main' 2021-11-24 20:41:57 +01:00
Scott Shawcroft
b09c777d0a
Merge pull request #5584 from gamblor21/is31
IS31FL3741 Framebuffer Driver
2021-11-24 11:41:51 -08:00
Scott Shawcroft
a55c2ae8a7
Print git log on tag failure 2021-11-24 11:24:23 -08:00
Jeff Epler
ddf24772c3
tests: move bitmaptools files to their own directory 2021-11-24 09:53:19 -06:00
Jeff Epler
30c07a772f
bitmaptools: dither: get rid of shifts
this happens to make the occasional FS dither artifact disappear.
I guess `a * b >> 8` and `(a * b) / 256` are not identical.  I'm not
sure if it was just the parens or not, but write the clearer code and
rely on the compiler to substitute an appropriate shift if possible.
2021-11-24 09:51:24 -06:00
Jeff Epler
9af76a2f03
bitmaptools dither: Fix off-by-one error filling row data 2021-11-24 09:51:23 -06:00
Jeff Epler
6191696232
bitmaptools: Fix the DitgherAlorithm.FloydStenberg value 2021-11-24 09:51:19 -06:00
Dan Halbert
2abd51274a empty commit 2021-11-24 10:00:05 -05:00
Dan Halbert
2afe599811
Add missing include for zero2w pins.c 2021-11-24 09:43:06 -05:00
Scott Shawcroft
927a720de9
Fix I2C and feedback from Dan 2021-11-23 17:23:13 -08:00
gamblor21
97032fdbd0 Renaming files 2021-11-23 17:21:13 -06:00
gamblor21
9f2660f6ac Capitalization changes 2021-11-23 17:06:39 -06:00
gamblor21
9b85714b76 Removed unused imports 2021-11-23 13:24:36 -06:00
gamblor21
fc3b0340b5 Remove hard coded mapping of LEDs 2021-11-23 13:21:09 -06:00
gamblor21
f7df39ef88 Re-enable on microbit v2 2021-11-23 13:20:00 -06:00
Hosted Weblate
4e8a1ee2c6
Merge remote-tracking branch 'origin/main' 2021-11-23 19:32:54 +01:00
Scott Shawcroft
af2ac0aa60
Merge pull request #5602 from aivarannamaa/skip-main-script-in-raw-mode-soft-reboot
Don't run main script when soft-rebooting in raw mode
2021-11-23 10:32:48 -08:00
Hosted Weblate
39eefc62f5
Merge remote-tracking branch 'origin/main' 2021-11-23 19:26:48 +01:00
Scott Shawcroft
565bfeb28e
Merge pull request #5611 from jepler/issue5588
Don't use reset reason to skip writing boot_out.txt
2021-11-23 10:26:39 -08:00
Jeff Epler
f495ea4760
Don't use reset reason to skip writing boot_out.txt
As @neradoc and @anecdata noted, we can't depend on the reset reason.

Instead, just rely on the existing safe mode logic (the write already is
skipped anytime boot.py was skipped), and otherwise potentially write
boot_out.txt anytime it differs from the version on disk (or if the file
doesn't exist in the first place)

Testing performed: On qtpy m0 haxpress, removed boot_out.txt and clicked
reset button.  verified boot_out.txt was recreated.

Closes #5588
2021-11-23 10:51:21 -06:00
Timon
a1052d5f73
Initial broadcom port for Raspberry Pi
This targets the 64-bit CPU Raspberry Pis. The BCM2711 on the Pi 4
and the BCM2837 on the Pi 3 and Zero 2W. There are 64-bit fixes
outside of the ports directory for it.

There are a couple other cleanups that were incidental:
* Use const mcu_pin_obj_t instead of omitting the const. The structs
  themselves are const because they are in ROM.
* Use PTR <-> OBJ conversions in more places. They were found when
  mp_obj_t was set to an integer type rather than pointer.
* Optimize submodule checkout because the Pi submodules are heavy
  and unnecessary for the vast majority of builds.

Fixes #4314
2021-11-22 14:54:44 -08:00
Aivar Annamaa
e8c809e594
Fix formatting 2021-11-22 23:45:28 +02:00
Aivar Annamaa
0c4597f387
Move friendly REPL check to main function 2021-11-22 21:28:39 +02:00
Hosted Weblate
f37ac95bef
Merge remote-tracking branch 'origin/main' 2021-11-22 20:02:47 +01:00
Scott Shawcroft
387a8a46b3
Merge pull request #5605 from jepler/bitmaptools-bugfixes
Bitmaptools bugfixes
2021-11-22 11:02:40 -08:00
Hosted Weblate
eada903a71
Merge remote-tracking branch 'origin/main' 2021-11-22 18:38:23 +01:00
Dan Halbert
40a00c1e53
Merge pull request #5608 from microDev1/traceback
Traceback object init - set it to empty only if null
2021-11-22 12:38:18 -05:00
microDev
ed9595a9be
traceback object init - set it to empty only if null 2021-11-22 21:38:02 +05:30
gamblor21
c38612d59d Fixed capitalization 2021-11-21 11:39:42 -06:00
gamblor21
5337e45411 Only enable if not disabled 2021-11-21 11:39:42 -06:00
Jeff Epler
711f1f833b
bitmaptools: Fix the case where factor's Python type is int
mp_obj_float_get gets the value of an object, which must be
exactly a float.  mp_obj_get_float gets the float value of
an object of various types, including floats & ints.
2021-11-20 21:15:26 -05:00
Jeff Epler
492402f23f
these must be treated as manual tests for now 2021-11-20 21:14:31 -05:00
Jeff Epler
db44df5dbf
blend & dither tests 2021-11-20 21:13:56 -05:00
gamblor21
5243a33584 Check map to display size 2021-11-20 14:04:49 -06:00
gamblor21
16c52b76d6 Capitalize module 2021-11-20 14:04:49 -06:00
gamblor21
6d412e20c4 Disabling from some boards 2021-11-20 14:04:49 -06:00
gamblor21
6b2d43d3c8 Mapping for LEDs to diplay 2021-11-20 14:04:49 -06:00
gamblor21
9fa3feffb1 Cleanup 2021-11-20 13:46:12 -06:00
gamblor21
2f277eba3e Cleanup and i2c fix 2021-11-20 13:46:12 -06:00
gamblor21
e877449ae0 Cleanup 2021-11-20 13:46:12 -06:00