add tinyusb header across libraries
This commit is contained in:
1 parent
846053a217
commit
23f0b09605
12 files changed
+18
-5
No files matched your search
@@ -26,6 +26,8 @@
|
||||
#include <string.h>
|
||||
#include "Adafruit_LittleFS.h"
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
using namespace Adafruit_LittleFS_Namespace;
|
||||
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
#include "bluefruit.h"
|
||||
#include "utility/bonding.h"
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
#ifndef CFG_BLE_TX_POWER_LEVEL
|
||||
#define CFG_BLE_TX_POWER_LEVEL 0
|
||||
#endif
|
||||
@@ -1051,7 +1053,7 @@ void AdafruitBluefruit::printInfo(void)
|
||||
|
||||
Periph.printInfo();
|
||||
|
||||
/*------------- List the paried device -------------*/
|
||||
/*------------- List the paired devices -------------*/
|
||||
if ( _prph_count )
|
||||
{
|
||||
logger.printf(title_fmt, "Peripheral Paired Devices");
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "bluefruit_common.h"
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
#define CFG_ADV_BLINKY_INTERVAL 500
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include "PDM.h"
|
||||
#include <hal/nrf_pdm.h>
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
#define DEFAULT_PDM_GAIN 20
|
||||
#define PDM_IRQ_PRIORITY 7
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
|
||||
#include "RotaryEncoder.h"
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
class HwRotaryEncoder RotaryEncoder;
|
||||
|
||||
extern "C"
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include <wiring_private.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
SPIClass::SPIClass(NRF_SPIM_Type *p_spi, uint8_t uc_pinMISO, uint8_t uc_pinSCK, uint8_t uc_pinMOSI)
|
||||
{
|
||||
initialized = false;
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#define _SPI_H_INCLUDED
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
#include "nrfx_spim.h"
|
||||
|
||||
// SPI_HAS_TRANSACTION means SPI has
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <wiring_private.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
const SPISettings DEFAULT_SPI_SETTINGS = SPISettings();
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <Arduino.h>
|
||||
#include <Servo.h>
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
enum
|
||||
{
|
||||
SERVO_TOKEN = 0x76726553 // 'S' 'e' 'r' 'v'
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <variant.h>
|
||||
#include <WInterrupts.h>
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
SoftwareSerial *SoftwareSerial::active_object = 0;
|
||||
char SoftwareSerial::_receive_buffer[_SS_MAX_RX_BUFF];
|
||||
volatile uint8_t SoftwareSerial::_receive_buffer_tail = 0;
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
#include "variant.h"
|
||||
#include "RingBuffer.h"
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
// WIRE_HAS_END means Wire has end()
|
||||
#define WIRE_HAS_END 1
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ extern "C" {
|
||||
|
||||
#include "Wire.h"
|
||||
|
||||
#include <Adafruit_TinyUSB.h> // for Serial
|
||||
|
||||
static volatile uint32_t* pincfg_reg(uint32_t pin)
|
||||
{
|
||||
NRF_GPIO_Type * port = nrf_gpio_pin_port_decode(&pin);
|
||||
|
||||
Reference in new issue
Block a user