Commit Graph

7662 Commits

Author SHA1 Message Date
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
Dan Halbert
73430af78b
-O2 without -fno-inline-functions 2021-11-15 22:36:23 -05:00
Dan Halbert
bd22667eb5
Merge pull request #5571 from anecdata/set_mac
Set Station MAC address & validate connect SSID len
2021-11-15 20:33:54 -05:00
Scott Shawcroft
ba2f32e374
Merge pull request #5578 from jepler/disable-mkfs-fat32
oofatfs: Allow fat32 mkfs to be compiled out.  optimize rainbowio & enable everywhere
2021-11-15 10:57:25 -08:00
Scott Shawcroft
894adc78e9
Merge pull request #5580 from jepler/litex-prototypes
litex: Enable -Werror=missing-prototypes
2021-11-15 10:22:59 -08:00
microDev
733bfbc10a
Merge branch 'main' into set_mac 2021-11-15 20:44:30 +05:30
Jeff Epler
edeb31f789
Fix remaining builds 2021-11-13 07:44:17 -06:00
Jeff Epler
59cb8e91b2
mimxrt1011: enable -Werror=missing-prototypes 2021-11-12 19:30:47 -06:00
Jeff Epler
535f4b3c54
mimxrt10xx: enable Werror 2021-11-12 19:30:43 -06:00
Jeff Epler
ac978969f7
litex: Enable -Werror=missing-prototypes 2021-11-12 19:13:51 -06:00
Jeff Epler
1039e1116b
same54: Use the same optimization as other sam d5x/e5x
It's likely that this is a relic of my early testing.
2021-11-12 18:54:56 -06:00
Jeff Epler
1cea871c70
enable rainbowio on unix coverage port 2021-11-12 17:31:14 -06:00