Commit Graph
2786 Commits
Author SHA1 Message Date
hathach 97d7ce7e33 remove the include MIDI.h to prevent build error without MIDI Library installed 2021-01-04 23:33:45 +07:00
Ha Thach 2cbb155037 Merge pull request #609 from spacenate/midi-library-v5-support
Adds MIDI Library v5 support
2021-01-04 23:26:52 +07:00
Ha Thach f809300894 Merge pull request #613 from ErikHougaard/fix_beacon_endian
Endian-swap implemented in setMajorMinor
2021-01-04 15:17:31 +07:00
Erik Hougaard 4095afb7d3 Endian-swap implemented in setMajorMinor 2021-01-02 20:52:37 +01:00
Ha Thach a401e8083d Merge pull request #610 from AnthonyDiGirolamo/cpp17-compatibility
Update itoa.c for -std=c++17 compatibility
2020-12-13 15:52:58 +07:00
AnthonyDiGirolamo df80616179 Update itoa.c for -std=c++17 compatibility
This change copies over itoa.h and itoa.c from https://github.com/adafruit/ArduinoCore-samd/tree/master/cores/arduino

This adds in the missing utoa and itoa functions when compiling using -std=c++17. This nRF52 core is currently using -std=gnu++11 in platform.txt so this isn't normally an issue.

Tested compiling a few example sketches successfully in the Arduino IDE with this change. Not tested on device, haven't ordered hardware yet.

