Commit Graph

525 Commits

Author SHA1 Message Date
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 Gauche
309f4fb2b9 add half_duplex false param to spi construct function call in some board files 2022-02-08 22:59:26 -05:00
Neradoc
b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01: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
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
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
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
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
6d412e20c4 Disabling from some boards 2021-11-20 14:04:49 -06:00
Dan Halbert
e7d9dc323b shrink kicksat-sprite, simmel, pyb_nano_v2 2021-11-10 21:12:41 -05: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
Pierre Constantineau
002383691c changing MICROPY_HW_BOARD_NAME from Dongle to DK 2021-10-07 21:57:04 -06:00
Pierre Constantineau
ed68e1f047 fix pre-commit trailing whitespace 2021-10-06 17:46:30 -06:00
Pierre Constantineau
79e68a7404 adding battery monitoring pins to M60 2021-10-06 17:41:49 -06:00
Feyn
ed18c1f2b8
Fix a critical "typo"
Current compiled downloads are unusable because MICROPY_QSPI_CS is defined as the wrong pin
2021-09-26 13:47:05 +02:00
Scott Shawcroft
3cc4f25a1c
Merge pull request #5337 from hathach/tinyusb-compliance-stm-imxrt-esp32
update tinyusb to have esp32sx, stm32 and imxrt passed compliance test suite
2021-09-14 22:40:13 -07:00
Dan Halbert
9e8c6b2bab Shrink pca10100 some more 2021-09-14 21:37:30 -04:00
Dan Halbert
59b1bedcda
Merge pull request #5333 from microDev1/patch
Make `next_code_allocation` and `prev_traceback_allocation` movable
2021-09-14 19:27:40 -04:00
Dan Halbert
0ab4df6f2f shrink some SAMD21 builds, and nrf simmel 2021-09-14 17:10:49 -04:00
Scott Shawcroft
5d90991745
Trade RAM for flash on pca10100 2021-09-13 12:04:27 -07:00
Dan Halbert
189efdf074 Use NO_PIN, not 0, for PDMIn unset pins.
Also:
- Use NO_PIN, not 0xff for I2SOut (cosmetic fix only; no actual functional change)
- Add VOLTAGE_MONITOR/BATTERY, ACCELEROMETER_INTERRUPT pins for LED Glasses Driver
2021-09-10 13:18:29 -04:00
Neradoc
8625e53817 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
microDev
d526925d49
make aesio module full build dependent 2021-09-02 19:02:01 +05:30
Scott Shawcroft
0d280fa83c
Two fixes, one for ble workflow, one for linking
BLE workflow had an incorrect list size for characteristics

Linking didn't advance . link it should have without extra ().
2021-09-01 12:43:43 -07:00
Scott Shawcroft
9c4c3e1780
Only sort .text for nrf 2021-09-01 08:57:18 -07:00
Scott Shawcroft
0cffa6be81
Sort .text section to reduce fill on nRF 2021-08-31 19:33:44 -07:00
lady ada
d50dc064ee fix i2c 2021-08-29 17:53:57 -04:00
Jeff Epler
c174b7c7e7
Merge pull request #5229 from warmbit/warmbit_bluepixel
add warmbit_bluepixel
2021-08-27 06:48:34 -05:00
Neradoc
1302ef62f7 rebase, add adafruit_led_glasses_nrf52840 2021-08-26 23:18:44 +02:00
Neradoc
4d05bb26bf change board.ID to board.board_id 2021-08-26 23:11:55 +02:00
Neradoc
b14b294516 add board.ID 2021-08-26 23:11:55 +02:00
WarmBit
da644bebb3 add warmbit_bluepixel 2021-08-25 15:16:59 -06:00
Dan Halbert
c0c9892887 Add adafruit_led_glasses_nrf52840 2021-08-25 11:29:31 -04:00
Dan Halbert
fa9a98d96c
Merge pull request #5206 from microDev1/patch
Turn off `synthio` on `pca10100`
2021-08-23 16:20:10 -04:00
microDev
533eab5b7f
turn off synthio on pca10100 2021-08-23 23:33:55 +05:30
Jeff Epler
379461df7d Deprecate Display's constructor arg set_vertical_scroll 2021-08-23 09:17:59 -05:00
Scott Shawcroft
e0ce5ff045
Fix some builds by disabling exfat 2021-08-18 08:22:29 -07:00
Dan Halbert
064e086570 correct some status LED pin defns per #5161 2021-08-17 09:33:34 -04:00
Scott Shawcroft
0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Chris Wilson
e741330ca8 Consistent pin naming for SparkFun MicroMod processor boards. 2021-08-09 23:10:52 -07:00
Pierre Constantineau
aec965e6d9 changed PID as suggested by Scott 2021-08-09 15:25:06 -06:00
Pierre
7d02fd42f8 removed trailing spaces at end of pins.c 2021-08-08 21:56:24 -06:00
Pierre
1a7cad6562 removed trailing spaces in pins.c 2021-08-08 21:43:03 -06:00
Pierre
b1d5b50551 fromatting updates to pins.c 2021-08-08 21:38:23 -06:00
Pierre
9de8045dca foromatting updates to pins.c 2021-08-08 21:31:07 -06:00
Pierre
45d4058981 adding initial files for BlueMicro840 Board 2021-08-08 21:25:54 -06:00
Dan Halbert
81833035fc raytac_mdbt50q-rx 2021-08-04 15:47:19 -04:00
Kattni
fc59a7ac02
Merge pull request #5068 from dhalbert/remove-gamepad
remove gamepad; deprecate gamepadshift
2021-07-27 11:35:06 -04:00
Dan Halbert
b0fb709d83 more gamepad removal 2021-07-26 23:34:25 -04:00
Dan Halbert
901a6c27c0 remove gamepad; deprecate gamepadshift 2021-07-26 22:15:09 -04:00
Dan Halbert
11ca505fdb add board.LED wherever possible 2021-07-26 19:57:12 -04:00
Scott Shawcroft
70cbb4eddb
Support multiple status neopixels
Use the 10 neopixels on the playgrounds for status.

