Commit Graph

7673 Commits

Author SHA1 Message Date
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
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
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
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
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
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
80abd2d645 Use a longer clock stretching timeout for RP2040 zero-byte I2C writes 2021-12-03 18:19:13 -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
microDev
69faaa52b8
run test for traceback module 2021-12-02 14:55:02 +05:30
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
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
Dan Halbert
e8ea9c75a1 check for missing pins; deinit txrx leds 2021-11-30 19:16:21 -05:00
Jeff Epler
1f1def54b7
add aesio to unix coverage build 2021-11-30 15:25:05 -06:00
Dan Halbert
57c33059f3 board_deinit() everywhere 2021-11-30 11:00:10 -05:00
Kamil Tomaszewski
9a8d8b1bf1 spresense: Fix time.time() 2021-11-30 12:38:48 +01:00
Kattni Rembor
c13f1d19f5 Update pins to silk pin first. 2021-11-29 17:56:03 -05:00
lady ada
83de740d1f kan prezz 2021-11-26 15:13:58 -05:00
lady ada
c56e33e6c2 woops fix SPI for rev A (will change in rev B to be correct) 2021-11-26 15:06:09 -05:00
lady ada
3c007ba094 re-add psram! 2021-11-26 13:50:12 -05:00
lady ada
a9060ec383 cr nl 2021-11-26 00:27:54 -05:00
lady ada
0cf629bf99 on hey this proto doesnt have psram :( 2021-11-26 00:15:20 -05:00
lady ada
f06b21e46d sneaky! 2021-11-25 23:50:33 -05:00
lady ada
a2c8daeb55 :( 2021-11-25 23:45:37 -05:00
lady ada
5e0d562cfe y not? 2021-11-25 23:18:51 -05: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
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
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
f7df39ef88 Re-enable on microbit v2 2021-11-23 13:20:00 -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
gamblor21
5337e45411 Only enable if not disabled 2021-11-21 11:39:42 -06:00
gamblor21
6d412e20c4 Disabling from some boards 2021-11-20 14:04:49 -06:00
gamblor21
d063bf2675 Initial commit for IS31 2021-11-20 13:46:11 -06:00
Scott Shawcroft
3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
Set AP MAC address
2021-11-17 10:26:36 -08:00
anecdata
c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
anecdata
193e936807 like #5571, but for AP 2021-11-16 12:21:50 -06:00
Dan Halbert
582a923ec9
Merge pull request #5579 from jepler/fix-optimization-same54
same54: Use the same optimization as other sam d5x/e5x
2021-11-16 08:32:08 -05:00