Dan Halbert
90f6096955
fix ai-thinker creation ids; fix some typos elsewhere
2022-10-03 15:29:03 -04:00
Dan Halbert
7bb90dbf45
remove redundant port/*/.gitignore; cleanup others
2022-10-01 11:52:36 -04:00
Dan Halbert
db065a299f
Merge pull request #6933 from jepler/ 🥧 🐮
...
Implement a useful subset of `wifi` and `socketpool` modules on 🥧 🐮
2022-09-28 18:09:24 -04:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out
2022-09-28 10:06:33 -05:00
Dan Halbert
ea15a9118a
ringbuf cleanup
2022-09-21 10:03:05 -04:00
MicroDev
4a69dfa50c
Merge pull request #6907 from dhalbert/preserve-pins-on-deep-sleep
...
allow preserving pin state during deep sleep
2022-09-16 17:52:04 +05:30
Dan Halbert
3abfd212ec
nrf: return None when UART.read() reads nothing
2022-09-15 19:40:02 -04:00
Dan Halbert
60f43b1703
allow preserving pin state during deep sleep
2022-09-15 17:35:14 -04:00
Dan Halbert
4cb69a51d5
Use MP_WEAK for default board.c routines
2022-09-08 07:36:50 -04:00
DavePutz
c00a630f50
Update PulseOut.c
...
reorder the tests for zero-length
2022-08-23 15:58:27 -05:00
root
3daebb36c3
Fix handling of zero-length pulseout pulse
2022-08-23 15:17:54 -05:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
Scott Shawcroft
83cbbc9946
Add BLE status to title bar
2022-08-04 16:33:10 -07:00
Arudinne
a55aebc718
Added support for 8MB flash for Challenger 840
2022-07-26 20:34:01 -05: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
Neradoc
5ca6d8953d
use available constants instead of testing errors for length
2022-07-14 11:55:53 +02:00
Neradoc
50a9beda04
Retrieve the BLE name from dotenv if available
...
Format:
CIRCUITPY_BLE_NAME = My BLE Board
- the length is limited to 31 characters
- for the NRF version it repeatedly truncates the name if it's too long
- the ESP version defaults to "nimble" if the name is too long
2022-07-14 11:55:53 +02:00
Dan Halbert
8bb369cac5
refactor debug UART to console UART; get working on ESP32
2022-06-30 23:16:46 -04:00
Scott Shawcroft
c27ecc9bb1
Merge pull request #6495 from DavePutz/issue_6451
...
Test for a BLE disconnect while reading
2022-06-17 09:37:07 -07:00
root
cdc7140318
Test for a BLE disconnect while reading
2022-06-16 14:56:18 -05:00
Scott Shawcroft
894cea217d
Merge pull request #6486 from DavePutz/issue_6478
...
Fix for Issue #6478
2022-06-15 09:43:09 -07:00
root
8668dee3df
Fix declaration of print_wakeup_cause
2022-06-14 20:51:07 -05:00
root
669e45497c
Uncommented call to print_wakeup_cause
2022-06-14 13:27:15 -05:00
root
015e95807a
Fix for Issue #6478
2022-06-14 12:14:05 -05:00
Scott Shawcroft
1a3d2a5b5e
Shrink nrf52833 builds
...
Make them CIRCUITPY_FULL_BUILD = 0 and rework the boards to have
the same modules enabled (ish.)
Also make ZLIB require FULL_BUILD and disable advanced `micropython`
module APIs by default on all builds.
2022-06-13 15:36:15 -07:00
Dan Halbert
80ae14202a
Merge pull request #6416 from FoamyGuy/display_brightness_pwm
...
display brightness pwm 500hz frequency
2022-06-05 23:52:42 -04:00
foamyguy
260994d16e
Merge branch 'main' into display_brightness_pwm
2022-06-04 11:32:15 -05:00
foamyguy
cbff9dd8e3
add new argument for all boards with built-in display
2022-06-04 11:08:20 -05:00
Scott Shawcroft
09c61efcff
Split partition from LTO enable
2022-06-01 11:12:14 -07:00
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Dan Halbert
947f564672
tune LTO on nrf
2022-05-26 22:16:41 -04:00
Dan Halbert
d74193c298
Use -flto and -flto-partition only as needed
2022-05-26 11:36:41 -04:00
Paint Your Dragon
5ef1f2dd5a
Correctly scale analog reading per issue #4794
2022-05-24 08:45:14 -07:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Scott Shawcroft
269d51d023
Add two stage reset for BLE
...
This lets the BLE stack run through the wait period after a VM run
when it may be waiting for more writes due to an auto-reload.
User BLE functionality will have their events stopped. Scanning and
advertising is also stopped.
2022-05-12 13:20:44 -07:00
Michael Wisslead
e63a327107
Bound PulseIn start indexes to maxlen.
2022-04-28 02:28:34 +00:00
Dan Halbert
4eeaf41edc
test and adjust NeoPixel timings on multiple products
2022-04-25 23:12:24 -04:00
Neradoc
17bba7b17d
remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now
2022-04-19 06:49:11 +02:00
Dan Halbert
2693a4cfe1
Merge pull request #6069 from gamblor21/uzlib-module
...
zlib Module
2022-04-06 12:06:44 -04:00
Pontus Oldberg
286e26edf0
Added support for 4MB flash.
2022-04-06 11:08:22 +02:00
Jeff Epler
fe98248a3d
Merge remote-tracking branch 'origin/7.2.x' into merge-7.2.x
2022-04-05 08:45:13 -05:00
Jeff Epler
fa4b4fa639
nrf: Correctly mark PWM unused during reset
2022-04-04 10:08:54 -05:00
Mark
8ed7b114cd
Merge branch 'main' into uzlib-module
2022-04-03 11:48:37 -05:00
Pontus Oldberg
f2d10237d2
Merge branch 'adafruit:main' into main
2022-03-30 16:43:39 +02:00
Scott Shawcroft
fcde108d03
Merge pull request #6194 from jepler/revamp-duplicate-usb-check
...
Improve the USB vid:pid duplicate checker
2022-03-24 14:57:48 -07:00
jerryneedell
bcec1e44f0
add status LED to nrf pca10059 dongdle
2022-03-24 15:05:02 -04:00
Jeff Epler
d91ca7369c
Merge remote-tracking branch 'origin/main' into revamp-duplicate-usb-check
2022-03-24 09:44:41 -05:00
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
Pontus Oldberg
c7b28eb2ef
Update ports/nrf/boards/challenger_840/pins.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:49 +01:00
Pontus Oldberg
d26297ae98
Update ports/nrf/boards/challenger_840/pins.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:40 +01:00
Pontus Oldberg
7901850bb8
Update ports/nrf/boards/challenger_840/pins.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:28 +01:00
Pontus Oldberg
5e09ed611e
Added Challenger 840 board.
2022-03-22 21:36:54 +01:00
Neradoc
367e0ea901
Enable rgb status LED on MakerDiary USB Dongle
2022-03-22 20:53:12 +01:00
Scott Shawcroft
51701e6abe
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2
2022-03-17 14:15:55 -07:00
Scott Shawcroft
78cb61c7a3
Turn off traceback on bluemicro833
2022-03-17 11:38:27 -07:00
Scott Shawcroft
dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2
2022-03-15 13:56:11 -07:00
Scott Shawcroft
4ffbf0830b
Merge pull request #6157 from arms22/ssci_isp1807_micro_board
...
Add board ssci_isp1807_micro_board
2022-03-15 13:42:34 -07:00
arms22
2b4917bbf5
change USB_PID
2022-03-15 14:54:29 +09:00
arms22
7482148a78
Add board ssci_isp1807_micro_board
2022-03-15 14:39:32 +09:00
arms22
b671ba81b9
Add board ssci_isp1807_dev_board
2022-03-15 14:29:24 +09:00
Scott Shawcroft
a719fabbb6
Shrink bluemicro833 build
2022-03-11 16:04:12 -08:00
Dan Halbert
9b2e22a6df
Make autoreload checking more robust
...
- Add reset for autoreload. De-request ticks.
- Separate state a little more in autoreload.c
- Rename some routines.
- Remove redundant settings of CIRCUITPY_AUTORELOAD_DELAY_MS.
2022-03-09 11:07:55 -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
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
gamblor21
edee8e3409
disable on some boards
2022-02-21 00:47:05 -06: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