Commit Graph
2543 Commits
Author SHA1 Message Date
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
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
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
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
hathach 0d33b3309b bump version for testing update toolchain 2020-07-03 15:49:58 +07:00
Ha Thach cd9f5d6a71 Merge pull request #499 from henrygab/safer_macros
type-safe array macros
2020-07-03 12:52:54 +07:00
Ha Thach 9a7034bddb Merge pull request #519 from pyro9/truncate
Add truncate method to Adafruit_LittleFS_File.
2020-07-02 14:44:27 +07:00
Steven James 85b6e26dc9 Adafruit_LittleFS_File.cpp::truncate: change default value of ret to
LFS_ERR_ISDIR.
2020-06-26 04:04:44 -04:00
Steven James 4a26462db9 Truncate should return false when performed on a directory. 2020-06-25 11:29:11 -04:00
Steven James 778529c301 Add truncate method to Adafruit_LittleFS_File. 2020-06-25 03:32:04 -04:00
Gábor Ziegler ff12326ecf Adding compile guards 2020-06-15 11:45:46 +02:00
orrmany ed1cdc6c1e Update .gitignore
Removing .gitignore changes irrelevant to issue #502
2020-06-15 10:37:38 +02:00
orrmany b5475ca263 Update .gitignore 2020-06-05 18:31:42 +02:00
Ha Thach b5f5bdd1e9 Merge pull request #516 from adafruit/minor-cleanup
fix typo
2020-06-02 01:23:54 +07:00
hathach 3af5e6cb8b fix typo
fix #515
2020-06-02 00:14:19 +07:00
hathach e9dad1fc5d clean up and fix typo 2020-05-28 20:05:28 +07:00
geeksville c0c87b0dc7 Add a rename(oldfilename, newfilename) method to LittleFS class 2020-05-25 10:10:06 -07:00
Gábor Ziegler 7d80eabeed fixing warning: '/*' within comment [-Wcomment] 2020-05-10 20:04:36 +02:00
Gábor Ziegler 180ef771c2 Fixing pgm_read_ptr(addr) macro 2020-05-10 19:45:42 +02:00
Gábor Ziegler ff32fcf295 Fixing wildcard in .gitignore 2020-05-10 19:44:39 +02:00
Henry Gabryjelski 70c947dfbb fixup macro name to reflect logic 2020-05-09 23:51:14 -07:00
Gábor Ziegler 51925d20fa making bluefruit multiprotocol friendly 2020-05-07 10:04:02 +02:00
Henry Gabryjelski fc0dc290bc type-safe array macros 2020-05-06 20:06:46 -07:00
Gábor Ziegler 1046ce6db0 Merge remote-tracking branch 'upstream/master' 2020-04-30 14:24:00 +02:00
Ha Thach b03d6e5d81 Merge pull request #485 from henrygab/GPIOTE_Fix
GPIOTE fixes for attachInterrupt() / detachInterrupt()
2020-04-28 10:46:34 +07:00
Henry Gabryjelski 55c1b9f53d Remove sequence points / barriers ...
when programming the GPIOTE peripheral.
the memory barrier is still used once in the ISR,
to prevent spurious interrupts caused by delay
writing over the (16MHz) AHB bus.
2020-04-27 11:25:54 -07:00
Henry Gabryjelski c3c8ac3c8f Updated per @hathach requested changes
* Changed to use compiler intrinsics
* Significantly reduced comments near memory barrier usage, as per request
* Updating `attachInterrupt()` loops to more closely match requested style
2020-04-26 16:20:13 -07:00
Henry Gabryjelski 48fda18996 one more edge case covered 2020-04-24 11:59:53 -07:00
Henry Gabryjelski 1c90673a64 Ensure config is written before enabling the corresponding interrupt enable flag 2020-04-23 16:33:01 -07:00
Henry Gabryjelski cbbc57bd0d Ensure CONFIG is fully cleared 2020-04-23 16:15:09 -07:00
Henry Gabryjelski 280ecaf5aa Three bugs fixed
* First loop should not be checking pinmap for -1.

* Second loop should ensure no pending event when
  first allocating the GPIOTE channel.

* Second loop needs to update pinmap with pin when
  allocated the GPIOTE channel.
2020-04-23 15:56:50 -07:00
Ha Thach 0d245da1aa Merge pull request #491 from adafruit/release-0.20.1
Update TinyUSB to commit c59fa77 due to a bug in the stack
2020-04-24 00:09:32 +07:00
hathach 26223a28d4 Update TinyUSB to commit c59fa77 due to a bug in the stack
increase version and update changelog
2020-04-23 23:40:25 +07:00
Ha Thach 2a1e2a0da8 Merge pull request #487 from adafruit/release-0.20.0
prepare for 0.20.0 release
2020-04-22 11:37:02 +07:00
hathach 9f63c9c55a increase buffer for MIDI to 128
follow to https://github.com/adafruit/ArduinoCore-samd/pull/222
2020-04-22 11:10:36 +07:00
Henry Gabryjelski 9d47073cae fix obvious typo 2020-04-21 19:53:15 -07:00
Henry Gabryjelski 0cb59145fd Reduce ISR overhead
Reduce the number of cycles spent in the GPIOTE ISR,
by reading common volatile registers across AHB only
once, and using a safer hack to prevent spurious ISR
firing when the last channel's event was cleared.
2020-04-21 17:00:55 -07:00
Henry Gabryjelski 3ac53c52b4 Fix GPIOTE channel usage
First, when looking for a channel, first loop through
all mapped channels to see if the GPIO was already mapped.
This prevents a single GPIO being configured for more than
one channel at a time.

Second, do not use a GPIOTE channel if the channel is
already in use (e.g., by a library, sketch, or other code
outside the Board Support Package).
2020-04-21 17:00:55 -07:00
hathach a7334a31a6 sync with tinyusb commit 1d33aa9 2020-04-22 00:23:37 +07:00
hathach 3f0cfb2d3b prepare for 0.20.0 release 2020-04-21 17:52:48 +07:00
Ha Thach d28219b4dc Merge pull request #486 from adafruit/update-tinyusb
Update tinyusb
2020-04-21 12:19:54 +07:00