Commit Graph
148 Commits
Author SHA1 Message Date
hathach 6ba2cad70f add led glasses driver variant 2021-09-10 18:47:27 +07:00
hathach e6812abe3a raytac dongle only has 1 led populated 2021-06-04 14:18:08 +07:00
hathach ab13cfd395 add back raytac dongle with correct PID 2021-06-04 13:20:10 +07:00
hathach 95d24b5348 separate pairing_passkey with and without arcada 2021-06-03 15:59:23 +07:00
hathach 58e3b80464 remove raytac variant files 2021-05-26 11:05:53 +07:00
ladyada 8eb3e2be35 match analog pin numbers to 'first set' in variant (no functional change as the pins appear twice) 2021-05-14 15:09:48 -04:00
hathach 88ccb29f0b add NEOPIXEL_NUM to variant.h
minor update the nrf_blinky sketch
2020-12-08 15:52:19 +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
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
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
hathach 2d9c7036ba enhance neopixel service
hardcode pixel to 10 even for CLUE to prevent invalid len write to data
2020-03-11 23:10:58 +07:00
hathach 49028ba75a update description 2020-03-07 17:19:11 +07:00
hathach 4ae66084d8 fix D13 pin 2020-03-07 16:51:44 +07:00
hathach 8097e50f1d add sensor service notify callback 2020-03-06 21:00:16 +07:00
hathach 0019a2dd96 add on-board display PIN_TFT_* for CLUE
back light is disable when powering up
2020-02-26 22:09:09 +07:00
Ha Thach 7b8d3e1f41 Merge pull request #442 from adafruit/clue-play
enhance Clue support
2020-02-19 20:33:00 +07:00
hathach 050129e003 add macro SPI_32MHZ_INTERFACE to variant to select SPI or SPI1 to use 32mhz SPIM3
default to SPI or 0
2020-02-18 13:15:05 +07:00
hathach 1aea90e6c9 add PIN_BUZZER to variants with built-in speaker 2020-02-17 13:01:55 +07:00
Nishanth Samala 54b4769ff4 updated all subsequent pins after 22 2020-02-16 22:28:31 -05:00
Nishanth Samala 197c7d1e18 remove pin 22 2020-02-16 22:25:30 -05:00
Nishanth Samala be39bb6f46 set NUM_ANALOG_OUTPUTS to 0 2020-02-08 21:24:06 -05:00
Nishanth Samala d5e10895cf Merge pull request #1 from jaswope/particle-xenon-support
More Particle Xenon support
2020-02-08 10:51:32 -05:00
Nishanth Samala f911fa621e remove NRF52 flag 2020-02-08 10:27:49 -05:00
Nishanth Samala d09c714bad use constant values for SPI / I2C pins 2020-02-08 10:27:10 -05:00
Nishanth Samala 656dca06c7 fixed up SPI / I2C pin interfaces. Added Serial2 support. Added pin definitions for RTS and CTS for Serial1 and Serial2 2020-02-08 10:08:09 -05:00
Jon Swope 4efe23de51 Declare AREF 2020-02-07 22:40:31 -05:00
Jon Swope 04dfd4defa Specify correct flash device 2020-02-07 22:39:58 -05:00
Jon Swope 9b83c2736a Pin updates 2020-02-07 22:05:21 -05:00
Nishanth Samala 7e3aaa4cce revert to Serial1 instead of Serial 2020-02-07 17:23:42 -05:00
Nishanth Samala 69d117c11b fixed pins 6, 7 and 8 2020-02-07 14:25:53 -05:00
Nishanth Samala e60a28615f updated pin mappings 2020-02-07 10:58:23 -05:00
Nishanth Samala 9b45e276cc move static declaration for switch_antenna to the header 2020-02-05 21:41:01 -05:00
Nishanth Samala a2434cc698 fix a merge conflict 2020-02-05 21:39:41 -05:00
Nishanth Samala 59dcead893 merge with updates from upstream 2020-02-05 15:47:50 -05:00
Nishanth Samala 3e66f7491b added led helper methods. Added boards.txt 2020-02-05 15:42:00 -05:00
hathach 3d49611c00 remove unused USB_MSC_BLOCK_SIZE/USB_MSC_BLOCK_COUNT 2020-02-03 12:06:35 +07:00
Lady Ada bffffaf35e add QSPI define for external flash 2020-02-01 12:33:35 -05:00
Lady Ada 05bc2a09b6 Shorten feather names and add nrf sense variant 2020-02-01 00:36:56 -05:00
hathach a00eb4fa70 remove SERIAL_INTERFACES_COUNT macro
nrf52832 keep PIN_SERIAL_RX/TX
2020-01-31 22:09:46 +07:00
hathach 306b10dc7f follow up to #315
- Add SERIAL_INTERFACES_COUNT to all variants
- Rename PIN_SERIAL_RX/TX & PIN_SERIAL1_RX/TX
2020-01-31 21:27:54 +07:00
Ha Thach c84538a4f6 Merge branch 'master' into Serial2 2020-01-31 17:47:49 +07:00
Lady Ada 3c3659ebb1 added speaker, moved mic 2020-01-30 14:43:10 -05:00
hathach f4781e3e1c add PIN_BUTTON for some variants 2020-01-15 12:08:28 +07:00
hathach 9de0ae2443 clean up 2020-01-13 17:40:29 +07:00
hathach 4d795916af rename mdbt50q board and variant to be consistent 2020-01-13 17:09:33 +07:00
Ha Thach 1d82c8c3dd Merge pull request #328 from pyro9/Raytac_MDBT50Q_RX
Raytac mdbt50 q rx
2020-01-13 16:48:12 +07:00
Lady Ada 84b6f46e9a add extra IRQ/light pins 2020-01-09 22:28:14 -05:00
hathach c6f7e411ac fix pdm issue with #352
- also add define for PIN_PDM_DIN, PIN_PDM_CLK, PIN_PDM_PWR
- add PDM setPins() for custom board
2020-01-09 01:12:27 +07:00
Lady Ada a592ec824f fix typo for built in mic PDM line 2020-01-05 18:47:28 -05:00
Steven James d5c23516d0 Correcting a few comments 2019-12-30 20:34:23 -05:00