Jeff Epler
b2cc8d2aad
run black_bindings across all bindings
2022-09-27 15:21:42 -05:00
Dan Halbert
e25c195b78
fix broadcom UART ringbuf init
2022-09-25 09:12:23 -04:00
Dan Halbert
ea15a9118a
ringbuf cleanup
2022-09-21 10:03:05 -04:00
RetiredWizard
14b604f48c
Add LED pin definition to Zero 2W board
2022-09-10 23:18:25 -04:00
RetiredWizard
28756936d5
Add HW_LED_STATUS pin to Zero 2W board
2022-09-10 23:17:02 -04:00
RetiredWizard
38a0ca324e
Uses different pins for RX/TX
2022-09-10 21:48:10 -04:00
RetiredWizard
f4eb618598
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:42:41 -04:00
RetiredWizard
1bdf9fca40
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:40:31 -04:00
RetiredWizard
1d03d73c13
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:39:51 -04:00
RetiredWizard
29e0aba72f
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:39:03 -04:00
RetiredWizard
fb4062d23f
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:38:16 -04:00
RetiredWizard
72c479efe6
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:37:31 -04:00
RetiredWizard
a892af8d77
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:36:41 -04:00
RetiredWizard
7708f19ec8
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:36:01 -04:00
RetiredWizard
0913e3a148
Define CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:34:45 -04:00
RetiredWizard
ecb74aa652
Remove CIRCUITPY_CONSOLE_UART_TX/RX
2022-09-10 21:33:29 -04:00
Dan Halbert
4cb69a51d5
Use MP_WEAK for default board.c routines
2022-09-08 07:36:50 -04:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
Neradoc
eabe8b971a
list extensions instead of macros names ("bin,uf2" not BIN_UF2)
...
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc
d021d9ae4a
Move build extensions to board directories
...
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +02:00
Scott Shawcroft
ac460dd1e1
Merge branch 'main' into esp32
2022-07-13 15:30:53 -07:00
Jeff Epler
c4dfd8e30a
Fix default BOARD setting & messages
...
It's important that these lines NOT be indented with tabs, because
that provokes Make to say that commands appear before a target.
2022-07-07 17:17:15 -05:00
Dan Halbert
8bb369cac5
refactor debug UART to console UART; get working on ESP32
2022-06-30 23:16:46 -04:00
Scott Shawcroft
4d776339ad
Separate translate object control from LTO
2022-05-31 12:42:59 -07:00
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Jeff Epler
78cf0a90af
Make MP_PROPERTY_GETTER / _GETSET fully declare the property
...
This will enable setting data attributes, namely, the section of the
symbol.
2022-05-03 08:48:53 -05:00
Jeff Epler
31da335cac
Introduce, use MP_PROPERTY_GETTER, _GETSET
...
Later, these can be changed in cunning ways to save flash storage.
2022-05-03 08:48:52 -05:00
Scott Shawcroft
83593a1558
Start of USB host API
...
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)
Related to #5986
2022-03-07 18:07:25 -08:00
Scott Gauche
a8d8651873
Canonical C style for half_duplex = true/false
2022-02-08 23:13:22 -05:00
Scott Gauche
89ad767b8f
add half_duplex to spi constructs in other ports but raise not implemented errors
2022-02-08 22:25:23 -05:00
Dan Halbert
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
Scott Shawcroft
bec36f5c7f
Add Pi Zero and update PIDs
2022-01-07 11:47:31 -08:00
Scott Shawcroft
39a239113f
Enable neopixel for status
2022-01-07 11:23:50 -08:00
Scott Shawcroft
3238d8364d
Piunora + full build + high speed usb
2022-01-07 11:23:50 -08:00
Scott Shawcroft
5f32d1f34b
Piunora pinout
2022-01-07 11:23:49 -08:00
Dan Halbert
afd686986a
Merge pull request #5800 from tannewt/rpi_zero
...
Initial Pi Zero support
2022-01-07 09:05:30 -05:00
Scott Shawcroft
2a2f94df15
Update tinyusb for zero support
2022-01-06 08:52:33 -08:00
Scott Shawcroft
48d826b15d
Never reset SD card pins
2022-01-04 19:08:14 -08:00
Scott Shawcroft
38d2472683
Fix cache detection on 64 bit
2022-01-04 17:38:29 -08:00
Scott Shawcroft
f64fede735
Correct board name and fix USB with memory barrier
2022-01-04 16:11:40 -08:00
Scott Shawcroft
87f4205ec9
Fix Cortex-A MMU init
2022-01-04 12:29:48 -08:00
Scott Shawcroft
756b9f6dfa
Initial Pi Zero support
...
Both SD card and USB don't work. REPL works over UART.
Progress on #5631
2021-12-30 18:32:59 -08:00
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
7cdffba09f
Merge remote-tracking branch 'upstream/main' into jerryn_gpio
2021-12-29 12:58:41 -05:00
jerryneedell
ed3ddea2da
set pulldown for broadcom jtag pins
2021-12-28 11:26:47 -05:00
Jeff Epler
9cf2baf68e
remove unneeded LONGINT_IMPL logic
2021-12-27 16:39:33 -06:00
RetiredWizard
4683619bb0
Add long integer flags to enable
...
Code stolen from raspberrypi port
2021-12-23 14:29:25 -05:00
Scott Shawcroft
5e4cb4f1e2
Yes, index is unused. That's ok.
2021-12-15 13:46:31 -08:00
Scott Shawcroft
2693e2ce0a
Add neopixel support on PWM capable pins
...
It'll be hard to do PWM from them concurrently
Fixes #5697
2021-12-14 16:59:53 -08:00
Scott Shawcroft
8c480832a7
Add generic CM4 board and update PIDs
2021-12-09 17:30:32 -08: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
b12d2063d0
Merge remote-tracking branch 'adafruit/7.1.x' into merge_7.1
2021-12-08 10:50:22 -08:00
Scott Shawcroft
ab4f789e9a
Fix Pi Zero 2 W build
2021-12-07 13:29:46 -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
c43e0bd2db
uncrustify fixes
2021-12-06 09:54:15 -05:00
Scott Shawcroft
8adb0ecd33
Fix loop bounds
2021-12-02 10:28:26 -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
Dan Halbert
57c33059f3
board_deinit() everywhere
2021-11-30 11:00:10 -05: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
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