I'm hoping to get this fixed to add support for building pigweed on top
of this core. See https://pigweed.dev/targets/arduino/target_docs.html if interested :-)
2020-12-12 11:35:45 -08:00
Nathan Sollenberger 275a8a4f9d Adds missing Transport methods 2020-12-11 16:47:37 -07:00
Ha Thach be4d31c7f3 Merge pull request #604 from orrmany/patch-1
Event dispatch bugfix
2020-12-10 16:11:16 +07:00
Ha Thach b4fc2d6e0e Merge pull request #607 from adafruit/science-journal
Science journal
2020-12-10 13:17:46 +07:00
orrmany 628e8775f4 Event dispatch bugfix and making _mprot_event_sem a regular semaphore 2020-12-09 20:52:39 +01:00
hathach 88ccb29f0b add NEOPIXEL_NUM to variant.h
minor update the nrf_blinky sketch
2020-12-08 15:52:19 +07:00
hathach 9ca02a6335 minor clean up 2020-12-08 11:02:37 +07:00
hathach 00cbb9bf17 fix ci with 832 2020-12-08 01:05:35 +07:00
hathach 223fc01b81 fix ci 2020-12-08 00:45:14 +07:00
hathach 1983d9cd27 add cccd callback to enable color/proxi and turn on white led on CLUE
correct pressure unit to kilo-pascal
2020-12-08 00:21:42 +07:00
hathach a5cf0397e2 get science journal work with cpb 2020-12-07 23:16:18 +07:00
hathach fa16e48349 add Arduino Science Journal sketch
work with feather nrf52840 sense
2020-12-07 19:42:53 +07:00
hathach 3cb7236c6a added BLECharacteristic notify32/indicate32(float) 2020-12-07 19:42:30 +07:00
Ha Thach 2a34e2afd5 Merge pull request #601 from jpconstantineau/patch-1
replace add-path with GITHUB_PATH env variable
2020-11-11 14:50:08 +07:00
Pierre Constantineau 37d3f26a57 replace add-path with GITHUB_PATH env variable 2020-11-10 23:20:59 -06:00
Ha Thach ee23edfc3b Merge pull request #594 from ogatatsu/fix_connection
Fix connection parameter
2020-10-13 21:19:42 +07:00
ogatatsu 2794dfebfa Rename functions for consistency 2020-10-13 21:07:08 +09:00
Ha Thach 405d48c440 Merge pull request #591 from ogatatsu/analogReadVDD
Add analogReadVDD() function
2020-10-13 00:20:48 +07:00
ogatatsu 1a506b5f54 Remove the process that automatically negotiates when connecting
Better to use the BLEConnection::requestConnectionParameter() function
2020-10-11 14:00:02 +09:00
ogatatsu d2f669e300 Add some functions
BLEPeriph::setSlaveLatency()
BLEConnection::getSlaveLatency()
BLEConnection::getConnSupervisionTimeout()
2020-10-11 08:42:13 +09:00
ogatatsu fdded9018c Add analogReadVDD() function 2020-10-08 20:34:43 +09:00
Ha Thach 9f0f4245a3 Merge pull request #587 from ogatatsu/uart
fix to not use mutex in ISR
2020-10-06 21:52:45 +07:00
ogatatsu 60a4c7784c optimize by deleting mutex 2020-10-06 21:20:12 +09:00
Ha Thach 9d6f75d77f Merge pull request #589 from adafruit/fix-feather-sense-name
fix naming for feather sense & metro
2020-10-06 15:58:40 +07:00
hathach 718b5d5f99 fix naming for feather sense & metro 2020-10-05 23:07:51 +07:00
Ha Thach ca1bb7f2c2 Merge pull request #588 from adafruit/fix-warnings
fix some warnings
2020-10-05 20:25:48 +07:00
hathach 3984c86902 fix some warnings
remove beacon blocking wait for Serial connection
2020-10-05 19:48:10 +07:00
Ha Thach 4d703b6f38 Merge pull request #583 from ogatatsu/pinMode
Add pinMode type
2020-10-05 16:25:38 +07:00
Ha Thach 9db92fb491 Merge pull request #586 from ogatatsu/cccd
fixed a bug that saved cccd data to a different offset after the second time.
2020-10-05 16:18:01 +07:00
Ha Thach 944d7d365a Merge pull request #579 from frejanordsiek/alllow-serial-buffer-resize-tinyusb
Make definitions for TinyUSB serial TX/RX buffer sizes check if they are already defined (allows easier serial buffer size adjustment)
2020-10-05 16:14:44 +07:00
ogatatsu 2e5ed87044 fix to not use mutex in ISR 2020-10-04 16:42:39 +09:00
ogatatsu 771b7cf38f fixed a bug that saved cccd data to a different offset after the second time. 2020-10-04 11:10:07 +09:00
ogatatsu 6c6e552279 Add pinMode type 2020-10-03 09:56:31 +09:00
Ha Thach 2316b0f0b9 Merge pull request #582 from ogatatsu/spi
Add the setPins function to the SPI class.
2020-09-30 14:40:47 +07:00
ogatatsu 016c89e8cb Add the setPins function to the SPI class. 2020-09-28 15:03:45 +09:00
Freja Nordsiek 778d122d6d Changed definitions of CFG_TUD_VENDOR_RX_BUFSIZE and CFG_TUD_VENDOR_TX_BUFSIZE in cores/nRF5/TinyUSB/tusb_config.h to check if they are already defined. 2020-09-17 12:31:02 +02:00
Ha Thach 7b57de6ae9 Merge pull request #578 from adafruit/update-tinyusb-core
update tinyusb core
2020-09-15 23:50:39 +07:00
hathach 0614a4ae00 update tinyusb core
- update tinyusb core to commit e7b892095f2bb5d8bef6a748238369bdd268ed5e
- Get String Descriptor support for interface
- Get line conding API for cdc
2020-09-15 21:03:42 +07:00
Ha Thach fb2b28b99a Merge pull request #577 from adafruit/fix-edpt-race
update tinyusb core to commit 2afb2320e03e26c765aaeb51d430325b8adcdbf9
2020-09-15 11:36:21 +07:00
hathach 072f842808 update tinyusb core to commit 2afb2320e03e26c765aaeb51d430325b8adcdbf9
which contain the endpoint race fix from upstream
2020-09-15 00:18:06 +07:00
Ha Thach f13a416f16 Merge pull request #576 from adafruit/fix-ci-RotaryEncoder-include
fix ci build due to RotaryEncoder include
2020-09-15 00:05:29 +07:00
hathach d189871fa9 fix ci build due to RotaryEncoder include 2020-09-14 23:31:55 +07:00
Ha Thach 92a3205c97 Merge pull request #575 from frejanordsiek/allow-serial-buffer-size-change
Make definition of SERIAL_BUFFER_SIZE check if it is already defined (allows easier UART buffer size adjustment)
2020-09-14 20:44:59 +07:00
Freja Nordsiek f3a70865d4 Changed definition of SERIAL_BUFFER_SIZE in cores/nRF5/RingBuffer.h to check if it is already defined. 2020-09-14 10:32:58 +02:00
Ha Thach dc2802a2b1 Merge pull request #466 from adafruit/develop
implement comprehensive LESC and Legacy pairing
2020-09-11 23:54:28 +07:00