Commit Graph

7 Commits

Author SHA1 Message Date
jerryneedell
14815f6de7 fix typo in comment 2021-12-30 14:12:37 -05:00
jerryneedell
9dea49516e update logic for JTAG pull downs 2021-12-30 14:09:43 -05:00
jerryneedell
ed3ddea2da set pulldown for broadcom jtag pins 2021-12-28 11:26:47 -05:00
Scott Shawcroft
6626319338
Add SPI support
It uses both SPI and AUX SPI peripherals
2021-12-09 17:30:03 -08: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
927a720de9
Fix I2C and feedback from Dan 2021-11-23 17:23:13 -08: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