Commit Graph
1313 Commits
Author SHA1 Message Date
hathach f0ca568d36 update service specs 2019-11-08 00:18:41 +07:00
hathach ca4bbc5bfe adding Accel service 2019-11-07 01:30:18 +07:00
hathach bf4ac6ba71 adding Adafruit Neo Pixel service 2019-11-06 23:10:38 +07:00
hathach 205587c30a ading Adafruit Temperature Service 2019-11-06 10:00:59 +07:00
hathach 0bcf55cc44 Merge branch 'master' into develop 2019-11-05 15:59:26 +07:00
hathach dc8b43f2b7 increase version for release, update changelog 2019-10-30 16:02:26 +07:00
hathach 56c0a7885a image upload: add support for cplay bluefruit + tft gizmo 2019-10-23 22:07:32 +07:00
hathach 76250429ac update changelog and version, ready to release 2019-10-21 11:51:12 +07:00
hathach e27856c7ab Merge pull request #362 from adafruit/2nd-i2c
add second hardware i2c as Wire1 for cplayground bluefruit
2019-10-21 11:48:23 +07:00
hathach e43abed51c add i2c master scan 2019-10-21 10:35:12 +07:00
Limor "Ladyada" Fried a1259bb0fc Merge pull request #361 from adafruit/spi-highdrive
use high drive H0H1 for SCK and MOSI for better performance at highseed 32Mhz
2019-10-19 13:33:32 -04:00
hathach 74b2463953 add second hardware i2c as Wire1 for cplayground bluefruit 2019-10-18 16:09:21 +07:00
hathach 719e154f0a Merge branch 'master' into develop 2019-10-18 12:09:37 +07:00
hathach bdb2c82714 use high drive H0H1 for SCK and MOSI for better performance at highspeed 32Mhz 2019-10-18 12:03:42 +07:00
hathach 64d8bcbc61 Merge pull request #360 from adafruit/spi-dma
use SPIM3 for nrf52840 with maximum speed at 32 Mhz
2019-10-18 10:42:35 +07:00
hathach 4d26a6f019 clean up warnings 2019-10-18 00:02:56 +07:00
hathach ecd000158c clean up warnings 2019-10-17 23:45:25 +07:00
hathach 93c6a97f9d clean up 2019-10-17 22:20:10 +07:00
hathach 470628d6c6 clean up spi 832 2019-10-17 21:37:40 +07:00
hathach 9eee868573 add transfer(tx_buf, rx_buf, count) for 832 2019-10-17 21:31:22 +07:00
hathach 52039945ee use legacy SPI for 832, SPIM for 840 due to 832's silicon errata 2019-10-17 16:49:53 +07:00
hathach 6b61e9ad40 use SPIM3 & SPIM2 for SPI, I2C will use SPIM0/SPIM1 2019-10-17 12:24:26 +07:00
hathach d340ce999e update example to use new define, fix build error 2019-10-17 10:30:34 +07:00
ladyada 061e85b04b fix servo to work on our boards 2019-10-16 23:19:20 -04:00
hathach a4d4b1e1d8 defines clean up
- remove ARDUINO_FEATHER52
- remove ARDUINO_NRF52_FEATHER (use either ARDUINO_NRF52832_FEATHER or
ARDUINO_NRF52840_FEATHER)
- ARDUINO_NRF52840_CIRCUITPLAY defined for circuit playground bluefruit
2019-10-17 09:48:31 +07:00
hathach 0fa5b8abca fix nrf52832 build error
need more testing with 832, since it failed with SD.begin()
2019-10-16 23:27:30 +07:00
hathach f1e9877408 change I2C to use NRF_TWIM0/SPIM0 instead of NRF_TWIM1/SPIM1 for simplicity 2019-10-16 22:47:00 +07:00
hathach 3d2bd10671 re-write SPI to use SPIM with easyDMA 2019-10-16 19:40:27 +07:00
hathach e366230efc use spim3, testing with 32Mhz 2019-10-16 01:06:17 +07:00
hathach 3adc899f81 spi dma work but it actually draw image slower than before 2019-10-16 00:53:26 +07:00
hathach 46b9269b9b skip homekit example
follow up to #356
2019-10-15 16:45:15 +07:00
hathach ec90ceb3d8 clean up flash 2019-10-15 16:39:36 +07:00
Thomas Amberg 68a1f0f5db Rename homekit_lightbulb.ino.cpp to homekit_lightbulb.ino 2019-10-14 17:13:28 +02:00
ladyada 2c5d06993f fix demo to work with CPB 2019-10-12 01:53:27 -04:00
hathach d8099f484d clean up 2019-10-10 18:51:39 +07:00
Henry Gabryjelski 4904ee5a9d Fix printf format specifier to match length of data type.
Here, LFS uses an int for return value, which is 16-bit.
The VERIFY_MESS expects a 32-bit value, so cast here at
the boundary between the two sets of files.
2019-10-05 18:02:26 -07:00
Henry Gabryjelski f0f6b1041a Fix printf format specifier to match length of data type. 2019-10-05 18:02:09 -07:00
Henry Gabryjelski f3cc656b4c Fix printf format specifier to match length of data type. 2019-10-05 18:01:53 -07:00
Henry Gabryjelski 659687bac4 Fix printf format specifier to match length of data type. 2019-10-05 17:35:11 -07:00
Henry Gabryjelski e62e803fc4 Fix format string to match number of arguments passed. 2019-10-05 17:04:43 -07:00
Henry Gabryjelski bcf88a87fd Fix typo from null to nullptr. 2019-10-05 12:03:32 -07:00
Henry Gabryjelski e92d18e152 Fix warning caused by conditional expression that is always true.
After all, a uint8_t is alwasy <= 0xFF.
2019-10-05 12:03:32 -07:00
Henry Gabryjelski 44599b6e7a Fix another warning caused by comparison between signed/unsigned values. 2019-10-05 12:03:32 -07:00
Henry Gabryjelski 9de7595758 Ensure stack variable fields are initialized, prior to calling
a function that uses the fields (two lines later).
2019-10-05 12:03:31 -07:00
Henry Gabryjelski 4dc9d4f779 Update code to avoid comparisons between signed and unsigned integers.
Add verbose comments to show that the values changed from signed to
unsigned, for the current code, would always be positive values.

Add verbose comments to clarify the meaning of local variables.

Add verbose comments to show all three possible states at all key
computation points, for the higher cyclomatic complexity code block.
2019-10-05 12:03:31 -07:00
hathach 68f23b0465 bump up version for release 2019-09-27 10:43:21 +07:00
hathach 3e978f5ea6 follow up to pr #336 bledis
- inline function for no-length API
- clean up using strarr_len
- handle PNP_ID char
2019-09-26 15:00:35 +07:00
hathach 5f1b5d5f25 Merge pull request #336 from elral/elral-bledis
Additional Device Informations for ble
2019-09-26 12:24:27 +07:00
hathach 75f8a054f8 everything works well:) 2019-09-24 12:28:10 +07:00
hathach c31deb3a5b update image upload to support color depth 16 or 24 bit. 2019-09-23 16:34:24 +07:00