Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
a8e99bae
Unverified
Commit
a8e99bae
authored
Nov 12, 2020
by
Me No Dev
Committed by
GitHub
Nov 12, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into idf-release/v3.3
parents
7494c4e7
b6cc108d
Changes
59
Hide whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
63 additions
and
4 deletions
+63
-4
cores/esp32/Arduino.h
cores/esp32/Arduino.h
+1
-1
cores/esp32/pgmspace.h
cores/esp32/pgmspace.h
+2
-0
libraries/BLE/src/BLEHIDDevice.cpp
libraries/BLE/src/BLEHIDDevice.cpp
+1
-0
libraries/SD/src/sd_diskio.cpp
libraries/SD/src/sd_diskio.cpp
+2
-1
libraries/WiFi/src/WiFiProv.cpp
libraries/WiFi/src/WiFiProv.cpp
+3
-2
variants/Microduino-esp32/pins_arduino.h
variants/Microduino-esp32/pins_arduino.h
+1
-0
variants/S_ODI_Ultra_v1/pins_arduino.h
variants/S_ODI_Ultra_v1/pins_arduino.h
+1
-0
variants/alksesp32/pins_arduino.h
variants/alksesp32/pins_arduino.h
+1
-0
variants/d1_mini32/pins_arduino.h
variants/d1_mini32/pins_arduino.h
+1
-0
variants/d32/pins_arduino.h
variants/d32/pins_arduino.h
+1
-0
variants/d32_pro/pins_arduino.h
variants/d32_pro/pins_arduino.h
+1
-0
variants/doitESP32devkitV1/pins_arduino.h
variants/doitESP32devkitV1/pins_arduino.h
+1
-0
variants/esp32-gateway/pins_arduino.h
variants/esp32-gateway/pins_arduino.h
+1
-0
variants/esp320/pins_arduino.h
variants/esp320/pins_arduino.h
+1
-0
variants/esp32thing/pins_arduino.h
variants/esp32thing/pins_arduino.h
+1
-0
variants/esp32thing_plus/pins_arduino.h
variants/esp32thing_plus/pins_arduino.h
+1
-0
variants/espea32/pins_arduino.h
variants/espea32/pins_arduino.h
+1
-0
variants/espectro32/pins_arduino.h
variants/espectro32/pins_arduino.h
+1
-0
variants/espino32/pins_arduino.h
variants/espino32/pins_arduino.h
+1
-0
variants/feather_esp32/pins_arduino.h
variants/feather_esp32/pins_arduino.h
+1
-0
variants/firebeetle32/pins_arduino.h
variants/firebeetle32/pins_arduino.h
+1
-0
variants/gpy/pins_arduino.h
variants/gpy/pins_arduino.h
+1
-0
variants/healthypi4/pins_arduino.h
variants/healthypi4/pins_arduino.h
+1
-0
variants/heltec_wifi_kit_32/pins_arduino.h
variants/heltec_wifi_kit_32/pins_arduino.h
+1
-0
variants/heltec_wifi_lora_32/pins_arduino.h
variants/heltec_wifi_lora_32/pins_arduino.h
+1
-0
variants/heltec_wifi_lora_32_V2/pins_arduino.h
variants/heltec_wifi_lora_32_V2/pins_arduino.h
+1
-0
variants/heltec_wireless_stick/pins_arduino.h
variants/heltec_wireless_stick/pins_arduino.h
+1
-0
variants/honeylemon/pins_arduino.h
variants/honeylemon/pins_arduino.h
+1
-0
variants/hornbill32dev/pins_arduino.h
variants/hornbill32dev/pins_arduino.h
+1
-0
variants/imbrios-logsens-v1p1/pins_arduino.h
variants/imbrios-logsens-v1p1/pins_arduino.h
+1
-0
variants/intorobot-fig/pins_arduino.h
variants/intorobot-fig/pins_arduino.h
+1
-0
variants/lolin32/pins_arduino.h
variants/lolin32/pins_arduino.h
+1
-0
variants/lopy/pins_arduino.h
variants/lopy/pins_arduino.h
+1
-0
variants/lopy4/pins_arduino.h
variants/lopy4/pins_arduino.h
+1
-0
variants/metro_esp-32/pins_arduino.h
variants/metro_esp-32/pins_arduino.h
+1
-0
variants/mgbot-iotik32a/pins_arduino.h
variants/mgbot-iotik32a/pins_arduino.h
+1
-0
variants/mgbot-iotik32b/pins_arduino.h
variants/mgbot-iotik32b/pins_arduino.h
+1
-0
variants/mhetesp32devkit/pins_arduino.h
variants/mhetesp32devkit/pins_arduino.h
+1
-0
variants/mhetesp32minikit/pins_arduino.h
variants/mhetesp32minikit/pins_arduino.h
+1
-0
variants/nano32/pins_arduino.h
variants/nano32/pins_arduino.h
+1
-0
variants/node32s/pins_arduino.h
variants/node32s/pins_arduino.h
+1
-0
variants/nodemcu-32s/pins_arduino.h
variants/nodemcu-32s/pins_arduino.h
+1
-0
variants/odroid_esp32/pins_arduino.h
variants/odroid_esp32/pins_arduino.h
+1
-0
variants/onehorse32dev/pins_arduino.h
variants/onehorse32dev/pins_arduino.h
+1
-0
variants/openkb/pins_arduino.h
variants/openkb/pins_arduino.h
+1
-0
variants/oroca_edubot/pins_arduino.h
variants/oroca_edubot/pins_arduino.h
+1
-0
variants/piranha_esp-32/pins_arduino.h
variants/piranha_esp-32/pins_arduino.h
+1
-0
variants/pocket_32/pins_arduino.h
variants/pocket_32/pins_arduino.h
+1
-0
variants/tbeam/pins_arduino.h
variants/tbeam/pins_arduino.h
+1
-0
variants/ttgo-lora32-v1/pins_arduino.h
variants/ttgo-lora32-v1/pins_arduino.h
+1
-0
variants/ttgo-lora32-v2/pins_arduino.h
variants/ttgo-lora32-v2/pins_arduino.h
+1
-0
variants/ttgo-lora32-v21new/pins_arduino.h
variants/ttgo-lora32-v21new/pins_arduino.h
+1
-0
variants/ttgo-t1/pins_arduino.h
variants/ttgo-t1/pins_arduino.h
+1
-0
variants/turta_iot_node/pins_arduino.h
variants/turta_iot_node/pins_arduino.h
+1
-0
variants/vintlabsdevkitv1/pins_arduino.h
variants/vintlabsdevkitv1/pins_arduino.h
+1
-0
variants/widora-air/pins_arduino.h
variants/widora-air/pins_arduino.h
+1
-0
variants/wifiduino32/pins_arduino.h
variants/wifiduino32/pins_arduino.h
+1
-0
variants/wipy3/pins_arduino.h
variants/wipy3/pins_arduino.h
+1
-0
variants/xinabox/pins_arduino.h
variants/xinabox/pins_arduino.h
+1
-0
No files found.
cores/esp32/Arduino.h
View file @
a8e99bae
...
...
@@ -88,7 +88,7 @@
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
#define bitWrite(value, bit, bitvalue) (
bitvalue
? bitSet(value, bit) : bitClear(value, bit))
#define bitWrite(value, bit, bitvalue) (
(bitvalue)
? bitSet(value, bit) : bitClear(value, bit))
// avr-libc defines _NOP() since 1.6.2
#ifndef _NOP
...
...
cores/esp32/pgmspace.h
View file @
a8e99bae
...
...
@@ -53,6 +53,8 @@ typedef unsigned long prog_uint32_t;
*(void * const *)(_addr); \
})
#define pgm_get_far_address(x) ((uint32_t)(&(x)))
#define pgm_read_byte_near(addr) pgm_read_byte(addr)
#define pgm_read_word_near(addr) pgm_read_word(addr)
#define pgm_read_dword_near(addr) pgm_read_dword(addr)
...
...
libraries/BLE/src/BLEHIDDevice.cpp
View file @
a8e99bae
...
...
@@ -194,6 +194,7 @@ BLECharacteristic* BLEHIDDevice::protocolMode() {
void
BLEHIDDevice
::
setBatteryLevel
(
uint8_t
level
)
{
m_batteryLevelCharacteristic
->
setValue
(
&
level
,
1
);
m_batteryLevelCharacteristic
->
notify
();
}
/*
* @brief Returns battery level characteristic
...
...
libraries/SD/src/sd_diskio.cpp
View file @
a8e99bae
...
...
@@ -607,8 +607,9 @@ DRESULT ff_sd_write(uint8_t pdrv, const uint8_t* buffer, DWORD sector, UINT coun
if
(
count
>
1
)
{
res
=
sdWriteSectors
(
pdrv
,
(
const
char
*
)
buffer
,
sector
,
count
)
?
RES_OK
:
RES_ERROR
;
}
else
{
res
=
sdWriteSector
(
pdrv
,
(
const
char
*
)
buffer
,
sector
)
?
RES_OK
:
RES_ERROR
;
}
res
=
sdWriteSector
(
pdrv
,
(
const
char
*
)
buffer
,
sector
)
?
RES_OK
:
RES_ERROR
;
return
res
;
}
...
...
libraries/WiFi/src/WiFiProv.cpp
View file @
a8e99bae
...
...
@@ -33,9 +33,10 @@
#undef IPADDR_NONE
#include "WiFi.h"
wifi_prov_mgr_config_t
config
;
scheme_t
prov_scheme
;
extern
esp_err_t
postToSysQueue
(
system_prov_event_t
*
);
static
wifi_prov_mgr_config_t
config
;
static
scheme_t
prov_scheme
;
static
const
uint8_t
custom_service_uuid
[
16
]
=
{
0xb4
,
0xdf
,
0x5a
,
0x1c
,
0x3f
,
0x6b
,
0xf4
,
0xbf
,
0xea
,
0x4a
,
0x82
,
0x03
,
0x04
,
0x90
,
0x1a
,
0x02
,
};
...
...
variants/Microduino-esp32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
-
1
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define MTDO 15
#define MTDI 12
...
...
variants/S_ODI_Ultra_v1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -14,6 +14,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
static
const
uint8_t
LED_BUILTINB
=
4
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define BUILTIN_LED2 LED_BUILTINB
static
const
uint8_t
TX
=
1
;
...
...
variants/alksesp32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -15,6 +15,7 @@
static
const
uint8_t
LED_BUILTIN
=
23
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/d1_mini32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -6,6 +6,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
_VBAT
=
35
;
// battery voltage
#define PIN_WIRE_SDA SDA // backward compatibility
...
...
variants/d32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -6,6 +6,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
_VBAT
=
35
;
// battery voltage
#endif
/* Pins_Arduino_h */
variants/d32_pro/pins_arduino.h
View file @
a8e99bae
...
...
@@ -6,6 +6,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
_VBAT
=
35
;
// battery voltage
...
...
variants/doitESP32devkitV1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/esp32-gateway/pins_arduino.h
View file @
a8e99bae
...
...
@@ -18,6 +18,7 @@
static
const
uint8_t
LED_BUILTIN
=
33
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
34
;
...
...
variants/esp320/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/esp32thing/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/esp32thing_plus/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
13
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
17
;
static
const
uint8_t
RX
=
16
;
...
...
variants/espea32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/espectro32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -17,6 +17,7 @@
static
const
uint8_t
LED_BUILTIN
=
15
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/espino32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
16
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
BUILTIN_KEY
=
0
;
...
...
variants/feather_esp32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
13
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
17
;
static
const
uint8_t
RX
=
16
;
...
...
variants/firebeetle32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -15,6 +15,7 @@ typedef unsigned char uint8_t;
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
...
...
variants/gpy/pins_arduino.h
View file @
a8e99bae
...
...
@@ -24,6 +24,7 @@
static
const
uint8_t
LED_BUILTIN
=
0
;
// ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define ANT_SELECT 21 // GPIO21 - WiFi external / internal antenna switch
...
...
variants/healthypi4/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
15
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
17
;
...
...
variants/heltec_wifi_kit_32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -17,6 +17,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/heltec_wifi_lora_32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -17,6 +17,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/heltec_wifi_lora_32_V2/pins_arduino.h
View file @
a8e99bae
...
...
@@ -17,6 +17,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/heltec_wireless_stick/pins_arduino.h
View file @
a8e99bae
...
...
@@ -17,6 +17,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/honeylemon/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
BUILTIN_KEY
=
0
;
...
...
variants/hornbill32dev/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
13
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/imbrios-logsens-v1p1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -23,6 +23,7 @@
/* LED_BUILTIN is kept for compatibility reason; mapped to LED2 on the LogSens V1.1 Board */
static
const
uint8_t
LED_BUILTIN
=
33
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
/* UART0: Serial Port for Programming and Debugging on the LogSens V1.1 Board */
static
const
uint8_t
TX
=
1
;
...
...
variants/intorobot-fig/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
4
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
RGB_R_BUILTIN
=
27
;
static
const
uint8_t
RGB_G_BUILTIN
=
21
;
...
...
variants/lolin32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
...
...
variants/lopy/pins_arduino.h
View file @
a8e99bae
...
...
@@ -24,6 +24,7 @@
static
const
uint8_t
LED_BUILTIN
=
0
;
// ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define ANT_SELECT 16 // GPIO16 - External Antenna Switch
...
...
variants/lopy4/pins_arduino.h
View file @
a8e99bae
...
...
@@ -24,6 +24,7 @@
static
const
uint8_t
LED_BUILTIN
=
0
;
// ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define ANT_SELECT 21 // GPIO21 - External Antenna Switch
...
...
variants/metro_esp-32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/mgbot-iotik32a/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
4
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/mgbot-iotik32b/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
18
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
// IR receiver
static
const
uint8_t
IR
=
27
;
...
...
variants/mhetesp32devkit/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/mhetesp32minikit/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/nano32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
16
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
BUILTIN_KEY
=
0
;
...
...
variants/node32s/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/nodemcu-32s/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/odroid_esp32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/onehorse32dev/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
5
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/openkb/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
16
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/oroca_edubot/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
13
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
17
;
static
const
uint8_t
RX
=
16
;
...
...
variants/piranha_esp-32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/pocket_32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
16
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
...
...
variants/tbeam/pins_arduino.h
View file @
a8e99bae
...
...
@@ -26,6 +26,7 @@ static const uint8_t KEY_BUILTIN = 39;
static
const
uint8_t
LED_BUILTIN
=
14
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/ttgo-lora32-v1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -26,6 +26,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/ttgo-lora32-v2/pins_arduino.h
View file @
a8e99bae
...
...
@@ -32,6 +32,7 @@
static
const
uint8_t
LED_BUILTIN
=
22
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/ttgo-lora32-v21new/pins_arduino.h
View file @
a8e99bae
...
...
@@ -40,6 +40,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/ttgo-t1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -16,6 +16,7 @@ static const uint8_t RX = 3;
static
const
uint8_t
LED_BUILTIN
=
22
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
SDA
=
21
;
// Despite the many diagrams from TTGO showing SCL on pin 22, due to the on-board LED
...
...
variants/turta_iot_node/pins_arduino.h
View file @
a8e99bae
...
...
@@ -14,6 +14,7 @@
// LED
static
const
uint8_t
LED_BUILTIN
=
13
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
// UART
static
const
uint8_t
TX
=
10
;
...
...
variants/vintlabsdevkitv1/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
variants/widora-air/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
25
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/wifiduino32/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
KEY_BUILTIN
=
0
;
...
...
variants/wipy3/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
0
;
// ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define ANT_SELECT 21 // GPIO21 - External Antenna Switch
...
...
variants/xinabox/pins_arduino.h
View file @
a8e99bae
...
...
@@ -13,6 +13,7 @@
static
const
uint8_t
LED_BUILTIN
=
27
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment