Commit Graph

26037 Commits

Author SHA1 Message Date
Dan Halbert
f695b14e93
Merge pull request #5700 from dhalbert/update-frozen-7.1.x-beta.2
update frozen libraries for 7.1.x-beta.2
2021-12-10 09:52:39 -05:00
Dan Halbert
02dca8b66a update frozen libraries for 7.1.x-beta.2 2021-12-10 08:35:40 -05:00
Dan Halbert
8bd35d9542
Merge pull request #5688 from jepler/issue5600
sdcardio: Don't require reaching idle state during early init
2021-12-09 08:32:28 -05:00
Jeff Epler
bc9ef87d05
print addl debug message 2021-12-08 21:03:06 -06:00
Jeff Epler
11c573ef95
sdcardio: Don't require reaching idle state during early init
.. which is what the addition of cmd25 made happen. We still signal
an error when failing to reach the idle state at any other time,
which _is_ different than adafruit_sdcard but I think that it is
correct.

This fixed #5600 according to Dan's testing on a GCM4 on the internal
SD card slot. There are still some ambiguous results on the MM4 with
external SD card slot on 6" jumper wires.
2021-12-08 21:03:03 -06:00
Scott Shawcroft
cd47941c70
Merge pull request #5687 from tannewt/more_shas
Three more sha spots for CI
2021-12-08 15:00:43 -08:00
Scott Shawcroft
a06e41a23c
Three more sha spots for CI 2021-12-08 13:48:38 -08:00
Scott Shawcroft
3c8a05ebbf
Merge pull request #5673 from CytronTechnologies/add-maker-nano-rp2040-7.1.x
Add new board Maker Nano RP2040 to branch 7.1.x.
2021-12-08 10:33:57 -08:00
Scott Shawcroft
bf08f62d37
Merge pull request #5683 from dhalbert/restore-bleio-hci-background
restore BLEIO HCI background task
2021-12-08 10:31:42 -08:00
Dan Halbert
7bcfbe30bf shrink some boards 2021-12-08 11:57:15 -05:00
Kong Wai Weng
5756eaf977 empty commit 2021-12-08 13:52:48 +08:00
Dan Halbert
637cc23ab5
Merge pull request #5681 from tannewt/fix_ci_versioning
Pass ci_fetch_deps.py the sha rather than ref
2021-12-07 22:57:44 -05:00
Dan Halbert
474986ff40 restore BLEIO HCI background task 2021-12-07 22:39:17 -05:00
Scott Shawcroft
981e3705b8
Pass ci_fetch_deps.py the sha rather than ref
The remote ref may be out of date and not get the right branch
history in some cases. actions/checkout also fetches based on sha
2021-12-07 15:57:06 -08:00
Scott Shawcroft
574039391e
Merge pull request #5665 from dhalbert/frequencyio-fix
add a frequencyin_reset() for VM restart
2021-12-07 13:44:06 -08:00
Dan Halbert
e0e3224253 forgot a check for BOARD_HAS_CRYSTAL 2021-12-07 15:42:31 -05:00
Dan Halbert
6413e492fa empty commit 2021-12-07 13:17:59 -05:00
Dan Halbert
7e21344cf0 fix FrequencyIn for crystalless boards and simplify clock logic 2021-12-07 13:12:24 -05:00
Scott Shawcroft
8d406e006b
Merge pull request #5670 from dhalbert/fix-blacken-update-formatting-issues-7.1.x
minor .py changes due to blacken update - 7.1.x
2021-12-06 13:22:19 -08:00
Scott Shawcroft
be1d1d2594
Merge pull request #5667 from dhalbert/rp2-pwmout-counter-fix
fix mistaken use of PWM channel for slice
2021-12-06 13:12:58 -08:00
Dan Halbert
d02ea8860e empty commit 2021-12-06 10:42:38 -05:00
Kong Wai Weng
ee1987d34b Added Maker Nano RP2040 to branch 7.1.x. 2021-12-06 23:12:53 +08:00
Dan Halbert
c43e0bd2db uncrustify fixes 2021-12-06 09:54:15 -05:00
Dan Halbert
da1c330d99 formatting updates for updated black 2021-12-06 08:40:54 -05:00
Dan Halbert
4a4c5d7ab8 formatting updates for updated black 2021-12-05 21:37:00 -05:00
Dan Halbert
5fe4c3bec9 fix mistaken use of PWM channel for slice 2021-12-05 21:16:46 -05:00
Dan Halbert
92bb909bf0 add a frequencyin_reset() for VM restart 2021-12-05 17:06:42 -05:00
Dan Halbert
4de6c7cf6f
Merge pull request #5656 from dhalbert/rp2040-i2c-zero-write-bitbang-timeout
Use a longer clock stretching timeout for RP2040 zero-byte I2C writes
2021-12-04 19:40:48 -05:00
Dan Halbert
36c1e8c7ee
Merge pull request #5663 from FoamyGuy/rp2040_nvm_fix
disable interrupts inside of ports raspberrypi common hal
2021-12-04 19:38:57 -05:00
foamyguy
fa37ee6484 limit disable interrupts to flash calls 2021-12-04 14:14:23 -06:00
foamyguy
5e7c1328b0 disable interrupts inside of write_page and erase_write_sector 2021-12-04 12:21:51 -06:00
foamyguy
f49271b472 disable interrupts inside of ports raspberrypi common hal 2021-12-04 11:34:49 -06:00
Dan Halbert
d486284d5d
Merge pull request #5657 from pewpew-game/pygamer-pybadge-lite
Update Stage to 1.2.3 to work around display backlight problems
2021-12-04 11:33:39 -05:00
Radomir Dopieralski
840e8b40f3 Update Stage to 1.2.3 to work around display backlight problems
Works around #5476
2021-12-04 10:25:05 +01:00
Dan Halbert
80abd2d645 Use a longer clock stretching timeout for RP2040 zero-byte I2C writes 2021-12-03 18:19:13 -05:00
Kattni
553d2253b0
Merge pull request #5652 from kattni/kb2040-pin-reorder
Update pin order to match silk.
2021-12-03 12:24:09 -05:00
Kattni Rembor
3b6011d551 Update pin order to match silk. 2021-12-03 11:40:40 -05:00
Scott Shawcroft
543e4d8c4d
Merge pull request #5648 from tannewt/rpi_pin_mux
Add full pin mux info and use it for I2C
2021-12-02 10:46:46 -08:00
Scott Shawcroft
8adb0ecd33
Fix loop bounds 2021-12-02 10:28:26 -08:00
Jeff Epler
5797b68153
Merge pull request #5649 from microDev1/traceback
Run test for traceback module
2021-12-02 08:51:53 -06:00
Jeff Epler
3908d4b2c6
Merge pull request #5647 from jepler/issue5493
UART: Don't allocate the object so early
2021-12-02 08:40:52 -06:00
microDev
69faaa52b8
run test for traceback module 2021-12-02 14:55:02 +05:30
Jeff Epler
f94d3e86cf
UART: Don't allocate the object so early
This object has a finalizer, so once it's no longer referenced, GC can
call that finalizer and then deallocate the storage.

In the case of a failure during construction (e.g., when checking
`validate_obj_is_free_pin_or_none`) this will happen on an incompletely
initialized structure.  On samd, in particular, a newly allocated object
(with construct never called) appears to be valid, so GC collecting it
causes deinit() to do things, leading to a hard fault.

The double creation of the UART object was necessary specifically so that
the second allocation would fail.  Probably there were other (single
call) ways to make it fail, but this was the easiest / the one discovered
in real life.

Closes: #5493
2021-12-01 20:54:39 -06:00
Scott Shawcroft
2433c9572c
Add full pin mux info and use it for I2C
All I2C peripherals should be usable now. This also adds pin
in-use tracking and resetting.

Part of #5629
2021-12-01 17:19:57 -08:00
Scott Shawcroft
b83e09858f
Merge pull request #5636 from dhalbert/fix-circuitpython-org-pr
Fix ci_fetch_deps.py for website PR generation
2021-12-01 10:10:09 -08:00
Scott Shawcroft
8cf269d2a0
Merge pull request #5634 from dhalbert/board_deinit
board_deinit() everywhere
2021-12-01 10:09:14 -08:00
Scott Shawcroft
fea0103ff2
Merge pull request #5638 from jepler/test-aesio
Test aesio
2021-12-01 10:05:37 -08:00
Scott Shawcroft
39cc38e008
Merge pull request #5641 from jepler/bitbangio-spi-write-slice
bitbangio.SPI: Handle kwargs like busio.SPI
2021-12-01 09:56:04 -08:00
Scott Shawcroft
932e6992b4
Merge pull request #5642 from jepler/update-ulab
Update ulab to 3.3.7
2021-12-01 09:55:23 -08:00
Jeff Epler
1b87d2bc39
Update ulab to 3.3.7
Closes: #5609
2021-11-30 19:56:26 -06:00