Jeff Epler
a07ac72cc5
Improve the USB vid:pid duplicate checker
...
To me, it made more sense to track which boards go together in a cluster;
when reviewing a request to actually use a duplicate vid/pid, you want
to know what board(s) it is aliasing.
I also revamped the detection of non-USB boards so that a board .mk file
that couldn't be parsed by the code here would raise a problem instead
of just being skipped for the purposes of checking.
There were some lines with comments on the end, and some variation in
capitalization of the IDs. These are all normalized and a (sometimes
unfriendly!) error printed when it's incorrect.
Before this, here were some ways to trick the duplicate vid/pid checker:
```
USB_PID = 0XABCD
USB_PID = 0xAbCd
USB_PID = 0xABCD # harmless comment?
```
None of these things were ever done on purpose.
2022-03-24 09:42:11 -05:00
Michael Himing
c2434782c4
Seeed_XIAO_nRF52840_Sense: remove redundant MICROPY_HW_LED_STATUS
2022-03-03 10:18:58 +11:00
Michael Himing
661140ebcc
Add missing BOARD_DICT_STANDARD_ITEMS to two boards
2022-03-03 09:03:34 +11:00
Michael Himing
9ad50dfefb
Seeed_XIAO_nRF52840_Sense: Enable rgb status LED
2022-03-02 22:34:01 +11:00
Scott Shawcroft
8958e7ef08
Add S3 GATT client support
...
This allows you to connect to GATT services on the other device.
It also adds connection initiation (GAP central).
More progress on #5926
2022-02-10 11:31:57 -08:00
Scott Gauche
a8d8651873
Canonical C style for half_duplex = true/false
2022-02-08 23:13:22 -05:00
Scott Gauche
309f4fb2b9
add half_duplex false param to spi construct function call in some board files
2022-02-08 22:59:26 -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
a04cd6444b
Merge pull request #5966 from Neradoc/add-alias-stemma-i2c
...
Add alias board.STEMMA_I2C for all boards with qwiic/stemma/QT
2022-02-02 11:08:13 -05:00
Neradoc
b2c8fd3938
add board.STEMMA_I2C alias to some boards
2022-02-02 01:18:46 +01:00
Scott Shawcroft
2964e966b1
Merge pull request #5958 from dhalbert/i2c-common-hal-write-read
...
I2c common hal write read
2022-02-01 11:08:50 -08:00
Dan Halbert
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
Michael Himing
c92c8ac184
Only enable is31fl3741 for led glasses board
...
Also fix a warning in is31fl3741
2022-02-01 09:45:50 +11:00
Scott Shawcroft
5a6f456dbb
Add BLE scanning for S3 and C3.
...
Everything else should raise NotImplementedError.
First step in #5926
2022-01-25 16:28:46 -08:00
jerryneedell
9c31346c45
fix implmetation
2022-01-25 16:42:49 -05:00
jerryneedell
70512758a9
enable binascii in microbit_v2 build
2022-01-25 16:06:47 -05:00
Dan Halbert
09bdad6c5b
Merge pull request #5877 from 0hotpotman0/main
...
Add softdev_version 7.0.1
2022-01-17 21:39:12 -05:00
0hotpotman0
9b9dd97e00
add softdev_version 7.0.1
2022-01-17 14:49:11 +08:00
0hotpotman0
86a482f520
add ble stack 7.3.0 version for complie the uf2 flie
2022-01-10 11:05:06 +08:00
Dan Halbert
9d2a32d07e
countio: add selectable rise and fall detection, pulls
2021-12-31 16:34:58 -05:00
Dan Halbert
3bc48802b1
Merge pull request #5783 from jepler/longint-config
...
Centralize LONGINT_IMPL handling
2021-12-28 12:55:26 -05:00
Jeff Epler
ea638c0401
Merge pull request #5753 from 0hotpotman0/main
...
Add new board Seeed_XIAO_nRF52840
2021-12-27 15:41:14 -07:00
Jeff Epler
1d13c4ccd1
Centralize LONGINT_IMPL handling
...
This closes #5782
2021-12-27 10:21:47 -06:00
0hotpotman0
0f5b20c650
Correct pin name
2021-12-27 13:45:39 +08:00
0hotpotman0
9810f0f824
Correct the pin LED
2021-12-27 09:24:33 +08:00
0hotpotman0
0cbbfadad9
Correct the pin name and add the monitor battry function
2021-12-24 18:51:26 +08:00
Pierre Constantineau
e86810fce2
updating UF2_FAMILY_ID for nrf52833
2021-12-23 16:32:00 -06:00
Scott Shawcroft
03a80e429b
Add new line for pre-commit
2021-12-21 16:21:10 -08:00
0hotpotman0
745003751c
Add new board Seeed_XIAO_nRF52840
2021-12-21 19:08:11 +08:00
Asura
7b2980ead2
fix missing pintout.
...
fix missing pintout p20 & p21 for makerdiary_nrf52840_mdk_usb_dongle.
2021-12-15 09:57:26 +08:00
Pierre Constantineau
7137f1b1c0
added never_reset to board_init
2021-12-08 17:29:53 -06:00
Pierre Constantineau
448a96ce1b
added CIRCUITPY_IS31FL3741 = 0
2021-12-08 17:22:54 -06:00
Pierre Constantineau
53f4137d6f
updated pin defs
2021-12-08 17:21:13 -06:00
Pierre Constantineau
4cad5beb90
minor udate to USB desc
2021-12-08 17:17:56 -06:00
Pierre Constantineau
e946dcffff
initial BlueMicro8333 Files
2021-12-08 17:17:56 -06:00
Dan Halbert
57c33059f3
board_deinit() everywhere
2021-11-30 11:00:10 -05:00
gamblor21
f7df39ef88
Re-enable on microbit v2
2021-11-23 13:20:00 -06: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
Dan Halbert
adac5ee596
Merge pull request #5563 from jepler/enable-error-missing-prototypes
...
Additional missing-prototypes fixes
2021-11-11 11:57:43 -05:00
Jeff Epler
340d6b9213
more missing-prototypes fixes
2021-11-10 21:00:17 -06:00
Dan Halbert
e7d9dc323b
shrink kicksat-sprite, simmel, pyb_nano_v2
2021-11-10 21:12:41 -05:00
Jeff Epler
9e799a7c74
-Werror=missing-prototypes for nRF
2021-11-10 11:26:54 -06:00
Dan Halbert
38c381633b
Merge pull request #5534 from jepler/add-rainbowio
...
Add rainbowio
2021-11-02 21:57:08 -04:00
Jeff Epler
63e01cde77
we decided not to add rainbowio on simmel
2021-11-02 19:01:05 -05:00
Jeff Epler
18eaee9beb
reenable RAINBOWIO on these boards
2021-11-01 12:52:13 -05:00
Scott Shawcroft
bf0bef9684
Split listdir entries across two packets
...
when the MTU of the BLE connection is smaller than the 28 bytes of
the header. (The smallest possible MTU is 20.)
Fixes #5511
2021-10-28 10:57:16 -07:00
Jeff Epler
9eebb3dbab
rotaryio: Add the ability to set the divisor
...
At present, Adafruit's rotary encoders all move 1 quadrature cycle per
detent, so we originally hard-coded division-by-4. However, other
encoders exist, including ones without detents, ones with 2 detents per
cycle, and others with 4 detents per cycle.
The new `divisor` property and constructor argument allows selecting
a divisor of 1, 2, or 4; with the default of 4 giving backward
compatibility.
The property is not supported (yet?) on espressif MCUs; it throws an
error if a value other than 4 is set.
2021-10-16 09:43:45 -05:00
Jeff Epler
414c2f9da6
Always use python3
...
.. similar to https://github.com/micropython/micropython/pull/4448
2021-10-15 15:11:21 -05:00