Scott Shawcroft
db0adf1253
Merge pull request #5025 from DavePutz/issue_5016
...
Turn off PWM pin during PulseOut construct
2021-07-20 17:25:10 -07:00
Scott Shawcroft
fece0fb432
Fix crash when UART construct fails
...
After the script stops with the exception thrown the final gc_sweep
will call any finalizers and they usually call deinit. deinit on
invalid objects can wreak havoc by changing random memory or
(hopefully) crashing. This fixes ensures the object is deinited
until initialization succeeds and the object is valid.
Do the same fix for I2C and SPI too.
Fixes #4700 and fixes #5005
2021-07-20 17:15:19 -07:00
root
8fe4fa0114
Turn off PWN pin during PulseOut construct
2021-07-20 17:17:41 -05:00
Dan Halbert
0293ec261a
Update pico-sdk to 1.2.0, using raspberrypi repo
2021-07-20 17:31:29 -04:00
Dan Halbert
ce7301527a
Merge pull request #5024 from tannewt/rp2_ble_wait
...
Don't blink blue on non-BLE workflow boards
2021-07-19 23:51:27 -04:00
Scott Shawcroft
f8290e746b
Don't blink blue on non-BLE workflow boards
...
This includes any boards that have _bleio implemented via HCI.
Fixes #4969
2021-07-19 18:40:37 -07:00
Dan Halbert
5e773b863f
Merge pull request #4793 from kmatch98/funhouse_spi_speed
...
reduce SPI display baudrate from 60 MHz to 5 MHz to eliminate display glitch
2021-07-19 18:24:48 -04:00
Dan Halbert
b8fba2dd6f
Merge pull request #5022 from dhalbert/2021-07-19-update-frozen-libs
...
update frozen libs, especially CircuitPlayground
2021-07-19 18:21:59 -04:00
Dan Halbert
128bedae7e
Merge pull request #5019 from DavePutz/issue_5016
...
Ensure RP2040 pin is left low after PulseOut
2021-07-19 17:57:42 -04:00
Dan Halbert
24d3fced2f
update frozen libs, especially CP
2021-07-19 17:06:41 -04:00
Dan Halbert
d2f2afe57b
Merge pull request #4925 from microDev1/update-run-mode
...
Add RunMode.UF2 and update esp32s2 run-modes
2021-07-19 16:37:46 -04:00
Dan Halbert
b228891682
Merge pull request #5017 from jepler/ondiskbitmap
...
OnDiskBitmap improvements
2021-07-19 15:55:39 -04:00
Jeff Epler
9a373c4fb9
Merge pull request #4961 from dhalbert/restore-1970-epoch
...
Restore default epoch to 1970
2021-07-19 14:51:08 -05:00
root
8d79d4e5ee
Ensure pin is left low after PulseOut
2021-07-19 11:46:09 -05:00
Jeff Epler
7896bf7fa3
fix stubs
2021-07-19 10:35:17 -05:00
Jeff Epler
1bbe7282e0
OnDiskBitmap: Allow a filename to be passed to the constructor
...
.. eventually we'll phase out the old way of constructing with an
open file, but this allows for compatibility between 6.x and 7.0.
2021-07-19 10:08:40 -05:00
Jeff Epler
2556fce862
OnDiskBitmap: Fix memory corruption when using palette image
...
The number of palette entries set was accidentally 4x too much,
because the wrong looping variable was used.
2021-07-19 09:25:26 -05:00
microDev
3c25d8e2a0
Merge pull request #5013 from DavePutz/issue_5012
...
Issue #5012 - RP2040 moved globals to PulseIn object to fix multiple instances
2021-07-19 00:21:55 +05:30
root
43275e0b0d
Made suggested changes (mostly)
2021-07-18 12:00:37 -05:00
microDev
40b085746a
Merge pull request #5006 from tannewt/scanentry_match_all
...
ScanEntry.matches() kwarg all -> match_all
2021-07-18 09:45:58 +05:30
Dan Halbert
2afd3c2d6b
Merge pull request #5015 from dhalbert/fix-build.yml-stub-upload
...
fix stubs upload conditionals
2021-07-17 22:59:40 -04:00
microDev
9ac607dffa
update run-mode
...
- add microcontroller.RunMode.UF2
- add UF2, NORMAL and BOOTLOADER run-modes to esp32s2
2021-07-18 00:00:58 +05:30
Dan Halbert
f748bf0c67
fix stubs upload conditionals
2021-07-16 23:26:19 -04:00
Dan Halbert
50a8e995ff
Merge pull request #5007 from tannewt/samd_pin_reset
...
Remove MICROPY_PORT_* macros used for never reset
2021-07-16 18:29:30 -04:00
root
1c80696746
iFix formatting
2021-07-16 17:18:06 -05:00
Dan Halbert
1d1b80f4c1
Merge pull request #5011 from dhalbert/keypad-eventqueue-typos
...
Correct type name for EventQueue; EventQueue.overflowed not accessible
2021-07-16 18:07:19 -04:00
Dan Halbert
8e0eb2fd63
Merge pull request #5010 from kattni/pixelbuf-rename
...
Rename _pixelbuf to adafruit_pixelbuf, alias.
2021-07-16 16:59:47 -04:00
root
588a19a1ab
Issue #5012 - Moved globals to PulseIn object to fix multiple instances
2021-07-16 15:59:08 -05:00
Dan Halbert
e958757e15
fix xtensa cache key
2021-07-16 16:58:04 -04:00
Kattni Rembor
11b5873235
Update idf key.
2021-07-16 14:59:30 -04:00
Dan Halbert
e785ddfd6f
Correct type name for EventQueue; EventQueue.overflowed not accessible
2021-07-16 14:51:58 -04:00
Scott Shawcroft
bba611336c
Merge pull request #4964 from DavePutz/issue_4937
...
Fix for issue #4937 - Implement minimum PulseOut time
2021-07-16 11:29:32 -07:00
Scott Shawcroft
e042d54702
Fix three boards and xtensa cache key
2021-07-16 11:15:05 -07:00
Kattni Rembor
c21e16162c
Remove _ from common_hal__adafruit_pixelbuf.
2021-07-16 14:08:39 -04:00
Kattni Rembor
dc2907ac1b
Rename _pixelbuf to adafruit_pixelbuf, alias.
2021-07-16 13:31:40 -04:00
root
eebddbb16d
Change min pulse calculation
2021-07-15 21:27:23 -05:00
Scott Shawcroft
ca2cb9af2b
Remove MICROPY_PORT_* macros used for never reset
...
Now we use never_reset which is generally more correct and easier
to get right.
Fixes #5001 and fixes #4997
2021-07-15 16:20:04 -07:00
Scott Shawcroft
448597b4a0
ScanEntry.matches() kwarg all -> match_all
...
Related to #3007
2021-07-15 14:36:57 -07:00
Scott Shawcroft
c16f559574
Merge pull request #4907 from jepler/refine-stubs
...
refine stubs-building procedure
2021-07-15 12:11:58 -07:00
Dan Halbert
698a392cf1
Merge pull request #4762 from Neradoc/small-timestamps-if-epoch-2000
...
time.localtime: low timestamps when epoch is 2000
2021-07-15 15:08:09 -04:00
Jeff Epler
e528d8dac3
Merge pull request #5002 from tannewt/microbitv2
...
Create first BLE-only board, Micro:Bit v2
2021-07-15 14:02:35 -05:00
Jeff Epler
0bb21c7793
Merge pull request #5003 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-07-15 13:59:37 -05:00
Scott Shawcroft
4d3a355f0a
Tweak blink and treat SWD reset like reset button
2021-07-14 16:45:47 -07:00
Scott Shawcroft
e0919c4b9c
Install intelhex on windows CI
2021-07-14 10:47:03 -07:00
Hosted Weblate
fe12847afc
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-07-14 19:30:06 +02:00
Lucian Copeland
e3bc800bbc
Merge pull request #4999 from hierophect/esp-timer-leak
...
ESP32S2: Fix PWM timer leak and variable frequency conflicts
2021-07-14 13:29:56 -04:00
Scott Shawcroft
0fadf028ef
Create first BLE-only board, Micro:Bit v2
...
This fixes build issues with USB off, tweaks the README to allow
for BLE-only boards and adds the Micro:Bit v2 definition.
Fixes #4546
2021-07-14 09:55:51 -07:00
Scott Shawcroft
e7c5165ff6
Merge pull request #4994 from bobthechemist/atmel-samd-analogio-deinit
...
added pin object to analogout
2021-07-13 18:13:11 -07:00
Lucian Copeland
c504a85ecc
Add shared bindings check for invalid frequency
2021-07-13 18:22:43 -04:00
Lucian Copeland
bd39641f7e
Fix PWM timer leak and varfreq conflicts
2021-07-13 18:05:47 -04:00