root
778e8bfda9
Changes to optimization option
2020-07-23 19:27:02 -05:00
ikigaisense
1ee8a09da2
add-ikigaisense_vita-nRF52840
2020-07-23 14:39:59 -06:00
root
d83a4ac72d
Changes to add compiler optimization option
2020-07-22 12:44:41 -05:00
Scott Shawcroft
610e0171aa
Disable existing native networking.
...
We're moving towards a co-processor model and a Wiznet library is
already available.
New native APIs will replace these for chips with networking like the
ESP32S2 but they won't be these.
2020-07-17 17:43:02 -07:00
Scott Shawcroft
7bb508bf43
Merge pull request #3157 from tinkeringtech/tinkeringtech-scoutmakes-azul
...
Addition of Tinkeringtech ScoutMakes Azul nRF52840 based platform to CircuitPython
2020-07-16 11:03:31 -07:00
TinkeringTech
49fcfd14d2
Added the TinkeringTech ScoutMakes Azul platform to CircuitPython
2020-07-15 21:49:34 -04:00
Scott Shawcroft
d712d1281c
Merge branch 'main' into master
2020-07-13 15:53:44 -07:00
Yihui Xiong
c8752ff93e
use RGB LEDs as status indicators
2020-07-11 21:25:32 +08:00
Yihui Xiong
8e26fdc0e9
add LED status, remove unused macros
2020-07-11 10:51:31 +08:00
Yihui Xiong
7ff499046b
use VID & PIDs granted by Seeed
2020-07-11 00:37:45 +08:00
Scott Shawcroft
0068c76fa6
Merge pull request #3135 from arms22/bless_dev_board_multi_sensor
...
Add new board BLE-SS dev board Multi Sensor
2020-07-09 10:29:57 -07:00
Yihui Xiong
678f266394
fix pre-commit check
2020-07-09 10:25:46 +00:00
Yihui Xiong
96f6ce222c
add makerdiary m60 keyboard
...
Signed-off-by: Yihui Xiong <yihui.xiong@hotmail.com>
2020-07-09 10:02:27 +00:00
Yihui Xiong
e81d22cd67
add makerdiary nrf52840 m.2 devkit
...
Signed-off-by: Yihui Xiong <yihui.xiong@hotmail.com>
2020-07-09 10:01:04 +00:00
arms22
bb5cdcf954
Add new board BLE-SS dev board Multi Sensor
2020-07-09 11:26:45 +09:00
Arudinne
768149fb01
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-08 10:36:41 -05:00
Arudinne
5a9aac472a
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 14:37:59 -05:00
Arudinne
dc2f729d19
modified: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
...
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 14:37:08 -05:00
Arudinne
b5af05cd31
new file: ports/nrf/boards/raytac_mdbt50q-db-40/board.c
...
new file: ports/nrf/boards/raytac_mdbt50q-db-40/bootloader/6.0.0/pca10056_bootloader_6.0.0_s140.zip
new file: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.h
new file: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
new file: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 12:27:23 -05:00
Jeff Epler
57fde2e07b
sdcardio: implement new library for SD card I/O
...
Testing performed: That a card is successfully mounted on Pygamer with
the built in SD card slot
This module is enabled for most FULL_BUILD boards, but is disabled for
samd21 ("M0"), litex, and pca10100 for various reasons.
2020-06-26 11:50:23 -05:00
Jeff Epler
1d2cc0b968
I2CPeripheral: Rename class and its module
...
This is an incompatible change.
2020-06-25 11:44:19 -05:00
Nick
33496e9c68
Add nice!nano board support
2020-06-05 19:58:54 -05:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Scott Shawcroft
9380c34cf7
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
2020-05-27 10:47:08 -07:00
Dan Halbert
d06a7c4671
Correct HiiBot BlueFi USB_PID
...
Donated a PID set for HiiBot BlueFi.
2020-05-27 11:47:15 -04:00
Sean Cross
d0f1b59be5
nrf: pca10100: disable some unused features to shrink image
...
This removes some features that are largely unused in order to get the
image to fit.
Recommended in
https://github.com/adafruit/circuitpython/pull/2933#issuecomment-632859678
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:50 +08:00
Sean Cross
33001f4e19
nrf: simmel: shrink filesystem to fit watchdog timer
...
The watchdog timer has increased the amount of code and text that's
required.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:50 +08:00
Sean Cross
0169ea5155
nrf: discard arm exception sections
...
Since these exceptions are unused, don't include them in the output
binary.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:49 +08:00
Sean Cross
595f6387c2
watchdog: rename module from wdt
and move to microcontroller
...
This also places it under the `microcontroller` object.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:49 +08:00
Sean Cross
fbe1c05832
nrf: simmel: enable wdt support
...
This enables WDT support for Simmel. Other platforms cannot yet use
WDT because it overflows their flash storage.
Enable CIRCUITPY_WDT support for the nrf target.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:48 +08:00
Sean Cross
17ef2df2ca
nrf: ld: add ARM.exidx to output image
...
With the WDT changes, building Circuit Python results in the following error:
/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: section .ARM.exidx LMA [00000000000621c8,00000000000621cf] overlaps section .data LMA [00000000000621c8,0000000000062383]
This is because unwinding data is getting generated, but has nowhere to go.
Re-enable this data in the linker script so it is saved.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-27 11:28:48 +08:00
Dan Halbert
19f0d82048
Merge pull request #2955 from BradChan/master
...
Add hiibot_bluefi board definitions
2020-05-26 15:37:35 -04:00
Sean Cross
f002c784c0
nrf: linker: add a new .uninitialized section
...
This section immediately follows the .bss section, and is designed to
contain uninitialized variables that should persist across reboots.
The section is placed directly after .bss, under the theory that the
size of Circuit Python's .bss + .data is bigger than the bootloader's
.bss + .data, so there is less likely to be a conflict.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:17 +08:00
cyz
4f7b4241a2
add hiibot_bluefi
2020-05-18 09:42:37 +08:00
Sean Cross
ffaeeda749
nrf: simmel: decrease flash filesystem size
...
The flash filesystem must be reduced in order to allow the current
build to fit.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-12 09:31:51 +08:00
Sean Cross
f7fcd43516
nrf: simmel: disable SPIM3
...
Disable the SPIM3 controller to avoid needing to dedicate 8 kB to
the SPIM3 block.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-12 09:31:51 +08:00
Sean Cross
79c055f958
nrf: simmel: enable aesio
...
This adds AES support to simmel.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-12 09:31:51 +08:00
Sean Cross
235098efb8
nrf: simmel: correct CSn pin
...
The CSn pin is pin 6 on bank 1, not bank 0.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-12 09:31:51 +08:00
Scott Shawcroft
62b835ad76
Merge pull request #2833 from xiongyihui/pitaya-go
...
add nRF52840 based Makerdiary Pitaya Go
2020-05-11 16:34:27 -07:00
Dan Halbert
bae7a5e433
make translate again
2020-05-04 17:26:59 -04:00
Dan Halbert
4d7e341e44
Merge pull request #2844 from xobs/add-nrf-pca10100
...
nrf: add pca10100
2020-05-04 10:51:01 -04:00
Sean Cross
b128399d1e
nrf: simmel: enable CIRCUITPY_USB_HID
...
Simmel had USB HID disabled in order to save space. However, the board
configuration did not set USB_DEVICES, causing it to inherit the default
device bouquet of MSC,CDC,MIDI,HID. This in turn caused HID to be included
in the USB Configuration Descriptor.
For some reason, this was not a problem in an earlier version of tinyusb or
circuitpython. However, in the most recent version this has rightfully
caused asserts to appear during configuration.
Re-enable USB_HID for now, as it doesn't add too much in terms of space.
We may disable it again later on if we become pressed for space.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-04 15:37:53 +08:00
Sean Cross
cb4fc894d7
nrf: add pca10100
...
This is the nRF52833-DK board.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-04 15:07:49 +08:00
Yihui Xiong
7dd3ddc06b
use Nordic's VID which seems to be allowed
...
https://devzone.nordicsemi.com/f/nordic-q-a/50638/usb-pid-for-nrf52840
2020-05-01 06:10:43 +00:00
Scott Shawcroft
1ca90572f1
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-30 13:25:31 -07:00
Scott Shawcroft
74a2d0944a
Merge pull request #2834 from Teknikio/fix/bluebird_pinout
...
Update teknikio bluebird pin assignments
2020-04-30 11:50:02 -07:00
JoeBakalor
36a71560c2
update teknikio bluebird pin assignments
2020-04-30 09:58:27 -04:00
Yihui Xiong
4393a88fb6
add nRF52840 based Makerdiary Pitaya Go
2020-04-30 07:38:20 +00:00
Dan Halbert
180f5c6a94
Merge remote-tracking branch 'adafruit/master' into ringbuf-fixes
2020-04-29 22:11:22 -04:00
Scott Shawcroft
a30ff70b4e
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-29 10:51:21 -07:00
Sean Cross
1d0781bf12
nrf: add simmel board
...
This adds support for Simmel, an nRF52833-based bluetooth tracking
board designed to aid in pandemic tracing.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-29 11:40:00 +08:00
TG-Techie
b9e494b85a
add submodule to TG-Watch02A
2020-04-28 00:03:02 -04:00
TG-Techie
76b466a38a
add submodule to TG-Watch02A
2020-04-27 22:49:30 -04:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
Dan Halbert
77cd93ac2d
merge from adafruit
2020-04-21 17:47:51 -04:00
Dan Halbert
38ec3bc574
further ringbuf cleanup
2020-04-21 17:38:20 -04:00
Sean Cross
3ed5b87b8f
nrf: add support for nrf52833
...
This adds preliminary support for the nRF52833, which is a variant of
the nRF52840 with half the RAM, half the flash, and fewer peripherals.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-21 12:29:56 +08:00
Scott Shawcroft
b580b34cbf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-14 17:14:44 -07:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00
Scott Shawcroft
8fe512c7e9
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-03-31 15:13:58 -07:00
Jeff Epler
54e8c63b4f
Merge pull request #2730 from tannewt/fix_fourwire_phase_polarity
...
Add polarity and phase to FourWire.
2020-03-28 07:28:37 -05:00
Scott Shawcroft
798118b74f
Update board.c's to remove remaining tick.h
2020-03-27 14:52:35 -07:00
Scott Shawcroft
b043384949
Update built in display init
2020-03-27 14:35:29 -07:00
siddacious
9e0c00dfd4
adding a backlight polarity flag to Display
2020-03-25 22:51:20 -07:00
siddacious
7bba79363a
allowing backlight change
2020-03-25 22:41:23 -07:00
Scott Shawcroft
85f44e20cb
Merge pull request #2695 from TG-Techie/master
...
Add new TG-Watch02A to the nrf boards directory
2020-03-13 10:46:48 -07:00
TG-Techie
197dc344af
fix requested changes
2020-03-12 02:31:13 -04:00
TG-Techie
b967a2071f
changed TG-Watch02A HW_BOARD_NAME
2020-03-10 23:07:25 -04:00
TG-Techie
50b451ae0c
add TG-Watch02A board def
2020-03-10 22:40:55 -04:00
TG-Techie
fec84054d9
ah
2020-03-06 15:03:37 -05:00
TG-Techie
7198056bc3
Merge pull request #2 from adafruit/5.0.x
...
5.0.x
2020-03-06 13:57:31 -05:00
Dan Halbert
b6206406de
new pin validation routines; don't use mp_const_none if NULL will do
2020-02-28 23:43:04 -05:00
TG-Techie
527eb2444c
added TG-Watch02A pins
2020-02-28 04:11:54 -05:00
TG-Techie
6d4ffc69fd
add TG-Watch02A
2020-02-28 02:52:46 -05:00
ladyada
86e9fd170a
move red LED to D13 and make D3 lsm6ds IRQ
2020-02-25 18:00:23 -05:00
Scott Shawcroft
e97b0cfc61
Merge pull request #2581 from jamesbowman/master
...
First draft of eveL, the low-level module of the Gameduino bindings
2020-02-13 11:21:32 -08:00
Dan Halbert
e00b3269fe
use properly-sized SPI transactions
2020-02-12 15:04:19 -05:00
Dan Halbert
2e029d55fc
nrf: add SPIM3 support
2020-02-11 19:22:14 -05:00
Drew Fustini
3bf4b42e2e
change OH20 badge pin defs to use SWn for buttons
...
Rather than use A, B, C and D
Use the buttons according to silkscreen references:
SW1
SW2
SW3
SW4
2020-02-10 00:49:13 +01:00
Drew Fustini
0a54f88751
add pin defs for buttons on the OHS2020 badge
2020-02-10 00:32:16 +01:00
James Bowman
acef93a253
Rename eveL to _eve, EVEL to _EVE
2020-02-05 18:17:58 -08:00
James Bowman
7fd30e7d20
First draft of eveL, the low-level module of the Gameduino (and BridgeTek EVE) bindings.
...
[adafruit/circuitpython#2578 ]
2020-02-03 16:46:14 -08:00
Lady Ada
5a29b222eb
add bluefruit sense - tested
2020-02-03 13:52:30 -05:00
Michael Welling
64cafe82bc
Adjust OHS2020 madctl for default rotation
...
Make to go faster I guess.
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:14:10 -08:00
Michael Welling
6804b2a7fd
Add I2C pin definitions for interoperability with Adafruit libraries
...
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:13:39 -08:00
Michael Welling
33dcdd7c03
Updates to enable working SPI TFT
...
The backlight enable is active low on our board so the driver doesn't like it.
Toggling to GPIO manually for now.
As fixed the improper SPI bus pins definitions and it works!
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:13:03 -08:00
Michael Welling
d99c2ffe4f
QSPI flash fixes
...
We had the pin names swapped on the schematic and a different flash was populated.
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:11:12 -08:00
Lady Ada
dc964b346c
adjust CLUE madctl so rotation 0 is 'right'
2020-01-31 20:17:39 -05:00
Dan Halbert
be4e681d07
fix UICR check; do not use NULL for no MISO
2020-01-31 18:57:41 -05:00
Dan Halbert
4abd5f1f7b
increase max connections from 2 to 5
2020-01-31 14:58:23 -05:00
Dan Halbert
b6358182d3
Update CLUE to Rev C
2020-01-30 15:22:26 -05:00
Wojtek Siudzinski
df5e58fc6e
Add support for the Particle Ethernet FeatherWing
2020-01-28 10:53:50 +01:00
Lady Ada
f2dfcee042
add missing displayref
2020-01-26 20:10:20 -05:00
Dan Halbert
68f9aee992
reset NeoPixels on CPB on soft reload
2020-01-23 20:16:31 -05:00
Michael Welling
cc77e86408
Update the VID and USB company string
...
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 15:43:49 -08:00
Michael Welling
cc03d68984
Fix backlight pin registration
...
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 14:53:07 -08:00
Michael Welling
86d454adf3
Initial board support for OHS2020 Badge
...
Not tested but builds.
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 13:46:56 -08:00
Benny Meisels
4bf10a75c7
Add board definition files for AramCon Badge 2019
2020-01-16 00:44:18 +02:00
Scott Shawcroft
82fb761c0f
Add PacketBuffer and MTU negotiation support.
...
PacketBuffer facilitates packet oriented BLE protocols such as BLE
MIDI and the Apple Media Service.
This also adds PHY, MTU and connection event extension negotiation
to speed up data transfer when possible.
2020-01-03 17:29:54 -08:00
Dan Halbert
f0d34da556
add display support; rotation 270
2019-12-30 17:39:39 -05:00
Dan Halbert
3f9ebd2fed
initial CLUE board defn
2019-12-30 17:10:42 -05:00
JoeBakalor
2abccc1745
update vid and pid for teknikio_bluebird
2019-12-16 08:58:56 -05:00
JoeBakalor
32744a04e1
update bluebird make file
2019-12-13 09:08:21 -05:00
Joe Bakalor
3992a870e5
Merge branch 'master' into teknikio/bluebird
2019-12-13 08:55:15 -05:00
JoeBakalor
4bee6536c9
updates to bluebird
2019-12-13 08:52:03 -05:00
Joe Bakalor
b484c89b73
Merge pull request #4 from adafruit/master
...
Pull master
2019-12-13 08:51:06 -05:00
Dan Halbert
e11fabd5e0
moved nrf internal filesystem to just below bootloader
2019-12-12 14:57:23 -05:00
JoeBakalor
dde7c5e145
Merge branch 'master' of https://github.com/Teknikio/circuitpython
2019-12-12 08:59:37 -05:00
Joe Bakalor
bf4138b0e4
Merge pull request #3 from adafruit/master
...
Pull master
2019-12-12 08:59:22 -05:00
JoeBakalor
0da5dceccf
update bluebird makefile
2019-12-11 15:25:16 -05:00
JoeBakalor
a273a7c55e
add remaining peripheral pin maps and digital/analog pin definitions
2019-12-11 15:23:16 -05:00
JoeBakalor
006d85d5c2
add make file and board configuration, add accelerometer pin mappings
2019-12-11 14:49:59 -05:00
Dan Halbert
d9ca4c9a60
fix build failures
2019-12-10 22:39:44 -05:00
Dan Halbert
c6221c5956
Remove no-longer-used nrf and atmel-samd .ld files
2019-12-10 21:22:17 -05:00
Dan Halbert
68ae47907c
merge from upstream
2019-12-10 21:04:46 -05:00
Dan Halbert
013c840862
working on all ports
2019-12-10 20:27:30 -05:00
Dan Halbert
60f399395a
Add POWER_SWITCH pin to CPB
2019-12-09 18:30:24 -05:00
Dan Halbert
40434d6919
wip
2019-12-05 22:45:53 -05:00
Joe Bakalor
ba83a4a2ac
Merge pull request #1 from adafruit/master
...
Update base
2019-11-05 11:06:18 -05:00
JoeBakalor
8ab3ef44dd
add bluebird template files
2019-11-05 10:52:25 -05:00
Dan Halbert
8cd2f87e99
Merge pull request #2236 from tannewt/bleio_tweaks
...
Refine _bleio
2019-11-04 22:27:54 -05:00
Dan Halbert
e3638ffaad
Merge pull request #2262 from jepler/cpb-speaker-disable
...
cpb: Disable the onboard speaker until request
2019-11-03 18:34:29 -05:00
Dan Halbert
85a648224f
Check for no pullups on I2C on nrf; give arduino nano 33 ble two I2C devices
2019-11-02 22:47:03 -04:00
jepler
2bdccf03a7
cpb: define the SPEAKER_ENABLE_PIN
...
This allows the board to disable the onboard speaker until explicitly
enabled in user code.
Testing performed on a CPB:
* Touching the AUDIO pin with a fingertip no longer generates noise/buzz
* Generating a waveform with `simpleio.tone` produces no sound by default
* When the board.SPEAKER_ENABLE is configured as a digital output and
set True, `simpleio.tone` does produce sound
Note that while guides should include information about SPEAKER_ENABLE, it's
possible that some users who omitted it could view this as a breaking change.
They can fix it by simply adding code similar to
speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
speaker_enable.direction = digitalio.Direction.OUTPUT
speaker_enable.value = True
before using the internal speaker.
Closes : #2258
2019-11-01 16:26:03 -05:00
Scott Shawcroft
47e50e5659
Merge remote-tracking branch 'adafruit/master' into bleio_tweaks
2019-11-01 13:20:58 -07:00
Dan Halbert
e35eb08f1d
nrf: allocate two I2C on CPB
2019-10-28 21:08:53 -04:00
Dan Halbert
358920db0e
Use MICROPY_PY_SYS_PLATFORM in mpconfigport.h only
2019-10-28 10:40:10 -04:00
Jeff Epler
1103490223
Merge pull request #2244 from dhalbert/itsybitsy_nrf52840_express
...
Initial Itsy nRF52840 defn
2019-10-27 16:46:28 -05:00
Dan Halbert
ab6fd34828
add object types to rgb status objects;mark spi rgb objects as never_reset
2019-10-25 22:32:43 -04:00
Dan Halbert
7d04d9109e
use bitbang SPI for DotStar; still need to fix hw SPI for dotstar
2019-10-25 15:37:27 -04:00
Dan Halbert
cdeb0857a9
Initial Itsy nRF52840 defn
2019-10-25 11:15:34 -04:00
Scott Shawcroft
ae30a1e5aa
Refine _bleio
...
This PR refines the _bleio API. It was originally motivated by
the addition of a new CircuitPython service that enables reading
and modifying files on the device. Moving the BLE lifecycle outside
of the VM motivated a number of changes to remove heap allocations
in some APIs.
It also motivated unifying connection initiation to the Adapter class
rather than the Central and Peripheral classes which have been removed.
Adapter now handles the GAP portion of BLE including advertising, which
has moved but is largely unchanged, and scanning, which has been enhanced
to return an iterator of filtered results.
Once a connection is created (either by us (aka Central) or a remote
device (aka Peripheral)) it is represented by a new Connection class.
This class knows the current connection state and can discover and
instantiate remote Services along with their Characteristics and
Descriptors.
Relates to #586
2019-10-21 18:57:03 -07:00
Dan Halbert
7b79ac3739
Parameterize linker script
2019-10-20 23:50:12 -04:00
Dan Halbert
fc19e03128
WIP: bonding
2019-10-06 21:30:26 -04:00
Dan Halbert
aa1eed3bd3
initial Arduino Nano 33 BLE board definition
2019-09-26 15:28:57 -04:00
Dan Halbert
3c22c690c8
CPB A1 pin mapping wrong; remove A7
2019-09-06 14:17:11 -04:00
Dan Halbert
0b7291d767
fix default crystal value; fix include order
2019-08-22 09:01:05 -04:00
Dan Halbert
acc6df4959
merge similar fix in
2019-08-22 01:29:34 -04:00
Dan Halbert
d94023e9b3
Fix CPBlue LFCLKSRC; CPB has no status neopixel
2019-08-22 01:04:00 -04:00
Scott Shawcroft
85d7398476
Merge pull request #2066 from dhalbert/ble-pairing
...
BLE: more features
2019-08-16 14:50:00 -07:00
Dan Halbert
5877bd6036
CPblue initial definition
2019-08-13 22:12:36 -04:00
Dan Halbert
243334da75
Merge remote-tracking branch 'adafruit/master' into ble-pairing
2019-08-05 23:06:24 -04:00
Dan Halbert
c56566179a
Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files
2019-08-05 18:10:27 -04:00
Dan Halbert
28ca05ccdc
allow discovery from central or peripheral
2019-07-27 13:22:15 -04:00
Scott Shawcroft
a98bfa628e
Merge pull request #2002 from ntavish/blip_improvements
...
Blip improvements
2019-07-19 10:52:08 -07:00
Tavish Naruka
724ce4acba
enable libraries needed by BlipBoy Shield
2019-07-19 18:48:08 +05:30
Scott Shawcroft
6fad383367
Merge pull request #1925 from C47D/rgb_status
...
Initial support for RGB led as Status indicator, fixes #1382
2019-07-09 10:31:34 -07:00
Scott Shawcroft
5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
...
it's pins.
2019-07-06 12:48:16 -07:00
Tavish Naruka
4a7122d354
boards: add support for Electronut labs Blip
...
Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
2019-06-05 00:49:29 +05:30
Dan Halbert
c0ce820974
Merge pull request #1803 from nickzoic/circuitpython-nickzoic-1042-nrf-nvm-bytearray-3
...
Circuitpython nickzoic 1042 nrf nvm bytearray 3
2019-04-16 15:05:18 -04:00
Tavish Naruka
32a0855d18
Add support for Electronut Labs Papyr.
...
Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
2019-04-16 12:59:42 +05:30
Nick Moore
02dd32da60
Make some space for NVM adafruit/circuitpython#1042
2019-04-16 14:53:44 +10:00
Nick Moore
d0e5af3b09
Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
...
import microcontroller
def dump(n = microcontroller.nvm):
for i in range(0,len(n)):
print ("%02X " % n[i], end="")
if i % 16 == 15: print('')
microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
2019-04-16 14:53:44 +10:00
Nick Moore
933500c448
nvm.ByteArray reads & writes but no sensible erase yet adafruit/circuitpython#1042
2019-04-16 14:53:44 +10:00
Nick Moore
df89156f2f
Start on nRF nvm.ByteArray adafruit/circuitpython#1042 (doesn't do anything yet)
2019-04-16 14:53:44 +10:00
Scott Shawcroft
254d0a53ac
Revert "nrf nvm: touchups to nickzoic PR #1768 "
2019-04-15 18:50:33 -07:00
Dan Halbert
3618461f9b
Merge remote-tracking branch 'adafruit/master' into circuitpython-nickzoic-1042-nrf-nvm-bytearray-2
2019-04-10 14:09:26 -04:00
Nick Moore
fdaff00c78
Make some space for NVM adafruit/circuitpython#1042
2019-04-09 10:56:53 +10:00
Nick Moore
8e7fee2246
Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
...
import microcontroller
def dump(n = microcontroller.nvm):
for i in range(0,len(n)):
print ("%02X " % n[i], end="")
if i % 16 == 15: print('')
microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
2019-04-09 10:55:39 +10:00
Nick Moore
492431a694
nvm.ByteArray reads & writes but no sensible erase yet adafruit/circuitpython#1042
2019-04-09 10:54:11 +10:00
Nick Moore
f8e5e2da64
Start on nRF nvm.ByteArray adafruit/circuitpython#1042 (doesn't do anything yet)
2019-04-09 10:54:11 +10:00
Scott Shawcroft
0f003ac5b8
Reorganize board busses into shared-bindings and shared-module.
2019-04-08 16:58:50 -07:00
Dan Halbert
fe555a4098
Allow NFC pins to be used for other purposes.
2019-03-21 11:22:58 -04:00
Jerry Needell
bd13834a74
implement default busses for particle boards
2019-02-24 09:34:33 -05:00
Dan Halbert
9c24c804fb
Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most uses of EXPRESS_BOARD.
2019-02-18 22:44:31 -05:00
Dan Halbert
7b3f7605b8
address @tannewt changes: move and rename common files; remove PORT_HEAP_SIZE
2019-02-15 20:32:32 -05:00
Dan Halbert
a345ef28f2
finish Makefile refactoring; nrf builds work
2019-02-15 18:55:10 -05:00
Scott Shawcroft
6404aaf411
Fix up nrf and using board.SPI in FourWire
2019-01-17 18:19:07 -08:00
Scott Shawcroft
760bd8d8a4
share fourwire and make nrf compile
2019-01-17 15:15:59 -08:00
Scott Shawcroft
c1e6624f8f
Merge pull request #1470 from gpshead/mdk_usb_dongle
...
Add Makerdiary nRF52840 MDK USB dongle support.
2019-01-15 23:05:15 -08:00
dsiee
af0f1a7542
Update pins.c
...
whitespace
2019-01-16 15:02:48 +11:00
dsiee
c2d39a7ab7
Update pins.c
2019-01-16 14:58:16 +11:00
dsiee
ac238838f2
Update pins.c
...
add declaration for RED_LED as D3 to match silkscreen.
2019-01-16 14:48:41 +11:00
Gregory P. Smith
7296b647ef
Add MDK nRF52840 MDK USB Dongle support.
...
Adds support for https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/ .
A cheap nRF52840 USB stick with optional headers, very Trinket and Itsy like.
2019-01-15 01:37:22 -08:00
Dan Halbert
b6b5ed9c89
Remove nRF52832 support
2018-12-30 22:49:20 -05:00
Jerry Needell
55084b30ef
remome FRAMEBUF from nrf builds - use QSPI for particle ARGON
2018-12-27 09:38:35 -05:00
Scott Shawcroft
8fc72e8978
Add SPI and I2C to SparkFun nRF52840 mini definition and add it to Travis.
2018-12-10 20:32:19 -08:00
Scott Shawcroft
8a981dc8e8
Merge remote-tracking branch 'adafruit/master' into sfe840
2018-12-10 20:13:36 -08:00
Scott Shawcroft
6ef8639971
Rework safe mode and have heap overwrite trigger it.
...
This creates a common safe mode mechanic that ports can share.
As a result, the nRF52 now has safe mode support as well.
The common safe mode adds a 700ms delay at startup where a reset
during that window will cause a reset into safe mode. This window
is designated by a yellow status pixel and flashing the single led
three times.
A couple NeoPixel fixes are included for the nRF52 as well.
Fixes #1034 . Fixes #990 . Fixes #615 .
2018-12-06 14:24:20 -08:00
Scott Shawcroft
b25bf062fb
Add correct flash chip for Particle Mesh boards
2018-12-04 18:20:51 -08:00
Scott Shawcroft
15c1fc873c
Add particle boards, fix cp32 and try to speed up atmel build
2018-12-04 18:20:48 -08:00
Dan Halbert
63cd9209f1
allow KeyboardInterrupt on UART read; fix nrf UART pin claiming; rename feather 52840 UART pins
2018-12-04 15:05:39 -05:00
jimblom
09316b35d7
remove non-broken-out nrf pins. re-organize pins.c list.
2018-11-30 14:58:36 -07:00
jimblom
f67814fc97
Adding SparkFun nRF52840 Mini board support.
2018-11-30 13:57:22 -07:00
Scott Shawcroft
d446d328d8
Fix QSPI on Feather nRF52840
...
We were writing with quad page program including the address (0x38)
which is unsupported by the GD25Q16C but it is supported by the
flash on the DK. So, we use the single address, quad data command
(0x32).
2018-11-27 00:13:24 -08:00
Scott Shawcroft
15eeac5d4b
A few fixes for nRF52840 feather QSPI and neopixel
2018-11-23 14:22:07 -08:00
Dan Halbert
5fe746f643
Latest Feather nRF52840 pin revisions
2018-11-21 19:46:49 -05:00
Scott Shawcroft
9d91111b1b
Move atmel-samd to tinyusb and support nRF flash.
...
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.
Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.
2018-11-08 17:25:30 -08:00
Dan Halbert
64d457dad9
bring bleio PR up to date
2018-11-07 14:12:22 -05:00
arturo182
d5a71a4b8a
nrf: Move bluetooth driver to the 'bluetooth' folder
2018-10-21 15:55:25 +02:00
Josh Klar
aefabc5353
Update docs to reflect proper size of device
2018-10-20 03:29:20 -07:00
Josh Klar
4c75a60bd3
Declobber a DEFINE
2018-10-20 02:57:17 -07:00
Josh Klar
16ca9c8c7c
Makefile fixes and some docs
2018-10-20 02:43:13 -07:00
Josh Klar
3d7b96aeb1
Add board and pin defs for MakerDiary NRF52840 MDK
2018-10-20 02:43:12 -07:00
hathach
f724647a45
fix feather nrf52840 build error
2018-09-25 17:09:54 +07:00
hathach
2f0e0bdcaf
migrate serial from uart to uarte
2018-09-25 16:14:44 +07:00
hathach
7a1b4ccc9b
Merge branch 'master' into nrf52_uart_io
2018-09-24 12:50:48 +07:00
hathach
c5593ec074
got uart tx work
2018-09-19 17:59:15 +07:00
hathach
1df3bcf392
add board.UART() function
2018-09-19 14:40:37 +07:00
hathach
d8c8c5f005
remove CFG_HWUART_FOR_SERIAL
2018-09-18 20:26:50 +07:00