Commit Graph

9 Commits

Author SHA1 Message Date
Scott Shawcroft
d5b747b305
Fix board inits 2023-04-21 13:23:01 -07:00
RetiredWizard
29e0aba72f
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:39:03 -04:00
RetiredWizard
7708f19ec8
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:36:01 -04:00
Dan Halbert
4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
Scott Shawcroft
8c480832a7
Add generic CM4 board and update PIDs 2021-12-09 17:30:32 -08:00
Scott Shawcroft
92a4261ad5
Full UART support for RPI
This adds PL011 UART support which is more plentiful.

It also:
* Fixes PI4 build by including .dtb files on the SD card.
* Enables the activity LED as the status LED on PI4 and CM4 I/O.
* Adds that LED as board.LED.

Fixes #5650 and progress on #5629
2021-12-06 18:36:14 -08:00
Dan Halbert
57c33059f3 board_deinit() everywhere 2021-11-30 11:00:10 -05: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