Commit Graph
2580 Commits
Author SHA1 Message Date
Ha Thach 6c66cd13cf Merge pull request #558 from kevinfrei/resume-task
Add resumeLoop functionality
2020-08-18 10:52:15 +07:00
Kevin Frei 147c8246ac Removed the declaration for the unneeded function. 2020-08-17 09:54:42 -07:00
Kevin Frei 0a656410be No need for the separate ISR routine: just check 2020-08-17 09:47:54 -07:00
Kevin Frei e51b6f4808 Added resumeLoop functionality 2020-08-14 12:45:51 -07:00
Ha Thach 3951aaab69 Merge pull request #536 from thaanstad/feature/I2C_setPins
Added I2C pin configuration
2020-08-14 11:48:42 +07:00
Trevor 304e29d54a set pins fixed tab spacing
Second try at spacing format for I2C set pins
2020-08-13 19:49:14 -06:00
Trevor 4c593ed216 Revised Wire library to have I2C setPins
updated with hathach requested variable naming and spacing
2020-08-13 19:46:43 -06:00
Ha Thach b35674fca9 Merge pull request #555 from Nenik/master
Power fixes
2020-08-13 13:04:28 +07:00
Petr Nejedly 2970c50775 Nenik: Fix FPU-caused power consumption issue, related to #165
Apply the workaround from the Errata 87 of nRF52832
See https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_87.html?cp=4_2_1_0_1_24
2020-08-12 22:04:37 -07:00
Petr Nejedly 3ada760cef Nenik: Re-enable SD specific sleep path, related to #165
When the SoftDevice is active (e.g. as soon as you call Bluefruit.begin()),
standby by __WFE seems to keep external Xtal oscillator running
(at least on nRF52832), increasing the standby power consumption
by 500-800uA. The SD-enabled path was apparently disabled mistakenly
by Nordic, see Nordic post for reference:
https://devzone.nordicsemi.com/f/nordic-q-a/35073/high-power-consumption-of-softdevice/136048#136048
2020-08-12 22:04:30 -07:00
Petr Nejedly a5afbec143 Nenik: Fix scheduling at the end of delay(), #537
See https://devzone.nordicsemi.com/f/nordic-q-a/63828/vtaskdelay-on-nrf52-freertos-port-wastes-cpu-power
for reference
2020-08-12 22:04:24 -07:00
Ha Thach 27754636c0 Merge pull request #550 from adafruit/fix-warnings
fix warnings
2020-08-04 18:18:43 +07:00
hathach c25d93268a fix warnings 2020-08-04 16:34:09 +07:00
Ha Thach 782ab61b82 Merge pull request #546 from adafruit/fix-usbpower-racing
fix power usbready not handled if bluefruit begin() is called fast enough
2020-08-04 16:10:44 +07:00
hathach 24f39073da update tinyusb core to commit c36ecdaf54aaa88cb678f05ea973d6795f2d6cae 2020-08-04 14:52:45 +07:00
Ha Thach 3a8c4383ff Merge pull request #549 from adafruit/delay-few-ms-touch1200
a few delay before enter dfu by touch1200
2020-08-04 00:27:30 +07:00
hathach b54bcf3df6 a few delay before enter dfu by touch1200 2020-08-03 22:17:40 +07:00
hathach 5bb5b132e5 fix power usbready not handled if bluefruit begin() is called fast enough 2020-08-01 21:47:38 +07:00
Ha Thach 6b41c1935f Merge pull request #542 from adafruit/update-tinyusbcore-11d669b4d2a40eb2fc5e51b2a9707a6de9d42363
update TinyUSB Core
2020-07-23 08:26:31 +07:00
hathach cb6d216c9c move usb hardware init and tud_init into usb device thread
help to prevent USB IRQ when scheduler is not started yet
2020-07-23 07:45:09 +07:00
hathach ca4f2bcbb4 sync with Adafruit_TinyUSB_ArduinoCore commit 238a5c0b95fcd402d24524c7bebbdd822168a51e 2020-07-23 07:07:22 +07:00
hathach ce666599f1 Merge branch 'master' into update-tinyusbcore-11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 2020-07-22 22:30:36 +07:00
hathach 9a2f1384ad move Adafruit_TinyUSB_Core_init() inside loop() task 2020-07-22 22:25:20 +07:00
hathach 81a78d74ed update TinyUSB core to commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363
Note: due to osal_freertos changes https://github.com/hathach/tinyusb/pull/468 the Adafruit_TinyUSB_Core_init() should be near the task scheduler (or better inside loop task) to prevent calling portYIELD_FROM_ISR() when scheduler not started
2020-07-22 21:54:55 +07:00
Ha Thach 15c1161f80 Merge pull request #540 from huddy987/master
Init all onboard LEDs for pca10056
2020-07-21 19:32:33 +07:00
Hudson cfcc1c486f Init all onboard LEDs for pca10056
Need to init the 2 missing onboard LEDs for pca10056.
2020-07-19 20:38:01 -06:00
Ha Thach 1bf80af139 Merge pull request #535 from pyro9/fix_discovery
Fix  BLEDiscovery::discoverCharacteristic when the central device returns more than 4 Characteristics in a discovery request
2020-07-17 13:19:26 +07:00
Steven James df5f6c48a9 MAX_DISC_CHARS = 8 to avoid excessive OTA queries for discovery. 2020-07-16 14:00:30 -04:00
Steven James 38127c2fa3 Clean up formatting 2020-07-16 13:59:55 -04:00
Ha Thach 604a8c897e Merge pull request #527 from adafruit/fix-520
remove BLECharateristic write(int32_t)
2020-07-17 00:24:46 +07:00
Ha Thach 6b48085300 Merge pull request #530 from huddy987/master
Add missing LED pin defines for PCA10056
2020-07-16 23:17:58 +07:00
Ha Thach 03a5017f4e Merge pull request #531 from adafruit/fix-504
fix typo
2020-07-16 23:17:36 +07:00
Trevor 73fb5887f5 Added I2C pin configuration
To configure the I2C pins call Wire.setPins(SDA_Pin, SCL_pin) prior to Wire.begin()
2020-07-14 15:45:34 -06:00
Ha Thach 8e38fcd007 Update bug_report.md 2020-07-14 14:49:38 +07:00
Steven James d41dda9b10 Fix BLE Characteristic discovery when the central device returns more
than 4 Characteristics in a discovery request
2020-07-13 15:18:07 -04:00
hathach 21924d1064 fix typo 2020-07-13 17:54:33 +07:00
Hudson ceca3f28fd Add missing LED pin defines for PCA10056
There are actually 4 onboard LEDs, not 2 for PCA10056
2020-07-12 21:30:11 -06:00
Ha Thach b332555863 Merge pull request #503 from orrmany/fix-issue502
Fix issue502
2020-07-11 01:01:01 +07:00
Ha Thach 7231f8c5f8 Merge pull request #501 from orrmany/develop-multiprotocol-ble
Make Bluferuit52 multiprotocol friendly
2020-07-11 00:46:21 +07:00
hathach 4f59fe0675 correct git depth 2020-07-11 00:28:44 +07:00
hathach 6e86d16a60 use firmata master to fix build with gcc v9 2020-07-11 00:24:19 +07:00
hathach 3c6c2b7d55 remove BLECharateristic write(int32_t)
fix #520
2020-07-10 18:48:14 +07:00
Ha Thach 1f0a5872c3 Merge pull request #524 from adafruit/update-tinyusb
Update tinyusb
2020-07-05 17:29:28 +07:00
hathach 3e165cba08 update changelog 2020-07-05 17:03:30 +07:00
hathach 92a583accc sync tinyusb core to 0749077 2020-07-05 17:03:03 +07:00
Ha Thach 237fbe8094 Merge pull request #523 from adafruit/fix-tfl-build
upgrade cmsis to v5 to build with TFL
2020-07-05 16:51:31 +07:00
hathach 6183caffec update changelog 2020-07-05 16:50:39 +07:00
hathach eb50925296 upgrade cmsis to v5 to build with TFL 2020-07-05 15:16:10 +07:00
hathach c4ac7cc0f7 update changelog for 0.20.5 release 2020-07-03 20:58:21 +07:00
Ha Thach f9e71e746f Merge pull request #513 from meshtastic/master
Add a rename(oldfilename, newfilename) method to LittleFS class
2020-07-03 20:51:17 +07:00