Commit Graph
2493 Commits
Author SHA1 Message Date
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
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
Henry Gabryjelski 20b080f9a2 Control SysView by CFG_SYSVIEW
Of course, this commit ensures the following:

* Zero change to BSP defaults
* Zero change to compiled code
* Zero change to UI / menu options
2020-03-25 16:20:33 -07:00
Ha Thach 78cc67ec4c Merge pull request #474 from henrygab/Update_all_board_max_data_size
Update all nRF52840 boards to match linker
2020-03-26 00:25:26 +07:00
Henry Gabryjelski ed2183a1ed Update all nRF52840 boards to match linker
See commit https://github.com/adafruit/Adafruit_nRF52_Arduino/commit/583ad02a

increase sd attribute table size from 0x800 to 0xC00,
increase linker memory for SD 840 from 3400 to 6000

Since the linker is updated, all nRF52840 boards using
that linker file should also be updated.
2020-03-24 12:32:31 -07:00
Ha Thach 110b06c8f0 Merge pull request #471 from toxynoid/patch-4
Macro expansion ARDUINO_BSP_VERSION from platform.txt
2020-03-24 08:25:23 +07:00
Ulrich-Lorenz Schlüter 99c777411e Update platform.txt
Removed redundant linebreak
2020-03-23 18:41:49 +01:00
Ha Thach 8a182394c3 Merge pull request #472 from toxynoid/patch-5
Update platform.txt
2020-03-23 23:50:34 +07:00
Ulrich-Lorenz Schlüter 74bf73acfc Update platform.txt
Tested in eclipse aduino-cdt
2020-03-23 16:57:49 +01:00
Ulrich-Lorenz Schlüter 1f97330f10 Update platform.txt
regex for sizes like in https://github.com/arduino/ArduinoCore-samd/blob/master/platform.txt#L120
2020-03-23 16:39:25 +01:00
Ulrich-Lorenz Schlüter 43d723a07d Update platform.txt
As recommended
2020-03-23 13:35:56 +01:00
Ulrich-Lorenz Schlüter a1d0d3e27d Update platform.txt 2020-03-23 13:22:04 +01:00
Ha Thach 8a1dff3f99 Merge pull request #468 from henrygab/FIX__458
Fix #458
2020-03-21 13:54:32 +07:00
Henry Gabryjelski c91bed1448 Fix #458
Update HwPWM3 when it exists
2020-03-20 10:34:47 -07:00
Ha Thach 768be05ffc Merge pull request #467 from adafruit/PR454-followup
partial revert PRITNF in lfs_util.h due to compilation error
2020-03-20 13:41:41 +07:00
hathach 045f4f8cca partial revert PRITNF in lfs_util.h due to compilation error 2020-03-20 11:32:42 +07:00
Ha Thach 0a7d94e244 Merge pull request #454 from henrygab/Segger_RTT_5
Final prerequisites to improve debugger output
2020-03-20 10:16:53 +07:00
Ha Thach be74f52943 Merge pull request #457 from adafruit/fix-wire-write
fix #456 Wire Write ambiguous
2020-03-13 13:06:13 +07:00
hathach a2d32e9747 fix #456 Wire Write ambiguous 2020-03-13 12:26:34 +07:00
Ha Thach 7444ba47a1 Merge pull request #455 from adafruit/release-0.19.0
Release 0.19.0
2020-03-12 19:55:30 +07:00
hathach 6b2f6207f8 more changelog 2020-03-12 18:04:48 +07:00
hathach 7f1946ebbf update changelog, ready to release 2020-03-12 18:03:43 +07:00
hathach 5d1c55a692 bump up version
update bootloader binary from 0.3.0 to 0.3.2
2020-03-12 16:07:45 +07:00
Henry Gabryjelski 2709813ea6 More printf() --> PRINTF() conversion 2020-03-11 16:39:59 -07:00
Henry Gabryjelski f532a27538 And disable Travis-CI once again.
This is too bad, because it had powerful
collapsing sections, which made tracking down
and fixing problems so much easier...
2020-03-11 16:08:43 -07:00
Henry Gabryjelski 7fab012a3a Undo accidental change 2020-03-11 15:42:41 -07:00
Henry Gabryjelski 47d1b4d23f Add defaults to global platforms.txt 2020-03-11 15:25:40 -07:00
Henry Gabryjelski 7777bd9796 Enable CI 2020-03-11 15:25:40 -07:00
Henry Gabryjelski 03805f3c33 Define PRINTF macro regardless of debug level. 2020-03-11 15:25:40 -07:00
Henry Gabryjelski b8fb0cd1e1 Add locations for two additional defines.
The two defines that can later be generated in a user's
own boards.local.txt (or platforms.local.txt) are:
  build.logger_flags
  build.sysview_flags

To be used for the following `#define` identifiers:
  -DCFG_LOGGER=0
  -DCFG_SYSVIEW=0

NOTE: These are NOT defined by default.  This is preparation
for enabling alternative debug output locations.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski decde55d74 Use Print class reference
This is in preparation for enabling output to
be provided via other, potentially more performant,
modes.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski 4565d0cd7d Use uppercase PRINTF.
This is a step in preparation for the ability to
change the default handler for printf(), such as
when advanced debug output capabilities make it
more performant to output via an alternative route.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski 64b05d33aa Fix stack trace debug level check 2020-03-11 15:25:39 -07:00
Limor "Ladyada" Fried 70ff084b16 Merge pull request #452 from adafruit/add-sound-service
Add more sensor services
2020-03-11 13:31:48 -04:00
hathach 062a4d9f50 ci re-enable all examples 2020-03-12 00:05:32 +07:00
hathach 82de26420e fixing ci 2020-03-12 00:01:07 +07:00
hathach 6922db93bb try fixing ci 2020-03-11 23:51:56 +07:00
hathach f00e7cb269 fix ci build script 2020-03-11 23:40:28 +07:00