Commit Graph
2115 Commits
Author SHA1 Message Date
hathach ec90ceb3d8 clean up flash 2019-10-15 16:39:36 +07:00
hathach d8099f484d clean up 2019-10-10 18:51:39 +07:00
hathach b9d586b56c Merge pull request #347 from henrygab/PatchMulti
Compile without warnings
2019-10-09 16:52:20 +07:00
Henry Gabryjelski 31180ec404 Fix printf format specifier to match length of data type. 2019-10-05 18:03:59 -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 a5ce35904f Reduce compiler warnings due to format string mismatches. 2019-10-05 17:25:48 -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 8dbe7d9503 Merge pull request #349 from adafruit/develop
sync with tinyusb core from samd with folowing PRs
2019-10-05 09:07:14 +07:00
hathach d82401e9e7 sync with tinyusb core from samd with folowing PRs
- https://github.com/adafruit/ArduinoCore-samd/pull/179
- https://github.com/adafruit/ArduinoCore-samd/pull/173
- https://github.com/adafruit/ArduinoCore-samd/pull/172
- https://github.com/adafruit/ArduinoCore-samd/pull/170
- https://github.com/adafruit/ArduinoCore-samd/pull/169
- https://github.com/adafruit/ArduinoCore-samd/pull/168
2019-10-04 22:49:19 +07:00
hathach 66b9c14aad fix #348, forgot to add bootloader bin files 2019-10-02 10:44:02 +07:00
hathach fc6372836b update release date 2019-09-27 12:38:14 +07:00
hathach dfd4b9ad8c Merge pull request #342 from adafruit/develop
Update changelog and version, ready for new release
2019-09-27 12:08:35 +07:00
hathach f7766078bb more changelog 2019-09-27 10:45:58 +07:00
hathach 68f23b0465 bump up version for release 2019-09-27 10:43:21 +07:00
Adafruit Adabot 62f9212454 fix SPI definition - tested with TFT Gizmo 2019-09-26 18:22:41 -04:00
hathach 343c9467b1 Merge pull request #341 from adafruit/develop
follow up to pr #336 , close #335
2019-09-27 00:10:28 +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
Limor "Ladyada" Fried d19720bb0f Merge pull request #340 from adafruit/develop
Update bootloader binary to to 0.2.13 version
2019-09-25 12:04:24 -04:00
hathach 5c3de67832 Update bootloader binary to to 0.2.13 version (upgrade is optional) 2019-09-25 15:03:27 +07:00
hathach 5b9690c52c update changelog 2019-09-25 11:55:42 +07:00
hathach dbfa666107 Merge pull request #338 from adafruit/develop
finished image upload feature
2019-09-24 14:32:05 +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
hathach 460222ba21 add deferred option to BLEUart setRxCallback() 2019-09-23 15:33:05 +07:00
hathach 940e902edd BLECharacteristic falls back to immed call if ada callback failed 2019-09-23 15:32:36 +07:00
hathach 31ed8a4fbb improve ada callback, return false if there is not enough memory. 2019-09-23 15:28:13 +07:00
hathach e57a039d63 suspend callback task when reszing, still there is chance to run into issue. 2019-09-23 11:37:36 +07:00
hathach e400dc895d fix newlib nano _sbrk() is not linked for checking heap 2019-09-23 11:33:32 +07:00
hathach 2a4185573b reduce task stack size
- ble      task from 512*3 -> 256*5
- loop     task from 512*3 -> 256*4
- callback task from 512*2 -> 256*3
- usbd     task from 150   -> 200
2019-09-19 16:42:36 +07:00
hathach 8395b5e8e4 clean up 2019-09-18 16:01:30 +07:00
hathach 144bbb531a upgrade image_upload, able to handle write without response 2019-09-18 12:03:39 +07:00
hathach d7caa6405a improve ada callback, automatically resize queue depth when needed 2019-09-18 12:02:36 +07:00
hathach c54d4ed2e8 change license from BSD to MIT for bluefruit.h 2019-09-18 12:00:30 +07:00
hathach 5a4b00fa98 add BLEUart overflowed callback 2019-09-18 12:00:02 +07:00
hathach d2fb5785dd clean up 2019-09-18 11:57:49 +07:00
ladyada 63e948ab00 rearrange pins so LIS IRQ is on D27 2019-09-12 16:50:34 -04:00
elral 23f57ebf79 Update BLEDis.h 2019-09-02 08:12:29 +02:00
elral d2c50dd8e8 Update BLEDis.cpp 2019-09-02 08:08:33 +02:00
hathach d900149a61 fix travis build 2019-08-27 11:10:05 +07:00
hathach 57bf2d0964 increase event length to 100 for max bandwidth 2019-08-27 09:43:17 +07:00
hathach 1189249640 use queue static API for adacallback, increase CFG_CALLBACK_QUEUE_LENGTH to 80 2019-08-27 00:43:27 +07:00