hathach
f31b8ec41d
change characteristic write callback signature
2017-02-28 17:12:12 +07:00
hathach
57e3fdd4e3
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2017-02-28 15:29:47 +07:00
hathach
839f89af93
auto change connection interval to 11.25 - 15ms when starting BLEHidAdafruit
2017-02-28 15:20:29 +07:00
microbuilder
1399cdf794
Additional ADC options
2017-02-27 12:25:06 +01:00
hathach
7fbe44cd31
update debug facilities
2017-02-22 01:28:49 +07:00
hathach
1196ba52ba
clean up warnings
2017-02-21 23:14:03 +07:00
hathach
06cca54daa
clean up menu, add DEBUG Level menu
2017-02-21 23:11:38 +07:00
hathach
48bdfa7c59
add syscal_newlib for malloc
2017-02-21 22:45:31 +07:00
hathach
0de954ca66
add printBuffer to Print
2017-02-20 15:40:19 +07:00
hathach
ecdc351087
update central to support up to 4 conn with 1 shared secure connection
...
- adjust SRAM for bluefruit & loop task
- adjust BLE_GATTS_ATTR_TABLE_SIZE from 0x1000 down to 0x0B00
2017-02-18 01:41:07 +07:00
hathach
ecedd3d0e2
refactor linker & startup for dynamic checking stack & heap usage.
...
- add syscall __sbrk() for malloc function
- add dbgMemInfo() is visual format
- FreeRTOS enable : configCHECK_FOR_STACK_OVERFLOW,
configUSE_MALLOC_FAILED_HOOK, configUSE_TRACE_FACILITY,
configUSE_STATS_FORMATTING_FUNCTIONS
2017-02-17 23:07:30 +07:00
hathach
f0c0cec1c2
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2017-02-16 16:42:19 +07:00
hathach
2faf78ca9b
add basic central support
...
- scanning with callbacks
- add setConnLedInterval() to change period of auto led
2017-02-16 16:40:51 +07:00
Kevin Townsend
99e0b384e8
Revert NRF_GPIO update
2017-02-14 03:57:30 +01:00
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
6c4eeac2ba
Changed OUTSET to OUT
2017-02-14 01:38:46 +01:00
microbuilder
c834c6ba7e
Set default back to Internal and 1/6 gain
2017-02-13 14:05:13 +01:00
hathach
df80f2e786
analogRead()fix for nrf52
...
https://github.com/sandeepmistry/arduino-
nRF5/commit/c98a190eb34c0247eb8e0764a6367c7f9e51d2fc
2017-02-13 14:40:52 +07:00
hathach
1129099eb7
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2017-02-10 16:48:39 +07:00
hathach
0ebf2d4dca
add ledOff ledOn ledToggle function
2017-02-10 13:27:27 +07: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
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
2473cb1e2f
update S132 header to v2.0.1
2017-01-25 01:14:16 +07:00
hathach
a6861aee31
clean up, update HID
2017-01-24 16:04:53 +07:00
hathach
83f7782223
rename BLEHid to BLEHidGeneric
...
safer new with malloc
2017-01-24 00:53:33 +07:00
hathach
ce76cc5405
change NRF_SUCCESS to ERROR_NONE
2017-01-21 01:19:58 +07:00
hathach
0c8717180d
fix compile error
2017-01-20 20:59:52 +07:00
hathach
0df6ceeb2a
fix digitalRead(), remove g_ADigitalPinMap[] fix #10
2017-01-20 20:55:02 +07:00
hathach
5885868343
finish nffs demo
2017-01-17 15:04:37 +07:00
hathach
bd188d7ad6
finally able to build
2017-01-14 01:02:23 +07:00
hathach
09ae3f22ce
move files around
2017-01-11 13:56:45 +07:00
hathach
f417662b83
fix OTA with freeRTOS
2017-01-10 21:40:27 +07:00
hathach
eddddb7472
remove delay_blocking
2017-01-10 21:37:41 +07:00
hathach
26a58c25f9
use RTOS get tick() API for millis() and micros() function.
2017-01-10 16:13:38 +07:00
hathach
525fee8aef
increase rtos tick to 10000 (10x)
2017-01-09 22:12:37 +07:00
hathach
cfd3b86533
fix printFloat
...
- Move buffer malloc into adafruit_fifo constructor
- allo BLEUart to set fifo size
2017-01-09 21:45:58 +07:00
hathach
7ffc7c717b
controller work with pad, color picker
...
has issue with stream sensor data
2017-01-09 17:15:46 +07:00
hathach
7b77fe8595
make delay to use rtos API
...
- also add delay_blocking() for non-rtos API function. Useful for
calling in ISR or when scheduler is not started yet.
- Make setup() invoked insided loop task since user may use setup() to
do most of their work calling RTOS API.
2017-01-09 17:09:38 +07:00
hathach
c4f98edb17
clean up
2017-01-09 16:16:44 +07:00
hathach
30c735a68f
add digitalToggle() for convenience
2017-01-09 16:00:53 +07:00
hathach
b278db8755
use counting semaphore for tx buf management
2017-01-06 23:47:29 +07:00
hathach
9535c64051
clean up
2017-01-06 21:20:58 +07:00
hathach
d7bff70718
finish rtos blinky
2017-01-06 18:51:37 +07:00
hathach
11ee5666bd
FreeRTOS config
...
- use systick instead of RTC for tick timer
- use std malloc/free from nanolib
- increase HEAP size to 24KB (TODO should be all memory that left)
2017-01-06 17:57:35 +07:00
hathach
1ca749ba04
add freeRTOS files
2017-01-06 13:32:21 +07:00
hathach
08f50a6d86
increase ATTR TABLE SIZE to 4KB
...
- add printf support of Print.cpp
- init LED as input upon power
- remove SD Call warning -Wno-unused-parameter
- Add LED_CONN define
2016-12-26 14:56:07 +07:00
hathach
a73c7c4714
clean up
2016-12-09 14:35:34 +07:00
hathach
cc18f99509
fix compile error with bleperipheral lib
2016-11-30 00:24:14 +07:00
hathach
6151838f8f
adding file from sandeepmistry/arduino-nRF5
2016-11-22 01:08:21 +07:00