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
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
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
Henry Gabryjelski
70c947dfbb
fixup macro name to reflect logic
2020-05-09 23:51:14 -07:00
Henry Gabryjelski
fc0dc290bc
type-safe array macros
2020-05-06 20:06:46 -07: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
hathach
3e326e9a21
specify midi v4.3.1 due to breaking chagne from v5
2020-04-21 10:59:23 +07:00
hathach
10b85b5e4e
fix build blehid with feather52832
2020-04-21 00:30:30 +07:00
hathach
f7fae34c3e
update tinyusb to commit 718db7e
2020-04-21 00:17:30 +07:00
hathach
c039eb6787
fix compile issue with upgrading nrfx v2 and tinyusb
2020-04-20 23:11:46 +07:00
hathach
7e86e7d0ea
update tinyusb stack
2020-04-20 22:25:26 +07:00
hathach
ad3ed9b2ab
update nrfx to v2.1.0
...
this is required for latest tinyusb
2020-04-20 22:18:28 +07:00
Ha Thach
eefeba8d64
Merge pull request #482 from Montvydas/hotfix/missing-xenon-pin-assignments
...
Added Missing Pin Assignments for Xenon Board
2020-04-14 14:48:58 +07:00
Montvydas Klumbys
4b609ef91e
Xenon board can tell when it is getting powered through the USB rather than a battery and when a battery is being charged. Added required pins inside variant files and they work as specified:
...
- When PIN_PWD is HIGH, Xenon is being powered through the USB
- When PIN_CHG is LOW, a battery attached to Xenon is being charged
Note though that prior to using these pins it is neccessary to specify pinMode(PIN_CHG, INPUT) and pinMode(PIN_PWR, INPUT) due to how they're being implemented in hardware. Using these two pins 3 states of power can be deduced:
- hasUsbPower = digitalRead(PIN_PWR);
- isCharging = (hasUsbPower && !digitalRead(PIN_CHG));
- onBatteryPower = !hasUsbPower;
Added the missing LED1 initialisation.
BUTTON_FRESET pin number assignment was fixed.
2020-04-13 19:12:11 +02:00
Ha Thach
d727583ad1
Merge pull request #481 from adafruit/dev2
...
remove the force Serial connected when debug is eanbled.
2020-04-13 15:02:47 +07:00
hathach
fde823a322
remove the force Serial connected when debug is eanbled.
2020-04-13 14:24:07 +07:00
Ha Thach
0019306c50
Merge pull request #469 from henrygab/enable_sysview
...
[WIP] Enable/Disable SysView via CFG_SYSVIEW
2020-03-26 12:03:06 +07:00
Henry Gabryjelski
a9e109d047
Prevent double-definition on compilation
...
Boards.txt should have updated multiple settings
debug level of 3, not attempted to stuff multiple
settings into the same variable.
2020-03-25 16:48:45 -07:00