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
gamblor21
aa92d3a476
Cleanup and scaling addition
2021-11-20 13:46:11 -06:00
gamblor21
29c58575b0
Removed prints updated brightness
2021-11-20 13:46:11 -06:00
gamblor21
d063bf2675
Initial commit for IS31
2021-11-20 13:46:11 -06:00
Jeff Epler
f4e68e8fae
use mp_get_stream_raise, it's more specific
2021-11-20 08:53:04 -05:00
Jeff Epler
de455b5c4e
Add bitmap loading test
2021-11-20 08:52:18 -05:00
Jeff Epler
ee5e7161af
bitmaptools: use stream API
...
this allows `readinto` to succeed in the unix port, where the VFS
is not FAT
2021-11-20 08:51:40 -05:00
Jeff Epler
dca696dec1
some test images for bitmaptools
2021-11-20 08:31:17 -05:00
Clay
c927dd1ddf
Translated using Weblate (Russian)
...
Currently translated at 35.1% (361 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-19 13:53:13 +01:00
Jonny Bergdahl
07317e3807
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1026 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-19 13:53:12 +01:00
Wellington Terumi Uemura
51c28f67ca
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1026 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-19 13:53:12 +01:00
Jeff Epler
932131b4ff
Merge pull request #5596 from kamtom480/camera_fix
...
camera: Update camera_make_new arguments
2021-11-18 09:06:50 -05:00
microDev
4fefb71b9f
Merge pull request #5599 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2021-11-18 14:31:18 +05:30
Aivar Annamaa
146e8830f9
Don't run main script when soft-rebooting in raw mode
2021-11-18 10:21:51 +02:00
Hosted Weblate
9dff70adb2
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-17 19:26:47 +01:00
Hosted Weblate
6296a73aa9
Merge remote-tracking branch 'origin/main'
2021-11-17 19:26:45 +01:00