Fixes #5039
2021-07-23 15:17:09 -07:00
Scott Shawcroft
0fadf028ef
Create first BLE-only board, Micro:Bit v2
This fixes build issues with USB off, tweaks the README to allow
for BLE-only boards and adds the Micro:Bit v2 definition.

Fixes #4546
2021-07-14 09:55:51 -07:00
Scott Shawcroft
3940878695
Shrink builds and handle 0-length writes 2021-07-01 12:49:11 -07:00
Dan Halbert
04b69cde9b turn off gamepad on most builds;turn off keypad where appropriate 2021-06-17 13:46:45 -04:00
Dan Halbert
4655a71793 Turn off keypad on some builds to avoid overflow 2021-06-15 14:11:04 -04:00
Scott Shawcroft
5c33c9d597
Fix SAMD
RTC needed to wait for sync. NeoPixel on SAMD doesn't need disabled
caches. It just needed timing adjustment for 120mhz clock speed.
2021-05-14 16:14:24 -07:00
Scott Shawcroft
1a0b4193b7
Simplify the status LED to save power
This also removes the need to pin share because we don't use the
status LED while user code is running.

The status flashes fallback to the HW_STATUS LED if no RGB LED is
present. Each status has a unique blink pattern as well.

One caveat is the REPL state. In order to not pin share, we set the
RGB color once. PWM and single color will be shutoff immediately but
DotStars and NeoPixels will hold the color until the user overrides
it.

Fixes #4133
2021-05-13 14:41:20 -07:00
Jeff Epler
5e06c91244
Merge pull request #4716 from tyomitch/main
s/Circuit Python/CircuitPython/g
2021-05-08 08:47:29 -05:00
Artyom Skrobov
908d83d1f2 s/Circuit Python/CircuitPython/g
Some comments and messages used the non-standard spelling
2021-05-06 16:22:35 +03:00
Dan Halbert
579cdf30f1 fix more build errors 2021-05-05 16:49:29 -04:00
Dan Halbert
d4d96bb25f
Merge pull request #4236 from jun2sak/nrf52-sleep
sleep and wakeup for nrf52
2021-04-28 12:11:31 -04:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Kattni Rembor
4e1d2fa056 Adding clearer on-board DotStar pin names. 2021-04-27 12:52:24 -04:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
jun2sak
7accb8b173 modify copyright notice. 2021-04-25 19:57:21 +09:00
Dan Halbert
346740e152
Merge pull request #4609 from Neradoc/add_nrf_countio
NRF: implement countio
2021-04-23 08:37:00 -04:00
Benny Meisels
f0b04d403d Add board definition files for ARAMCON2 Badge 2021-04-19 20:41:01 +03:00
Neradoc
223027fe9e
shrink simmel 2021-04-15 01:43:02 +02:00
Scott Shawcroft
da4dceea15
Fix 16MB Winbond names 2021-03-25 11:37:08 -07:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data 2021-03-25 09:57:18 -07:00
Kattni Rembor
2b910b7292 Adding LED for D13/L pin name. 2021-03-16 12:14:40 -04:00
microDev
a52eb88031
run code formatting script 2021-03-15 19:27:36 +05:30
Scott Shawcroft
f0965b1ef7
Merge pull request #4350 from nitz/board-add-sparkfun-micromod-nrf52840
Add new nRF port for SF MicroMod nRF52840.
2021-03-10 18:13:11 -08:00
nitz
d5365cb066
SDIO/QSPI pin names. ¯\_(ツ)_/¯ 2021-03-09 18:36:29 -05:00
nitz
5beb529f61
Update pins, remove unused defs from board config. 2021-03-09 17:43:13 -05:00
nitz
fe0655e121
Update pins, remove unused defs from board config. 2021-03-09 17:39:50 -05:00
nitz
1ae858126a
Fix the mpconfigboard.mk that was screwy? 2021-03-09 17:29:10 -05:00
Chris Dailey
a61db7f12e
Updated SparkFun MicroMod USB PID
As per the PID provide by TheHoff, [here](https://forum.sparkfun.com/viewtopic.php?p=223812#p223812)
2021-03-09 12:54:52 -05:00
Jeff Epler
f1ada8e880 Automatically count EXTERNAL_FLASH_DEVICES 2021-03-07 11:48:39 -06:00