Commit Graph
209 Commits
Author SHA1 Message Date
hathach 900749e60c fix compile linkage issue with debug.cpp 2018-09-11 10:55:33 +07:00
hathach fcf183344a fix missing brace 2018-09-07 14:27:53 +07:00
Petr Nejedly 4beb472c6f Fix upstream issue #171: Better choice of pin interrupt priority
Nordic SoftDevice needs to have control over lowest priority interrupts
for reliable, timing sensitive operation. If user code tries to use
such a low priority level, SoftDevice refuses to start.
One way to overcome this limitation is to start the SoftDevice before
attaching pin change interrupts, though in such a case, SD will
cap the effective priority of the user interrupt anyway and it is
a common mistake API users do. This change simply changes the priority
to 2, which is legal (for fast interrupt handlers anyway) under SoftDevice,
no matter if attached before of after SD start.
2018-09-01 12:46:57 -07:00
hathach 5cfdb28264 fix deubg.cpp issue #176 2018-09-01 00:17:36 +07:00
Ben Artin 02c79ffe1f It’s the offset, not the data, that adusts to size 2018-08-20 21:44:28 -04:00
Ben Artin 23f88ea19b Fixed dbgDumpMemory for buffers > 255 bytes 2018-08-20 21:23:50 -04:00
hathach e6c4b0ff7e support serialEvent() 2018-07-12 16:51:28 +07:00
hathach 1977aea69e correct update digitalPinToPort/portOutputRegister 2018-07-12 16:19:27 +07:00
hathach 456cb4a628 fix PWM max_value type cause incorrect servo behavior (640Hz instead of 50hz) 2018-07-12 15:58:01 +07:00
hathach 7ddfde20e6 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2018-04-05 12:20:36 +07:00
hathach 5a850a00cb fix changelog typo 2018-04-03 14:56:20 +07:00
Kevin Townsend fe395ec964 Merge pull request #90 from Ureloc/master
Fixed using VDD as analog reference
2018-02-26 12:58:02 +01:00
hathach fe8099c0af Prevent sketch compiled with S132 v2 upload to device running S132 v5 and vice versa 2018-01-10 13:21:59 +07:00
hathach 1d94b165db Merge branch 'master' into s132v5 2017-12-22 14:15:11 +07:00
hathach 43b7637a60 add configPrphBandwidth() and configCentralBandwidth() 2017-12-22 13:40:10 +07:00
hathach a3ff2e8415 clean up 2017-12-20 15:47:07 +07:00
hathach 6969926562 more clean up 2017-12-20 15:38:40 +07:00
hathach 3b406854ea correct version number 2017-12-20 15:20:54 +07:00
hathach dc0b679332 print error string instead of hex code 2017-12-20 14:22:47 +07:00
hathach 5607011996 update debug.cpp
- added error string
- reduce default attr table size from 0xb00 to 0x800
2017-12-20 14:10:38 +07:00
hathach 56375f5449 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-12-18 22:57:29 +07:00
hathach 6478ca17be fix #108
make sure all bits in OUTSET is set HIGH when reset
2017-12-18 22:57:05 +07:00
hathach 794cc86989 fix #108
make sure all bits in OUTSET is set up on reset.
2017-12-18 22:52:46 +07:00
hathach 1f15da7ae0 Enable data length extension 2017-12-14 16:57:19 +07:00
hathach 3bd9ffa1c2 complete moving softdevice headers 2017-12-12 16:27:26 +07:00
hathach 098af5eca3 update s132 5.1.0 headers 2017-12-12 16:12:58 +07:00
hathach c95ffecc52 move s132 header file 2017-12-12 16:11:35 +07:00
hathach 0500104c49 update bootloader to 5.1.0 2017-12-12 13:15:31 +07:00
hathach ea73d76513 add printBufferReverse 2017-11-22 09:11:24 +07:00
hathach f930d496a7 clean up 2017-11-08 16:50:33 +07:00
Brandyn Burbank e61fbe9a68 Allow HardwarePWM::addPin method to return true if _count == MAX_CHANNELS, but pin passed was already configured. Return false if trying to add a new pin more than MAX_CHANNELS. 2017-11-05 18:58:41 -07:00
hathach 4970eb116c implement HAP write value and read value response
improve debug visibility
2017-10-26 14:46:22 +07:00
hathach 39ddbb5763 improve log visibility 2017-10-26 13:25:56 +07:00
Ureloc 501dba8f99 Fixed using VDD as analog reference
The analog gain is a bit confusing as the input range is calculated by dividing Vref by the gain not multiplying. Using VDD as ref results in an input range of (VDD/4)/gain therefore if a range of 0...VDD is needed gain must be 1/4 not 4 (check p363 of product spec)
2017-10-26 07:15:44 +02:00
hathach 0f17739b2d change the linker memory for homekit 2017-10-25 22:53:44 +07:00
Ureloc 52752f378b Cleaned up analogOversampling()
Removed unneeded code
2017-10-25 15:46:50 +02:00
Ureloc 92b638100c Implemented Uart::flush() 2017-10-25 14:35:08 +02:00
Ureloc 8c8d64315c Added analog oversampling
Implemented analog oversampling which allows any analog pin to be automatically sampled muliple times (upto 256) when analogRead() is used. An average of the samples is then returned.
2017-10-25 13:57:56 +02:00
hathach 3a6f88f704 clean up char handler 2017-10-16 17:31:04 +07:00
hathach 4512b96893 more rename 2017-10-10 15:19:21 +07:00
hathach 977db83497 rename CMSIS folder 2017-10-10 15:18:47 +07:00
hathach ec263bbe8d implement configurable ATT MTU #81 2017-10-10 15:16:30 +07:00
hathach 9cf9035434 clean up 2017-10-09 23:05:30 +07:00
hathach 72e3513bfd fix memory debug str issue 2017-10-09 18:56:14 +07:00
hathach 8d04c410e9 fix event logging issue 2017-10-09 17:42:03 +07:00
hathach f2e1aa7fe4 SRAM enhancement 2017-10-09 15:19:47 +07:00
hathach 881b33d219 clean up 2017-10-06 13:02:27 +07:00
hathach 9421a43b80 rename BLE_GATT_ATT_MTU_DEFAULT 2017-10-05 16:05:35 +07:00
hathach b339718520 fix sd includes 2017-10-05 15:20:47 +07:00
hathach 3f6c8f55dd add softdevice header for v500 2017-10-05 14:44:36 +07:00