[realtek-ambz2] Disable SoftwareSerial and Wire
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-07-03. */
|
||||
|
||||
#if LT_RTL8710B
|
||||
|
||||
#include <SoftwareSerial.h>
|
||||
#include <sdk_private.h>
|
||||
|
||||
@@ -94,3 +96,5 @@ void SoftwareSerial::startTx() {
|
||||
void SoftwareSerial::endTx() {
|
||||
gtimer_stop(OBJ);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-05-08. */
|
||||
|
||||
#if LT_RTL8710B
|
||||
|
||||
#include "Wire.h"
|
||||
|
||||
#include <sdk_private.h>
|
||||
@@ -191,3 +193,5 @@ int TwoWire::peek() {
|
||||
}
|
||||
|
||||
void TwoWire::flush() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
#error "Don't include this file directly"
|
||||
|
||||
#define LT_ARD_HAS_SERIAL 1
|
||||
#define LT_ARD_HAS_WIFI 1
|
||||
#define LT_ARD_HAS_SERIAL 1
|
||||
#define LT_ARD_HAS_WIFI 1
|
||||
#define LT_ARD_HAS_SOFTSERIAL 0
|
||||
#define LT_ARD_HAS_WIRE 0
|
||||
|
||||
#define LT_ARD_MD5_MBEDTLS 1
|
||||
|
||||
Reference in New Issue
Block a user