Commit Graph
227 Commits
Author SHA1 Message Date
Kevin Townsend e938b724bf Changed digitalPinToPort to return NRF_GPIO
The nRF52 only has a single 32-bit GPIO bank, and the OUT/OUTSET/OUTCLR/IN registers don't have a concept of 'port'
2017-02-14 02:08:34 +01:00
microbuilder 0739a87166 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-14 01:38:56 +01:00
microbuilder 6c4eeac2ba Changed OUTSET to OUT 2017-02-14 01:38:46 +01:00
hathach ea69011f9e add bleuart rx callback for user 2017-02-13 22:51:07 +07:00
microbuilder c834c6ba7e Set default back to Internal and 1/6 gain 2017-02-13 14:05:13 +01:00
hathach d41cc16ed2 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-13 17:11:35 +07:00
hathach 461dd11b6f update bootloader to fix auto run application after flash 2017-02-13 17:11:13 +07:00
hathach df80f2e786 analogRead()fix for nrf52
https://github.com/sandeepmistry/arduino-
nRF5/commit/c98a190eb34c0247eb8e0764a6367c7f9e51d2fc
2017-02-13 14:40:52 +07:00
Kevin Townsend c1475da668 Cleanup 2017-02-13 02:29:14 +01:00
Kevin Townsend e2a563312c Cleanup 2017-02-13 02:27:51 +01:00
Kevin Townsend 36361d5ed0 Cleanup 2017-02-13 02:25:48 +01:00
hathach 7bc3809495 rename enableLedConn() to autoConnLed() 2017-02-10 20:10:21 +07:00
hathach ba434a6c7d add CFG_ADV_BLINKY_INTERVAL instead of hardcoded number 2017-02-10 20:09:18 +07:00
microbuilder a642c1f637 Updated BLE LED blinky rate 2017-02-10 12:53:01 +01:00
microbuilder ceeec80e33 Updated blinky pattern 2017-02-10 12:52:46 +01:00
hathach 7cf9d485cb Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-10 18:20:03 +07:00
hathach 08464a9d4d update blinky pattern
- advertising : blinky at 250ms
- connected: solid on
- otherwise: off
2017-02-10 18:19:23 +07:00
Kevin Townsend 46a2a83001 Updated blinky for automatic BLE LED control 2017-02-10 11:07:02 +01:00
hathach 1129099eb7 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-10 16:48:39 +07:00
hathach 5055b01229 clean up 2017-02-10 16:40:40 +07:00
hathach 13bb0e3066 add Mouse support for blehidadafruit 2017-02-10 16:24:47 +07:00
hathach 0ebf2d4dca add ledOff ledOn ledToggle function 2017-02-10 13:27:27 +07:00
ladyada 8f0b132964 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-09 22:33:03 -05:00
ladyada ba08514fb9 extra named pins 2017-02-09 22:32:59 -05:00
microbuilder a6e828ed00 Added blinky 2017-02-09 21:28:07 +01:00
microbuilder 167070f3dc Fixed WIN32 check error 2017-02-09 17:05:33 +01:00
microbuilder a9e0508140 Set ADC defaults to internal (0.6V) ref and 1/6 gain (GND..3.6V) 2017-02-08 19:47:36 +01:00
microbuilder 957f6c90e7 Reads Basic HW Info 2017-02-08 00:16:41 +01:00
microbuilder 051e461253 Changed name to Bluefruit nRF52 Feather 2017-01-26 18:00:02 +01:00
hathach d86127990a adding consumer key support
- correct Keyboard with 1 input & 1 output report
- hidgeneric report ID starting from 1, (index is from 0)
2017-01-25 15:22:14 +07:00
hathach ffae8db151 updating demo 2017-01-25 14:45:11 +07:00
hathach f661313702 fix build error with cpp 2017-01-25 01:28:05 +07:00
hathach e9bf3775da update bootloader binary with S132 v201 2017-01-25 01:17:44 +07:00
hathach 2473cb1e2f update S132 header to v2.0.1 2017-01-25 01:14:16 +07:00
hathach 5766aa3d10 add BLECharacteristic::setTempMemory() to explicitly exclude chars from managing table 2017-01-25 01:09:49 +07:00
hathach a6861aee31 clean up, update HID 2017-01-24 16:04:53 +07:00
hathach 4142ee63e4 separating BLEHidGeneric and BLEHidAdafruit
- adding support for output report
2017-01-24 14:10:14 +07:00
hathach 3148b1ec88 add connect/disconnect callback #8 2017-01-24 13:36:39 +07:00
hathach 0bbb930286 complete rename 2017-01-24 00:54:20 +07:00
hathach 83f7782223 rename BLEHid to BLEHidGeneric
safer new with malloc
2017-01-24 00:53:33 +07:00
hathach e82c4e9a77 nrfutil remove progressbar since it does not work with Arduiono log 2017-01-23 14:52:09 +07:00
hathach 511384fdf4 reduce flash operation wait time using ratio 2017-01-23 13:46:26 +07:00
hathach fae7998836 nrfutil clean up 2017-01-22 01:20:07 +07:00
hathach 396bf432a9 update windows binary for nrfutil #9 2017-01-21 19:56:23 +07:00
hathach 18f3a82e4c fix #9
Looking closely at the bootloader update progress.

- After transferring the image, the nrf52 save new image in bank1, which
it will perform crc check

- If success then COPY new firmware from bank1 to bank0, erasing bank 0
and writing to bank 0

The issue is after sending the firmware and getting confirm that crc is
matched, nrfutil finished. And Arduino IDE re-open Serial which cause
nrf52 reset while in the middle of erasing bank 0 & writing bank 0. The
solution is simple calculate the delay which is time to erase + time to
write bank0

Worst Erase Page Time is 90 ms
Worst Write One Word Time is 338 us
2017-01-21 19:01:47 +07:00
hathach 37584ebf7f add key sequence function 2017-01-21 01:29:51 +07:00
hathach ce76cc5405 change NRF_SUCCESS to ERROR_NONE 2017-01-21 01:19:58 +07:00
hathach 5042dbc00d correct lastService and Parent Service behavior 2017-01-21 01:11:30 +07:00
hathach 113f8ed5b8 tested BLE Hid keyboard 2017-01-20 22:30:01 +07:00
hathach 0c8717180d fix compile error 2017-01-20 20:59:52 +07:00